You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Geeta Ramani <gr...@terralink.com> on 2004/07/01 20:17:03 UTC
RE: Scriptlet Params in form
Hey Keith:
Try instead:
String ss = "/MRA/ModelEdit.do?action=edit¤tModelNum=" + model.getModelNum();
<html:form action ="<%=ss%>" >
Regards,
Geeta
> -----Original Message-----
> From: kkamholz@moog.com [mailto:kkamholz@moog.com]
> Sent: Thursday, July 01, 2004 2:26 PM
> To: struts-user@jakarta.apache.org
> Subject: Scriptlet Params in form
>
>
> Hey everyone,
> I'm trying to send a parameter with the form submission.
> What I've been
> trying is:
> <html:form action="/ModelEdit?action=edit¤tModelNum=<%=
> model.getModelNum();%>">
>
> I seem to remember getting something similar to work before, but this
> isn't working. The rendered HTML is:
> <form name="model" method="post"
> action="/MRA/ModelEdit.do?action=edit¤tModelNum=<%=model
> .getModelNum();%>">
>
> Does anyone know a way of doing this?
> Thanks!
>
>
> - Keith
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org