Hi,

   On another list someone talk about use servletcontext to get a resource :

   InputSource sn = new 
InputSource(oCtx.getResourceAsStream("Accessinfo.xml")); // (oCtx is your 
ServletContext object)

   But how I can do it on a Struts application ? I want to do it on the 
perform method of a action. So how I can get a ServletContext object ?



----
Danilo Luiz Rheinheimer
Florianopolis/SC Brasil
Sony Clié 615C
mailto:[EMAIL PROTECTED]
----


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to