aspose 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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servelet Context