This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to get Context information inside a class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to get Context information inside a class?" Watch "how to get Context information inside a class?" New topic
Author

how to get Context information inside a class?

bengt hammarlund
Ranch Hand

Joined: Oct 17, 2003
Posts: 78
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?


<b><i>Bengt Hammarlund</i><br />� Sun Certified Java Programmer</b>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get Context information inside a class?
 
Similar Threads
RequestDispatcher in servletcontext
passing session values between two web application
How to get DISK absolute path according URL
How to play audio using this code in Grid View
getRequestDispatcher() method