Is there a way to get server info programmatically?

I need to send some emails where the recievers should click on a link to verify 
a booking. I want to build the URL using the current domain and the 
context-root of the application. But I can't find out how to get it.

I know there is a way to do this using a servlet, but that seems lika a long 
way to go to get the info needed.

Any suggestions?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076210
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to