struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geeta Ramani" <gram...@terralink.com>
Subject RE: Scriptlet Params in form
Date Thu, 01 Jul 2004 18:17:03 GMT
Hey Keith:

Try instead:

String ss = "/MRA/ModelEdit.do?action=edit&currentModelNum=" + 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&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