I'm not entirely sure, but I think Struts itself has some code that
goes through some length to get information like this.  Could be in
the Struts ActionServlet object.  I don't have time to check right
now, though.

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? :)
> 
> --
> 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]
> 
>

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

Reply via email to