struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RD...@quickhire.com
Subject RE: Scriptlet Params in form
Date Thu, 01 Jul 2004 18:37:06 GMT
how about this
<html:form
action="<%="/ModelEdit?action=edit&currentModelNum="+model.getModelNum();%>"
>

-Ram

-----Original Message-----
From: kkamholz@moog.com [mailto:kkamholz@moog.com]
Sent: Thursday, July 01, 2004 1: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&currentModelNum=<%=
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&currentModelNum=<%=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


Mime
View raw message