|
Sushama I dump all my servlets in one directory and don't mess with the web.xml file. Look in your server.xml file for the ROOT context line and replace it with this: <Context docBase="webapps/ROOT" path="" reloadable="false" /> Put all your servlets in /www/YourWebserver/webapps/ROOT/WEB-INF/classes Thanx, PLA -----Original Message----- From: java400-l-admin@midrange.com [mailto:java400-l-admin@midrange.com]On Behalf Of Pillai, Sushama Sent: Monday, January 28, 2002 11:19 AM To: web400@midrange.com; JAVA400-L@midrange.com Subject: Tomcat This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Hi, I am trying to configure Tomcat for Apache on V5R1. I have been successful in running some JSPs but I am unable to understand how the servlets work. I used the tutorial given in IBM HTTP Server Documentation Center. I see that there is a Web.Xml that has the name of the Servlet I want to run but I am not able to change it to run my servlets. If I go thru the configuration and give the name of my Servlet, I am successful but that does only one Servlet at a time. Basically I am not able to figure out how to create and run servlets in Tomcat. Any and all help will be greatly appreciated. Thank you in advance. Sushama _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.