Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
john sanjeev
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Max Rahder
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Servlets forum...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic