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 avoid port number in the URL

843840Oct 21 2008 — edited Nov 12 2008
Hello experts,
I have done a web application which is running successfully. I used Netbeans 6 and struts.
My interesting question is for running my application i need to type like

http://servername:port/application/index.jsp

How to avoid typing port number in the URL like

http://servername/application/index.jsp
because i have never seen the port in any real application developed in java on the web so if any one out there
shed some light on it, it will be greatly useful

Thanks in advance.

Regards,
SRI.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2008
Added on Oct 21 2008
16 comments
752 views