Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to run servlet code in netbeans with glass fish  RSS feed

Prasaanth Krrish
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :

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
Boost this thread!