Hi
How can I get the complete URL of the Servlet Context. I mean if I deploy the EAR file in /webapp/ how can I get http://server:port/webapp/.
Regards,
Néstor Boscán
Discussions
Web tier: servlets, JSP, Web frameworks: How to get the complete URL of the Servlet Context
-
How to get the complete URL of the Servlet Context (2 messages)
- Posted by: Nestor Boscan
- Posted on: October 27 2005 13:50 EDT
Threaded Messages (2)
- How to get the complete URL of the Servlet Context by Yuval Zukerman on October 28 2005 14:36 EDT
- The context path by Nestor Boscan on November 01 2005 19:29 EST
-
How to get the complete URL of the Servlet Context[ Go to top ]
- Posted by: Yuval Zukerman
- Posted on: October 28 2005 14:36 EDT
- in response to Nestor Boscan
How about HttpServletRequest's getRequestURL() method? -
The context path[ Go to top ]
- Posted by: Nestor Boscan
- Posted on: November 01 2005 19:29 EST
- in response to Yuval Zukerman
Hi
Thanks for the reply. I'm looking for the context path not the absolute path of the file.
Regards,
Néstor Boscán