Hi all,

I just finished my struts 1.0 application, and now I would like to access to my 
application through several URL :

My root context is APP and I want to access to my application with, 
for example :

http://localhost:9080/APP/init.do
http://localhost:9080/APP/foo/init.do
http://localhost:9080/APP/foo2/init.do

and depend on the url context I want to have a different behaviour in my application

But I don't want to change anything in my struts-config.xml file (perhaps in the jsp).

I have something like that :

<servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
</servlet-mapping>
in my web.xml, I try  to add <url-pattern>/foo/*.do</url-pattern> with no success.

Thanks,


Laurent




Reply via email to