Two Laptop Bag*
The moose likes IDEs, Version Control and other tools and the fly likes Creating the Controller Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Creating the Controller Servlet " Watch "Creating the Controller Servlet " New topic
Author

Creating the Controller Servlet

jite eghagha
Ranch Hand

Joined: Oct 06, 2006
Posts: 127
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.

 
 
subject: Creating the Controller Servlet
 
Similar Threads
Tomcat + Apache configuration servlet access problem
newbie form submit question
ControllerServlet Not found
Servlet mapping
WebServlet annotation not working in Tomcat 7.0?