Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

transferring values between JSP using beans  RSS feed

 
Krishna Rao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to transfer values from one JSP to another using beans .
I mean Using set and get methods , i am bit confused in using them.
I would be happy if any one can give me necessary details to do this.
Expecting a response
Thanks.
 
Junilu Lacar
Sheriff
Posts: 10949
158
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the JSP references and tutorials at http://java.sun.com/products/jsp/technical.html
Refer to the documentation on the following
<jsp:usebean>
<jsp:getproperty>
<jsp:setproperty>
If you'd like more detail, please post some of the JSP script that you're having trouble with.
Good luck!
Junilu
 
Rohit Ahuja
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kris, how bout making the scope of the bean as session.will that help u in ur coz?? Waiting for an answer in the positive.
If that serves your purpose u have to treat me mate.
Deepak.
 
Krishna Rao
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
deepak
I want to store the values in a session and use that values in another JSP screens . I am facing problem where to set and get the values . Please clarify on this and send some sample code regarding this.
Expecting your reply ...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!