wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet not running Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet not running" Watch "Servlet not running" New topic
Author

Servlet not running

Santosh Babu
Greenhorn

Joined: Jun 06, 2006
Posts: 8
I was not able to run any new servlets on my linux machine.

Some of the existing servets run ok.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Santosh Babu,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
TellTheDetails

You'll find that putting more effort into your questions usually results in people putting more effort into answering them.

Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Santosh Babu
Greenhorn

Joined: Jun 06, 2006
Posts: 8
Sorry about my previous question.

Our web application does not have any servlets of its own today.

But it uses other app's servlets sometimes which are declared in web.xml.

We are trying to just run a small servlet of our own within our web app. We have spent 2 days and we are getting sometimes http 404, http 405, http 400 etc.
All kinds of random errors.

When we include a servlet for the first time, do we need to make any one time changes to the app in addition to changing web.xml.
Santosh Babu
Greenhorn

Joined: Jun 06, 2006
Posts: 8
Sorry about my previous question.

Our web application does not have any servlets of its own today.

But it uses other app's servlets sometimes which are declared in web.xml.

We are trying to just run a small servlet of our own within our web app. We have spent 2 days and we are getting sometimes http 404, http 405, http 400 etc.
All kinds of random errors.

When we include a servlet for the first time, do we need to make any one time changes to the app in addition to changing web.xml.
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
we need more information, santosh. are there any errors on the tomcat console/log?


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
 
GeeCON Prague 2014
 
subject: Servlet not running