hi!

i have a value in request scope that i would like to pass on to an action, called when you submit a form on the page,
i accessed the value on the page as
<%
String tableName = request.getParameter("tableName");
%>
and correctly retrieved the value.
in my form then i initialized a hidden property to this value, as
<html:form action="/editTable">
<html:hidden property="tableName" value="<%=tableName%>"/>


now when the form is submitted, in my action class when i retrieve the tableName property from the associated bean, i get the null value.
i put a print statement in the setTableName method for form bean, and it seems that just before the form is submitted, tableName is set to null.


can someone tell me why this is happening, and how do i workaround it.

thanks
Ajay

_________________________________________________________________
Get less junk mail with ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp



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



Reply via email to