Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get Context information inside a class?

 
bengt hammarlund
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to get the context path inside a POJO running at Tomcat.
Is there a way to do it without having to pass the session object or the context instance?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic