Hi Fred,

I have just recently had this problem and found the answer in Chapter 11 of
the servlet specification.

I am using Tomcat 4.0.4 which is Servlet spec. 2.3 which I find here:

http://www.jcp.org/aboutJava/communityprocess/final/jsr053/

also look for messages in this list with <url-pattern> in the subject.  If
you have not been downloading this list the archives are here:

http://marc.theaimsgroup.com/?l=tomcat-user&r=1&w=2

If you still can't quite figure your situation out get back again.

Later,

Andoni.

----- Original Message -----
From: "Fred Astaire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 9:09 AM
Subject: tomcat servlet-mapping


> Hello guys!
> Is there anybody who could give me an advice in servlet-mapping?
>
> I got a web application which consists of a ControllerServlet which should
> handles all incoming request´s
> except 2 static html files (index.html which is an welcome file and
> abc.html)!
>
> First I mapped it like this:
>
> <servlet-mapping>
>     <servlet-name>Controller</servlet-name>
>     <url-pattern>/</url-pattern>
>   </servlet-mapping>
>
> but then the static html files are not reachable
>
> How could i configure my web.xml , that all requests besides index.html
and
> abc.html
> are mapped to the ControllerServlet?
>
> Greets
> Fred
>
> _________________________________________________________________
> Frustrated with dial-up? Get high-speed for as low as $29.95/month
> (depending on the local service providers in your area).
> https://broadband.msn.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to