[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Servlet mapping
- Subject: Re: [cobalt-developers] Servlet mapping
- From: Charles Sabourdin <kaneda@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Mar 20 17:06:11 2002
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I would say that it is impossible in the regular tomcat 3.2.3
You, have to upgrade to tomcat 3.3.x or tomcat 4.x
there is no pakadges for that.
Le Lundi 18 Mars 2002 02:37, vous avez écrit :
> Can you point me in the right place to solve a
> problem, I've spent quite a while looking and feel I
> found the solution but it doesnt seem to work.
>
> I have a default installation of apache/tomcat on a
> RaQ4. What I need is to invoke my custom servlet
> without the tomcat /servlet/ context mapping. Override
> in web.xml I hear you say!
>
> My conf is at the bottom of this mail. All works fine
> but only with this /servlet/ mapping.
>
> It just wont accept it from the document root. Anyone
> please??? :)
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
>
> <web-app>
> <servlet>
> <servlet-name>myservlet</servlet-name>
>
> <servlet-class>mypackage.myServlet</servlet-class>
> <init-param>
> <param-name>MY_XML</param-name>
>
> <param-value>/usr/java/myServlet.xml</param-value>
> </init-param>
> </servlet>
> <servlet-mapping>
> <servlet-name>myservlet</servlet-name>
> <url-pattern>/*.tom</url-pattern>
> </servlet-mapping>
> </web-app>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers