You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Siggelkow, Bill" <bi...@mirant.com> on 2001/07/19 18:33:40 UTC

multiple servlet mappings for action servlet?

What are the implications if I have multiple URL mappings for my
ActionServlet?  Specifically, say I configure '*.do' and '*.go' as mappings.
I may want to do this for security reasons, let's say, where *.do is for
security-constrained web resources and *.go is for non-security constrained
resources.  Specifically, what should be the behavior if I use the 'link'
tag?   Is there a better way of doing this?  I ran into this situation where
I created a single form for handling user registration as well as user
profile editing.  I pass in a request parameter that identifies if it is
"register" or "edit".  The problem is that I had initially set up *.do as a
security constrained web resource collection.  However, then I couldn't
access the URL for registering, so I created the *.go mapping ... then I
created an Register action that simply included the edit action ... 

Bill Siggelkow
eBusiness Lead Developer
678.579.6458
Mirant
http://www.mirant.com