DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36153>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36153

           Summary: html:form action is blank
           Product: Tomcat 5
           Version: 5.0.28
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


I'm using struts 1.2.4 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 Struts 1.2.4.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to