Two Laptop Bag*
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 Murach's Java Servlets and JSP this week in the Servlets 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
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
RequestDispatcher in servletcontext
getRequestDispatcher() method