How to pass the session data from one jsp page to another jsp page?

Hi Friends,

I'm using struts1.1. And have three jsp pages.

In the First Page, I check username and password, If the user and password is correct, then i get the data from database using getString() and set it in session.setString('','').

In the Second Page, I get that session data in the non-editable format using session.getString('','').

In the Third Page, I want to show the same details with editable format.

My doubt is how to pass the Second JSP Page session data and show the session data with editable format in Third JSP Page.

Thanks In Advance.

My codings:

In Second Page:

<bean:message key="label.id"/>

<%=session.getAttribute("CUSTOMERID")%>

In Third Page:

<bean:message key="label.id"/>

<html:label property="t1" value="<%=session.getAttribute("CUSTOMERID")%>"/>

[902 byte] By [dreamtecha] at [2007-11-26 17:52:04]
# 1
Session data will be available throughout the session no matter wheather its first page, second page or third page.. Your doubt is a lil confusin..can u explain a lil bit more..
mshanua at 2007-7-9 5:04:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I want to get the session data and show it with non-editable format in the first view of user and after when the user click update button the same page details with editable format. If you have any idea,how to do edit and non-editable format in jsp page.
dreamtecha at 2007-7-9 5:04:36 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...