Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

scope

 
Ben Klug
Ranch Hand
Posts: 45
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
how can i share a bean of a session with a servlet, Like I do it in a jsp? In the jsp it lookes like that:

Thanks!
Ben
 
Ruud Steeghs
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can set attributes in your session (request and application) by calling setAttribute(String name, Object object).
HttpSession can be obtained from the request.
Ruud.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic