Hi folks,
Is it possible to get a ServletContext object in a JavaBean? I want 
to be able to read a context parameter when a bean is initialised and 
use that to load a properties file.

Passing it in later with a setServletContext() method is no good 
since I need to access it in the constructor of the bean.

TIA,
Raj.
-- 
Rajnish Bhaskar
[EMAIL PROTECTED], http://lordofthemoon.com
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Sometimes it's better to light a flamethrower than curse the 
darkness.
        -- (Terry Pratchett, Men At Arms)



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to