I have a web application which sends out email reminders to members in a
database when certian tasks are slipping- This all works great however I
would like the application to be smart enough to know which server and port
it is installed in so when generating a message it can include a link back
to the particular task. What I have currently done is include an init-param
tag with this information and it works but then it isnt server independent.
I have also explored the possibility of getting the information from
HttpServletRequest (which also works) but I'd like the timer function not to
depend on someone actually requesting a page.

Is there any other methods to get the server name and port ?

Thanks
Steve

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to