Should the action attribute on <struts-html:form tag be made to understand
relative as well as absolute URIs?  Currently, my .JSP code looks like this:

...
<html:form action="/private/cart/cartHeaderSave.do" ...
...

My action in struts-config.xml looks like this:

<action
  path="/private/cart/cartHeaderSave"
  ...

Since we are already executing in the context of /private/cart would it not
make more sense to have <html:form look like this:

...
<html:form action="cartHeaderSave.do" ...
...

In any case, if the absolute path is required, one can always use the '/'
and go back to the current method.

Any comments?

-AP_
www: http://www.alexparansky.com


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

Reply via email to