Hi David!

Thanks for your tip. The "button.view" property in your properties file has
been found all the time but I'm not used to add the property attribute to
the html:submit tag. When I did that the request parameter was found (and
probably created to begin with) and therby able to reach from my action
class.

My solution:

<td align="left" valign="bottom" width="90%">
   <html:submit styleClass="button" property="submit">
      <bean:message key="button.view"/>
   </html:submit>
</td>

Sorry for the version mix up, I'm using the  1.1b2 version.

Thanks again!

/Linnéa

-----Original Message-----
From: Karr, David [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 6:41 PM
To: Struts Users Mailing List
Subject: RE: html:submit value not found in request, version 1.02 beta


I would guess it can't find the "button.view" property in your properties
file.  If that was nonexistent, the value would be null.

(Note that there is no "1.02 beta" version.  There's versions 1.02 and 1.1b2
(and the nightly).)

> -----Original Message-----
> From: Linnea Ahlbeck [mailto:[EMAIL PROTECTED]]
>
> Hi!
>
> On my jsp pages I have the following code:
>
> <td align="left" valign="bottom" width="90%">
>    <html:submit styleClass="button">
>       <bean:message key="button.view"/>
>     </html:submit>
> </td>
>
> (On my jsp page I only have one html:form tag)
>
> In my SaveAction class I collect the submit value from the
> request, like
> this:
>
> String submit = request.getParameter("submit");
>
> The submit value is null.
>
> I'm using the Struts 1.02 beta version. Have anybody
> experienced the same
> problem??

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




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

Reply via email to