tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Walter <tx_scottwal...@yahoo.com>
Subject Re: Servlet URLs
Date Thu, 08 Feb 2001 14:38:12 GMT
just specify the url mapping in the web.xml file.  It
does not have to have servlet in it.  For example I
have a servlet that processes a login from an html and
the url to the servlet is:

http://localhost/processlogin or 
http://localhost/myapp/processlogin

cheers,
scott.
--- "Cumming, Murray" <Murray.Cumming@mybau.com>
wrote:
> I am using tomcat with Apache (on Solaris).
> 
> The tomcat example servlets are at URLs such as:
> 
>
http://www.somedomain.com/examples/servlet/HelloWorldExample
> 
> but the actual class file is at e.g.
>
/usr/local/jakarta-tomcat/webapps/examples/WEB-INF/classes/HelloWorldExample
> 
> The 'servlet' directory is not in the actual path,
> and it is not in the
> context path in jakarta's conf/server.xml file. This
> 'servlet' part of the
> URL seems to be used in mod_jk.conf-auto for a
> JKMount command, as a result
> of a JKMount command in mod_jk.conf.
> 
> So:
> Is there any way to use servlets (not JSPs) with
> tomcat without using
> '/servlet/' in the URL. I am trying to set up a
> system which already uses
> fixed URLs. 
> 
> Murray Cumming
> murrayc@usa.net
> www.murrayc.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email:
tomcat-user-help@jakarta.apache.org


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message