views:

209

answers:

1

Hi,

I've installed Tomcat 5.5 in windows Xp, but when I try to run my servlet by typing for instance localhost:8081\Servlet\Servlet1 in Mozilla browser, I'm getting blank page . I already uninstalled, and then reinstalled it, but it didn't work. I've to keep refresh the page, to make my servlet run. What's the reason of not running Tomcat properly?

+2  A: 

Use forward slash in your URL,

localhost:8081/Servlet/Servlet1
ZZ Coder
Tomcat still showing an output, whilst having a slash sign in opposite direction in browser address bar. I don't think this is a solution.
Dusk
@JavaLearner, that's how URLs are supposed to be written. Check your address bar now - is it http://stackoverflow.com\questions\1472219\servlet-on-tomcat-is-not-accessible-from-my-browser or http://stackoverflow.com/questions/1472219/servlet-on-tomcat-is-not-accessible-from-my-browser ?
Vineet Reynolds