struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36152] New: - action field is blank in using html:form
Date Thu, 11 Aug 2005 22:42:40 GMT
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=36152>.
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=36152

           Summary: action field is blank in  using html:form
           Product: Struts
           Version: 1.2.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: dev@struts.apache.org
        ReportedBy: vasagotempest2@yahoo.com


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.

-- 
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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message