Thanks, this worked just fine! Well, with some syntax changes, like putting the String declaration in a scriptlet tag and fetching the "model" object from the session first, but the general idea was right on. Thanks man.
- Keith Geeta Ramani <[EMAIL PROTECTED]> wrote on 07/01/2004 02:17:03 PM: > Hey Keith: > > Try instead: > > String ss = "/MRA/ModelEdit.do?action=edit¤tModelNum=" + > model.getModelNum(); > <html:form action ="<%=ss%>" > > > Regards, > Geeta > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: Thursday, July 01, 2004 2:26 PM > > To: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]