Hi Roque,

JRun I believe provided a useful default alias for servlets in the form
/servlet/fqclassname. This is not required by the Servlet specification and I
think Tomcat currently requires that you alias the servlet yourself in the
deployment descriptor.

You might consider posting a request to the development alias at
http://jakarta.apache.org/.

Regards,

- Danny

Danny Coward
Servlet Specification & Web Java
Java Software Group, Sun Microsystems
[EMAIL PROTECTED]

> Hi there!
> I've been using JRun in the past, to run servlets like
>     http://myhost.company.com/servlet/SimpleServlet
> or  http://myhost.company.com/servlet/com.att.packagename.MyServlet
>
> Today I've installed Apache+Tomcat3.1M1 and I got the demo servlets
> working (on Solaris 2.7).
> However, I noticed that I can't simply compile SimpleServlet.java
> in the servlets directory and expect the URL above to work.
>
> Is there a way to make Tomcat behave pretty much like JRun, as far
> as dropping servlets in the "servlets" directory and have it run ?
> I don't won't to have to modify some configuration file every time
> someone adds a servlet in our system.
>
> Thanks a lot.
>
>    Roque
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to