Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to get base URL in jsp

843840May 5 2008 — edited May 5 2008
I would like to get the base url of the page using jsp...
means From the url

http://www.url.com/slash/slash/slash.jsp

i like to get the "http://www.url.com" only.

is there any function in jsp to do this.
please help.
thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 2 2008
Added on May 5 2008
2 comments
931 views