|
-
December 23rd, 2008, 12:29 PM
#1
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
-
December 23rd, 2008, 01:37 PM
#2
Re: Can i use form name of calling JSP in called JSP?
You will have to pass it through as a hidden input.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
December 23rd, 2008, 02:39 PM
#3
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 ??
Last edited by adusumalli; December 23rd, 2008 at 02:48 PM.
-
December 29th, 2008, 03:48 PM
#4
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" />
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|