You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Natra, Uday" <UN...@cooksys.com> on 2001/04/16 18:04:48 UTC

RE: FIELD POPULTION ON 2ND JSP

Instantiate the MainForm.java class in the Action class that handles the
LoginForm.java and set the SSN value in the MainForm.java from the
LoginForm.java

Thanks,
Uday.

-----Original Message-----
From: TIqbal@ngco.com [mailto:TIqbal@ngco.com]
Sent: Monday, April 16, 2001 11:06 AM
To: struts-user@jakarta.apache.org
Subject: FIELD POPULTION ON 2ND JSP


Can someone help how I can solve this problem

I have 2 JSP and 2 forms beans as below:

LoginForm.java
MainForm.java

Login.jsp
Main.jsp

I have a field called SIN # on Login.jsp and Main.jsp
When user Enter SIN # on Login.jsp upon success it goes to Main.jsp.
I have also SIN# on Main.jsp. I want this field should be automatically
populated based on the values enterd on Login.jsp
In the mean tim I don't want a common bean for the both jsp's.

any clue and hint will be highly appericated.

Thanks,
TAHIR++