File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

beans in jsp

 
daya mukiri
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,
how to access a bean's instance created in a jsp page from another jsp page?
is it possible.
let me know
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. To do this, you would bind your bean to one of the various scoped objects and then retrieve the bean from the other JSP/Servlet.
To understand this better, you should read up on the following scoped objects.
  • request
  • session
  • context


  • Any book or tutorial on Servlets/JSP worth it's salt will cover this topic in detail.
     
    Vishnu Prakash
    Ranch Hand
    Posts: 1026
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Take a look at the JSP Collections in my signature. It will help you.
     
    daya mukiri
    Greenhorn
    Posts: 7
    • 0
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    thanks friends
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic