File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Servelet Context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Servelet Context" Watch "Servelet Context" New topic
Author

Servelet Context

Garandi Garandi
Ranch Hand

Joined: Jan 07, 2003
Posts: 192
I have the following class which implements Plugin.

Question: How to get to servletcontext and get the properties from it in a jsp file?
Thank you in advance
Garandi

[ November 15, 2004: Message edited by: Garandi Garandi ]
[ November 15, 2004: Message edited by: Garandi Garandi ]
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

<% session.getServletContext().getAtrribute(Init.PROPERTIES); %>


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servelet Context