File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Creating the Controller Servlet " Watch "Creating the Controller Servlet " New topic

Creating the Controller Servlet

jite eghagha
Ranch Hand

Joined: Oct 06, 2006
Posts: 128

I'm following the tutorial at

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.

I agree. Here's the link:
subject: Creating the Controller Servlet
It's not a secret anymore!