• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Servlet not running

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was not able to run any new servlets on my linux machine.

Some of the existing servets run ok.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Santosh Babu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
we need more information, santosh. are there any errors on the tomcat console/log?
 
Then YOU must do the pig's work! Read this tiny ad. READ IT!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic