@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface WebServlet
This annotation is processed by the container at deployment time, and the corresponding servlet made available at the specified URL patterns.
Servlet
Modifier and Type | Optional Element and Description |
---|---|
boolean |
asyncSupported
Declares whether the servlet supports asynchronous operation mode.
|
java.lang.String |
description
The description of the servlet
|
java.lang.String |
displayName
The display name of the servlet
|
WebInitParam[] |
initParams
The init parameters of the servlet
|
java.lang.String |
largeIcon
The large-icon of the servlet
|
int |
loadOnStartup
The load-on-startup order of the servlet
|
java.lang.String |
name
The name of the servlet
|
java.lang.String |
smallIcon
The small-icon of the servlet
|
java.lang.String[] |
urlPatterns
The URL patterns of the servlet
|
java.lang.String[] |
value
The URL patterns of the servlet
|
public abstract java.lang.String[] urlPatterns
public abstract int loadOnStartup
public abstract WebInitParam[] initParams
Copyright © 1999-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms. Portions Copyright © 1999-2002 The Apache Software Foundation.