wood burning stoves 2.0*
The moose likes Servlets and the fly likes servlets are not working but java ........ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets are not working but java ........" Watch "servlets are not working but java ........" New topic
Author

servlets are not working but java ........

john sanjeev
Greenhorn

Joined: Jul 08, 2004
Posts: 5
Hi,
I can able to run my java programs very well but I can not be able to run servlets(javax. in not working)...... What steps has to be taken .....
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Step 1: repost this in the correct forum - "Servlets" looks like a good bet.
Step 2: properly describe the problem. "javax. in not working" is too vague. Perhaps you'd consider adding the error stacktrace (or part thereof).
People will help, but you can't expect them to know the answer to your problem without a proper description


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Max Rahder
Ranch Hand

Joined: Nov 06, 2000
Posts: 177
In a Java application, you ask the Java VM to run the main method of a class. Servlets do not have a main method. Instead, your doGet() and doPost() routines are run by a "servlet container," such as Tomcat.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Servlets forum...


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: servlets are not working but java ........