Can i use form name of calling JSP in called JSP?
Hi,
I have two jsp's (i.e one.jsp , two.jsp). i have a form in one.jsp and calling two.jsp from one.jsp through Ajax. i want to use the form name of one.jsp in two.jsp. is it possible. if not how to get the form name of one.jsp ? can any body give an idea on this ??
thanks in advance
Re: Can i use form name of calling JSP in called JSP?
You will have to pass it through as a hidden input.
Re: Can i use form name of calling JSP in called JSP?
do i need to mention as hidden input in one.jsp the form name of one.jsp ?? and in hidden input do i mention form name as value or what ??
Re: Can i use form name of calling JSP in called JSP?
He means inside the form on one.jsp, something like this(generic):
Code:
<html:hidden name="myForm" property="formName"
value="nameofform" />