*
The moose likes IDEs, Version Control and other tools and the fly likes Unable to run servlet code in netbeans with glass fish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to run servlet code in netbeans with glass fish" Watch "Unable to run servlet code in netbeans with glass fish" New topic
Author

Unable to run servlet code in netbeans with glass fish

Prasaanth Krrish
Greenhorn

Joined: Mar 10, 2013
Posts: 1
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to run servlet code in netbeans with glass fish
 
Similar Threads
Problem in Login using Servlets
user authentication and dao
To run a simple servlet in Jboss 5.1.0
org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: 8
Hello world ejb3 problem