Pages

Monday, March 10, 2014

Servlet 3

From HERE

Header for web.xml:

<web-app
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
    version="3.0">

Annotating the servlet:

@WebServlet("/mymappinghere/*")




Related Posts by Categories

0 comments:

Post a Comment