You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2001/11/22 13:00:47 UTC
DO NOT REPLY [Bug 5023] -
html:form does not handle "action" attribute correctly
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5023>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5023
html:form does not handle "action" attribute correctly
------- Additional Comments From husted@apache.org 2001-11-22 04:00 -------
Could you expand on your use-case? If the ServletMapping is not null, and
doesn't contain wildcards, then what is it? Are you trying to submit to another
servlet? At this time, the action property usually specifies an ActionMapping in
the Struts-config. This in turn specifies the default ActionForm bean to use
with the tags enclosed by the html:form. Though, I suppose, if an ActionMapping
was not being used, you could also specify a bean for each tag. In most cases,
the action is not specifying a URL, or even a proper URI, but the "path"
property to an ActionMapping. The path is then transformed into an URL by
prepending the servletcontext, and then interposing the servlet-mapping. Most of
this "grew in the telling" and vestiges of early approaches remain.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>