struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STR-2546) action field is blank in using html:form
Date Mon, 24 Apr 2006 23:37:09 GMT
    [ http://issues.apache.org/struts/browse/STR-2546?page=comments#action_37180 ] 

Don Brown commented on STR-2546:
--------------------------------

This ticket seems to be kinda screwed up, as it won't let me edit it or even resolve the ticket.
 I think it is because it has an invalid workflow state...hmm.

> 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: 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


Mime
View raw message