• Post Reply Bookmark Topic Watch Topic
  • New Topic

servletcontext object  RSS feed

 
Roopa Bagur
Ranch Hand
Posts: 267
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way we can get servletcontext object using request or session object..
Request & Response are the only 2 parameters being passed to my method in a bean.
Thanks,
Roopa.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suppose you can add the ServletContext object as an attribute to the request object prior to invoking your bean method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!