hi, my problem is very simple,my servlet is not displaying.I saved my servelt code in tomcat/webapps/examples/classes directory and execute it through http://localhost:8080/servlet/examples/servletname. it gives differnt kind of errors,sometimes it shows in status line 'Connecting to localhost' and afterwards shows 'Done' and then stops.Sometimes it gives ' Error 207:Cannot access proxy cache server through url you entered'. I have tomcat 3.1,I thought may be there is some problem in server so I again downloaded tomcat 3.3 but the same thing is happening,no change. YEs one more thing,when I give http://127.0.0.1:8080/ it shows tomcat home page.anybody can tell what could be the problem?
Try putting your classes in the following directory, if you have it. yourTomcatDir/webpages/WEB-INF/classes/ I use Tomcat 3.2.1 and that's where I put mine. Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Ghazala Islam
Ranch Hand
Joined: Nov 22, 2000
Posts: 73
posted
0
I downloaded tomcat 3.2.1,there is no such directory webpages where you've asked to save servlets,instead there is webapps directory.