Meaningless Drivel is fun!
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 Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Servelet Context