Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to run servlet by right clicking the servlet in Netbeans

 
praveen shinde
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

I have created a web project in netbeans 6.9.1.
I have created a servlet in it. I have selected the option to enter the servlet details in the web.xml by selecting the radio button option provided by Netbeans. Now when i right click the servlet and try tp run it, it gives the error:

class "servlet name" neither has a main method nor it is a servlet specified in web.xml

But I have checked the web.xml and the servlet details are mentioned int the web.xml

Any help is appriciated.
regards,
Praveen
 
praveen shinde
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Any help is most welcome.
regards,
praveen
 
I like tacos! And this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!