You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/05/07 07:47:51 UTC
[jira] Resolved: (STR-2546) action field is blank in using
html:form
[ http://issues.apache.org/struts/browse/STR-2546?page=all ]
Don Brown resolved STR-2546:
----------------------------
Resolution: Cannot Reproduce
I'm marking this as cannot reproduce for now so it doesn't appear along side known issues in reports, but please reopen if you can add any more information.
> action field is blank in using html:form
> -----------------------------------------
>
> Key: STR-2546
> URL: http://issues.apache.org/struts/browse/STR-2546
> Project: Struts Action 1
> Type: Bug
> Components: Taglibs
> Versions: 1.1 Final
> Environment: Operating System: AIX
> Platform: PC
> Reporter: Matt Sargent
> Assignee: Don Brown
> Priority: Critical
> Attachments: Problem Demonstration with Struts-Example Application.doc
>
> I'm using tomcat 5.0.28 and sun's 1.4.2_07 jdk.
> When using an html:form my generated html occasionally leaves the action field
> blank.
> jsp source:
> <html:form action="foo.do"> ...
> Sometimes my html source ends up like this:
> <form name="fooform" method="post" action=""> ...
> Whereas it should look like this:
> <form name="fooform" method="post" action="/webapp/foo.do"> ...
> from my struts config:
> form bean:
> <form-bean name="fooform" type="com.foo.FooForm"/>
> action mapping:
> <action path="/foo"
> type="com.foo.FooAction"
> scope="request"
> name="fooform"
> input="foo.jsp">
> <forward name="success" path="/foodone.jsp" redirect="true"/>
> <forward name="failure" path="/foo.jsp" redirect="false"/>
> </action>
> This code works fine for a few days, and then I start getting the blank
> action. After that, I need to restart Tomcat. It is possible that this bug
> exists in Tomcat.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira