Hi, I've read through the book of Head First Servlets & JSP, but somehow I'm confused about the way author told setting up the tomcat on the computer. But the way the author used is not working on my computer enviroment. please help.
When I click on the startup.bat it appears ok , but when I get on http://localhost:8080/index.html ,then the error shows, this web page cannot show or even when I get on http://127.0.0.1:8080/ .Is it wrong with my path setting?(coz my window system is Window 98, so I have to go to the Autoexec.bat to set up the path)
I set up the path by in Autoexec.bat)
SET PATH=C:\j2sdk1.4.2;C:\j2sdk1.4.2\bin SET JAVA_HOME=C:\j2sdk1.4.2 SET CATALINE_HOME=C:\Tomcat
please give me a correct way ! Thank you!
[ June 05, 2005: Message edited by: Chiung-Yi Chang ]
You posted this in our JDBC forum; JDBC is Java's database API, and it's unrelated to your problem. We have another forum for discussing tomcat configuration issues here. I will move this thread to that forum for you.
Don't run startup.bat by clicking on it - you will lose the error messages if any. Instead open a command prompt window and navigate to the directory the startup.bat lives in - execute it from the command prompt. Using Windows 98 there are special precautions - you will have to increase your environment space as used by the command prompt because Tomcat uses a huge amount of environment variables and the default is too small. Here is a recent discussion of what to do. Bill