File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Working with new tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

Working with new tomcat server

Mike Ottinger
Ranch Hand

Joined: Jan 11, 2002
Posts: 125
Okay, I changed from tomcat 4.0 to tomcat 3.2.1 and here's the situation: I'm able to compile servlet code, so I must have set the classpath correct for that. I'm able to startup the server fine. But like before, when I go to open a browser and type in http://localhost/servlet/HelloWWW3/ I get this.
I'm prompted that the page is not available offline, and given the choice to connect or stay offline. When I choose stay offline (No connection from the computer I'm working on) the page then comes up that says: Webpage unavailable offline. I'm so close to actually having this thing work. If I could just figure out why the browser won't read my page, I'd be set!

SCJP 1.4 SCJD 1.5
rom chatterjee
Ranch Hand

Joined: Dec 11, 2001
Posts: 46
Dont know the whys and wherefores but if you click connect it should work. ie your pc goes and gets a connection with itself on localhost.

Rom Chatterjee<BR>Sun Certified Java Programmer
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

This was discussed and solved here:
I agree. Here's the link:
subject: Working with new tomcat server
jQuery in Action, 3rd edition