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 [EMAIL PROTECTED]  2001-11-22 15:23 -------
First let me point out that I'm new to struts, so don't assume I know "the 
obvious". Now, my use case is ... I'm using WebSphere 4.01. I want to use the 
security features provided by that product which rely on individual URL's for 
each servlet that you want to uniquely protect. So, I don't want to just use 
URL's of the form someAction.do and someOtherAction.do and map *.do to the 
ActionServlet. I want to map /someAction and /someOtherAction individually to 
the ActionServlet to allow me to configure the security individually in 
WebSphere. I don't know what a "ServletMapping" really is, but I presumed it to 
be "*.do" or "/someAction". Is that not the case? For example I have in my 
struts-config.xml ...

....
    <form-bean      name="ManufacturerModelListForm"
                    type="com.somecorp.baseline.ManufacturerModelListForm"/>
....
     <forward   name="ManufacturerModelEdit" path="/ManufacturerModelEdit"/>
....
    <action    path="/ManufacturerModelEdit"
               type="com.somecorp.baseline.ManufacturerModelEditAction"
               name="ManufacturerModelEditForm"
              scope="request"
              input="/ManufacturerModelEdit.jsp">
    </action>
....

and in my JSP ...

<html:form action="/ManufacturerModelEdit">

and in the generated HTML ...

<form name="ManufacturerModelEditForm" method="POST" action="/baseline">

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

Reply via email to