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=12302>.
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=12302

Sporadic error in html:form action attribute





------- Additional Comments From [EMAIL PROTECTED]  2003-01-06 23:19 -------
I also get this same problem with my <html:form> tag.

I'm running Tomcat 4.1.12 on Redhat 7.3.  Here is some of the relevent code :

Here is the section from my struts-config.xml file :

<action path="/processMemberSetup"
type="com.myapp.presentationlogic.ProcessMemberSetupAction"
name="memberSetupForm"
scope="request"
input="/memberSetup.jsp"
roles="admin">
<forward
name="success"
path="/initMemberSetup" 
redirect="false"/>
</action>


Here is my jsp (the relevent portion at least ) :

<html:form action="/processMemberSetup">

memberName : <html:text property="memberName" size="30" />
age : <html:text property="age" size="3" />
<html:submit property="action"><bean:message
key="button.submit" /></html:submit>
</html:form>

Here is the resulting HTML file, this is where things
get strange, the <form> tag is not correct, and for
some reason doesn't pickup the /do/processMemberSetup
part.  The action should be
/myapp/do/processMemberSetup but only shows up as
/myapp :

<form name="memberSetupForm" method="POST"
action="/myapp">

memberName : <input type="text" name="memberName"
size="30" value="">
age : <input type="text" name="age"
size="3" value="0">
<input type="submit" name="action" value="Submit">
</form>

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

Reply via email to