tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Labanowski <...@osc.edu>
Subject Re: Servlet and jsp configuration problem ?
Date Wed, 31 Jan 2001 02:21:04 GMT
Try to  see some examples of servlet remapping at my

  http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml

Jan

On Wed, 31 Jan 2001, Gunawan Tanudy wrote:

> HI..
> Can somebody help me , i got really frustrated regarding mapping servlet and
> jsp file to tomcat.
> I use Apache+ tomcat.
> the example files run well.
> i have made the context path in server.xml like the following
> 
> <Context path="/myserver" 
>                  docBase="webapps/myserver" 
>                  crossContext="true"
>                  debug="0" 
>                  reloadable="true" 
>                  trusted="false" > 
>  </Context>
> 
> then in myserver directory i make the tree like this:
> /WEB-INF/classes
> /servlets
> 
> 
> 
> i write the servlet in a package called devguide.chap1.MultiDemo.class
> and i put the directory devguide which is a package directory into classess
> directory
> can somebody tell me how to configure web.xml(in WEB-INF directory)
> 
> one more question : 
> i put the jsp file under the myserver directory
> Should i map the jsp file in the web.xml too ? if so, then how ?
> 
> Help will be really appreciated.
> thanks in advance..
> 
> 
> 
> 
> Rgds,
> 
> Gun
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/


Mime
View raw message