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 URL of a wep application ?

843841Mar 11 2004 — edited Mar 15 2004
Hello,

I've a servlet called at http://host:port/context/servlet/com...

I want to get the "http://host:port/context" part of URL in init() method. How can I do ?

thanks in advance...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2004
Added on Mar 11 2004
4 comments
102 views