Java Web Servers » Apache » executing servlet prg.
Hi thank U Isha for ur reply ....Ok fine now am getting that program..But one problem is there.., that is when i type http://localhost:8080 in browser it shows UNAUTHORIZED . I dont know y am getting this ...if u know any solution reply me... waiting for ur reply.
Hi thank U Satish for ur reply ....Ok fine now am getting that program..But one problem is there.., that is when i type http://localhost:8080 in browser it shows UNAUTHORIZED . I dont know y am getting this ...if u know any solution reply me... waiting for ur reply.
Hi Atul..yes am getting tomcat home..but from yesterday onwords that page also not opend.. it showing unauthorized what can I do now.
210 Views
8 Replies
executing servlet prg.
Posted 31-03-2009Reply
while executing servlet prg. in tomcat server it shows the status of running is false.how can we solve this.........
Hi Suresh,
your question is not clear.. I hope you are not able to start the tomcat.
1. Check which port the tomcat is running... I am a linux user can not tell how exactly it happens in windows. Probably you can get that in services of windows.
2. Depending on the port give a request to the server in the browser. like "http://localhost:8080/" or "http://IPaddress:port/". You should get the default page. That confirms tomcat is fine. Now check your servlet program and deployment descriptor id web.xml. Follow the proper documentation for configuration. The configurations are passed by the web container to servlet.init(servletConfig servletConfig) method at the statup time.
now hit the URL, same as you specified in the web.xml.
Cheers
Satish
your question is not clear.. I hope you are not able to start the tomcat.
1. Check which port the tomcat is running... I am a linux user can not tell how exactly it happens in windows. Probably you can get that in services of windows.
2. Depending on the port give a request to the server in the browser. like "http://localhost:8080/" or "http://IPaddress:port/". You should get the default page. That confirms tomcat is fine. Now check your servlet program and deployment descriptor id web.xml. Follow the proper documentation for configuration. The configurations are passed by the web container to servlet.init(servletConfig servletConfig) method at the statup time.
now hit the URL, same as you specified in the web.xml.
Cheers
Satish
Hi thank U Isha for ur reply ....Ok fine now am getting that program..But one problem is there.., that is when i type http://localhost:8080 in browser it shows UNAUTHORIZED . I dont know y am getting this ...if u know any solution reply me... waiting for ur reply.
Hi thank U Satish for ur reply ....Ok fine now am getting that program..But one problem is there.., that is when i type http://localhost:8080 in browser it shows UNAUTHORIZED . I dont know y am getting this ...if u know any solution reply me... waiting for ur reply.
Hi Atul..yes am getting tomcat home..but from yesterday onwords that page also not opend.. it showing unauthorized what can I do now.
















