aspose file tools*
The moose likes JSP and the fly likes port number in url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "port number in url" Watch "port number in url" New topic
Author

port number in url

Ashwin venkatesh
Greenhorn

Joined: Oct 16, 2006
Posts: 7
Hello Everyone,

I have developed a web application using jsp and servlets with tomcat server. the application is working fine in local network, but when i run in the browser the url is displaying the port number(http://local_ip_address:8080/application_folder/starting_jsp ) which should not happen.even when i specify the IP address should i need to give the port number.
I want this application to run in IIS server also, so i came to know that i should download jspisapi.dll and include it in IIS configuration to run jsp.

please help me in this regard at the earliest.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41818
    
  62
I'm confused.
the application is working fine in local network, but when i run in the browser

In the local network you're running it in a browser too, right? You can run the server with any port you like, and the URL will reflect that. Port 80 is most common, because -being the default port- you can leave out the port number.

This has nothing to do with the kind of server you're using; using IIS (with a servlet engine of some kind) works the same way as, say, Tomcat. (Although it can be hard to make Tomcat work on port 80).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: port number in url