Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating the Controller Servlet

 
jite eghagha
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm following the tutorial at netbeans.org

When i Create the Controller Servlet, i don't have the @WebServlet annotation that should appear above the class signature. (after step 5 of "Create the Controller Servlet")

I'm using netbeans 6.9.1, Glassfish server 3, java version "1.6.0_21", and Java(TM) SE Runtime Environment (build 1.6.0_21-b07)

this line of code has no effect when i run my application, i have to go into the web.xml file to include my controllers.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic