File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP

 
zeus
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
can anyone plz tell me that whether can i pass a serialised object from one JSP to another..say i have an object in JSP1.jsp..whether can i pass the object to JSP2.jsp???its very urgent
 
Anonymous
Ranch Hand
Posts: 18944
  • 0
  • send pies
  • Quote
  • Report post to moderator
Originally posted by zeus:
hi all
can anyone plz tell me that whether can i pass a serialised object from one JSP to another..say i have an object in JSP1.jsp..whether can i pass the object to JSP2.jsp???its very urgent

Add the object to the session using
session.setAttribute("some_name", o);
Where o is the object and the string "some_name" is the name by which u want to ref the object.
 
Carl Trusiak
Sheriff
Posts: 3340
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take a few minutes and review the Naming Policy. It can be benificial to you as we run contests for free books for people who post during a time period and comply with this policy.
Have a nice Day
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic