You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2006/04/28 07:17:18 UTC

[jira] Updated: (STR-2546) action field is blank in using html:form

     [ http://issues.apache.org/struts/browse/STR-2546?page=all ]

Don Brown updated STR-2546:
---------------------------

    Bugzilla Id:   (was: 36152)
      Component: Taglibs
                     (was: Unknown)

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org