I'm using
tomcat 5.5.9 and sun's 1.4.2_08 jdk with the 5.5.9 compat package on Red Hat Enterprise Linux ES release 3 (Taroon Update 4).
I'm using
struts 1.2.4.
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 struts.