Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to serialize session objects in JSP??

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi ,

I am using 6 sesion objects in my sesion. When I am trying to use 6th session object it is giving error(" :User requested action was not found.")
We are using Weblogic Application Server. One of my friends suggested me that we have to serialize session objects to free up memory for new sessions and write the old sessions to disk. Also we can serialize session object in servlets by implementing interface java.io.Serializable. But we are using JSP for server side coding.

Can anyone please inform me how to serialize session objects in JSP

Thanks for the help in advance.
swagathi
 
Hi Swagathi,
I'm not so sure about your question but I will make a suggestion anyway to help !

If you are using JSP, you should try and use JavaBeans as your session objects.

Your servlets retrieve info from and store results there.

Your JSPs will then include these JavaBeans in it's page using the include directive to display.
However, your JavaBeans must implement the Serializable interface.

regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top