[jboss-user] [Beginners Corner] - Retrieving WebServer root URL at startup

rodo74 do-not-reply at jboss.com
Wed Dec 5 11:40:47 EST 2007


Hi,

At JBoss AS startup I need to retrieve the webServer root URL in a class. (before any call to JSP / Action / Servlet).

I thought about doing it from the init() of a Servlet launched at startup but it seems we cannot do that.

Any idea how I can achieve that?

Thanks a lot,
Rodo

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110599#4110599

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110599



More information about the jboss-user mailing list