Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to run servlet code in netbeans with glass fish

 
Prasaanth Krrish
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hI FRIENDS ,
am new here ..learning java .... Work as a lecturer in IT

have to teach students about EJB using netbeans

As a first step in that I need to run a servlet :

My JSP runs at URL http://localhost:46541/HelloWorldd/

JSP code :



then i made a servlet to count no of times i visited the page :



When i run the servlet at http://localhost:46541/HelloWorldd/HelloServlett

I get an error The Requested Resource is not available

I followed the steps taught in this video actually : http://www.youtube.com/watch?v=pwBNmAhtqk8


Please help me solve this .
My first post here .Please forgive me if i havent followed any rules of the forum .
Thanking you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic