tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarrar Hussain <jarrar.huss...@freenet-ag.de>
Subject How to map urls in tomcat5??
Date Mon, 14 Jun 2004 09:33:25 GMT
Hi,

Mostly I have these type of urls:

http://www.abc.com/app/home.jsp/23323.html...

for these type of urls following configuration of web.xml (under project 
dir .../app/WEB-INF/web.xml) works perfectly fine under tomcat4.0.3 and 
I use WebAppConnection connector.

<web-app>
..
..
..
    <servlet-mapping>
      <servlet-name>jsp</servlet-name>
      <url-pattern>/home.jsp/*</url-pattern>
    </servlet-mapping>
..
..
..
</web-app>


I have another computer everything same as above, just new version of 
tomcate5.0 and instead of WebAppConnection connector I use mod_jk 
connector. and than these type of urls:

http://www.abc.com/app/home.jsp/23323.html...

don't work. I get the following error:

HTTP Status 404 - /home.jsp/23323.html
_The requested resource (/home.jsp/23323.html) is not available._

Now I don't know where or how to define these type of urls.

thanks in advance,

Jarrar.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message