I tried this but still does not work.

request.getSession().setAttribute("MainForm",mm);

> -----Original Message-----
> From: Natra, Uday [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 12:45 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: FIELD POPULTION ON 2ND JSP
> 
> Also U need to set the MainForm object in the request/session scope as per
> Ur requirements.
> ex.
> request.getSession().setAttribute("MainForm",mm)/request.setAttribute("Mai
> nF
> orm",mm)
> 
> Thanks,
> Uday.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 16, 2001 11:36 AM
> To: [EMAIL PROTECTED]
> Subject: RE: FIELD POPULTION ON 2ND JSP
> 
> 
> Here is my code that I have in LoginAction class but this does not work.
> 
>       MainForm mm = new MainForm();
>       
>       mm.setSinNum(sinNum);
> 
> 
> 
> > -----Original Message-----
> > From:       Natra, Uday [SMTP:[EMAIL PROTECTED]]
> > Sent:       Monday, April 16, 2001 12:05 PM
> > To: '[EMAIL PROTECTED]'
> > Subject:    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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 16, 2001 11:06 AM
> > To: [EMAIL PROTECTED]
> > 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++
> > 
> > 
> > 
> > 
> >  
> > 
> > 
> > 

Reply via email to