How to retrive the 'base url' : server url + project's name
hello
in my jsp I want to retrive the string that represent my context root like
http://localhost:8080/MyProject
I don't have found the specific method under the HttpServletRequest and others.
The only solution I have now is to concatenate the
request.getScheme(), request.getServerName(), request.getServerPort(),request.getContextPath()
there's a custom method that does this form me?
I ask that because I remember in the past I've found it
I have worked with Jboss and now I'm under Tomcat....
It was maybe a method of jboss container?
Thanks for your response
martina

