On Tue, 25 Jan 2005 18:37:29 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> I seem to remember trying to solve this problem myself and coming to the
> conclusion that there was no way to do it independent of a request.  I
> wound up just sticking it in my application config file that gets read
> in the plugin anyway.  Can anyone prove me wrong? :)

Your looking for the application context correct?
In the init you are passed the ActionServlet, which inherits from
HttpServlet, which will give you the ServletContext.  IIRC you can get
the context from there.

> 
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> Martin Wegner wrote:
> > In have a Struts PlugIn that needs to determine the URL for the containing
> > web application (http://localhost:8080/BlahBlahBlah/).  I am unable to
> > find a way to determine this information.  Any ideas?
> >
> > Thanks.
> >
> >
> > --Marty
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > .
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
James A Barrows

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

Reply via email to