Project

General

Profile

Bug #1634

Servlet 3.0 Annotations @WebServlet not working

Added by Udo Offermann almost 11 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
z2-base
Target version:
-
Start date:
09.01.2014
Due date:
% Done:

0%

Estimated time:
origin:

Description

Servlet 3.0 allows to declare servlets using annotations:

@WebServlet(value="/*")
public class HelloWorldServlet {
}

This does not work in z2 at the moment.

On http://code.google.com/p/run-jetty-run/issues/detail?id=85 it is mentioned that the classes have to be located at /WEB-INF/classes or /WEB-INF/lib.

Also available in: Atom PDF