Why not just map

/do/* to the action servlet insted of *.do

Then all of these would go through Struts..

http://myserver/do/Login
http://myserver/do/Logout
http://myserver/do/user/blahblah

This obviously wouldn't go through struts..

http://myserver/pages/blahblah.jsp

amol k wrote the following on 6/3/2005 2:39 PM:
Here is what I am trying to achieve:

http://myserver/Login.do --> (maps to) LoginAction
http://myserver/Logout.do --> (maps to) LogoutAction
http://myserver/user/blahblah --> UserPageAction (notice that there is
no .do in this case. blahblah can be replaced by anything at runtime)

http://myserver/pages/blahblah.jsp --> not handled by ActionServlet (obviously)

I am trying various combinations in web.xml and struts-config.xml
(including configuring /user as a module) but havent yet found a
decent solution.
Any thoughts?

Thanks in advance.

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



--
Rick

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

Reply via email to