*
The moose likes Tomcat and the fly likes Servlet issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlet issue" Watch "Servlet issue" New topic
Author

Servlet issue

dkumar kizhakkel
Greenhorn

Joined: Apr 25, 2008
Posts: 19
Hi All

I created a servlet and upload the website in ISP provider area.But It working in my machine.But not in server.

locally it comes http://servername ort/ServletName
But in server http://www.urlname.org/ServletName (Port not comes.If it directly give the portno, it works)

How can it configure without specifying the portNo

Thanks to all
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

The container must be configured to listen on port 80.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
dkumar kizhakkel
Greenhorn

Joined: Apr 25, 2008
Posts: 19
How can I configure container to listen port 80?
Can you specify which tag and which property?

In it in server.xml?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

That greatly depends upon which container is being used.
dkumar kizhakkel
Greenhorn

Joined: Apr 25, 2008
Posts: 19
I am using Tomcat 5.0.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61106
    
  66

Did you look in server.xml to see if there was anything relevant?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You can change the port number on your local Tomcat - but I don't think that you are allowed to do it on your ISP's server.


Regards, Rene Larsen
Dropbox Invite
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet issue