This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I installed Apache Tomcat 4.0 on my Windows XP.The installation was without any hassles.I created the environment variables JAVA_HOME and CATALINA_HOME.Then I started Tomcat.Everything went on well until i typed http:\\localhost:8080\ in my IE browser.Upon hitting enter it is asking me to enter a user name and a password.I tried entries from tomcat-users.xml, but no success.But when I connected to the Internet and again typed in http:\\localhost:8080\ i was able to see the Tomcat page and was even able to run the examples.
Do i have to connect to internet everytime in order to work in Tomcat???
If you are connecting to localhost...then you should definitely NOT need to be connected to the internet. That means you are running tomcat locally, on your hard drive. So the internet shouldn't have anything to do with it.