[ http://issues.apache.org/struts/browse/STR-2546?page=comments#action_37179 ]
STEPHEN BHADRAN commented on STR-2546: -------------------------------------- I attached the two class files I needed to as part of the Bugzilla bug, but I am not able to attach them here... You can view the attachments from the URLs below... FindCaseServlet.java ==> http://issues.apache.org/bugzilla/attachment.cgi?id=18175 FindCaseServletTest.java ==> http://issues.apache.org/bugzilla/attachment.cgi?id=18176 > 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: Unknown > Versions: 1.1 Final > Environment: Operating System: AIX > Platform: PC > Reporter: Matt Sargent > Assignee: Struts Developer Mailing List > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]