A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Other Open Source APIs
change from localhost
Joined: Aug 17, 2001
Mar 19, 2004 02:32:00
mapping could be done. i.e I was able to do te following
Which was mapped to :
But what i really need to do is:
How do I go about on this..??
Tried tweaking server.xml but no result.
SOA & Java Book
Joined: Feb 20, 2001
Mar 19, 2004 19:50:00
Umm... first you need to register a domain, and have it point to the IP address of the box on which you are runnin
If you're only running an intranet site, then you can get away with entering your domain into your internal DNS, and then it won't matter if the rest of the world doesn't see it.
To get Tomcat to respond to port 80 (the default, so that you won't need to type :80) is set in server.xml. Just search in that file for the current port (8080) and replace it with 80.
If you want it to respond to a certain 'named host', then configure a Host with that name, also in server.xml. I believe Tomcat needs a 'default' Host, so you will need at least two host entries now.
I agree. Here's the link:
subject: change from localhost
How to configure JBoss with Tomcat
HTTP Status 500 - No Context configured to process this request
For Struts developers
How access web application use root context?
Servlet Context Virtual Sandbox
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015