Insert this into b.jsp:

<%
  aForm form = (aForm)request.getSession().getAttribute("aForm");
%>

The parameter passed to getAttribute() is whatever name you gave the form in
struts-config.xml.

-----Original Message-----
From: sanjeev_dutt [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 11, 2002 8:56 AM
To: Struts Users Mailing List
Subject: Reading values from a form bean

Hi,

I have a jsp say a.jsp and a corresponding aForm.java form bean which gets
and sets prticular variables.
How do I read the values stored in these variables from a different jsp say
b.jsp ?

Thanks
Sanjeev



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

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

Reply via email to