4 Replies Latest reply on Aug 21, 2007 8:11 AM by Fredric

    Get server info programmatically?

    Fredric Newbie

      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?