| @WebInitParam
Tutorial Details:
This section contains detailed description of @WebInitParam annotation and its implementation with sample code.
Read
Tutorial @WebInitParam.
Rate Tutorial: @WebInitParam
View Tutorial: @WebInitParam
Related
Tutorials:
|
Displaying 1 - 5 of about 5 Related Tutorials.
|
@WebInitParam
This section contains detailed description of @WebInitParam annotation and its implementation with sample code |
@WebInitParam Annotation Servlet Example
@WebInitParam Annotation Servlet Example
In this tutorial you will learn how.... To specifies these initParams the annotation @WebInitParam is used,
although...
will be required to give these information additionally to the servlet. @WebInitParam |
How to use web.xml in Servlet 3.0
;},
initParams={
@WebInitParam(name="URL", value="jdbc:mysql://192.168.10.13"),
@WebInitParam(name="USER", value="root"),
@WebInitParam(name="PASSWORD", value="root")
}
)
public |
|
|
Creating and Initializing a Servlet using Annotation
;},
initParams = {@WebInitParam(name="param1", value="value1"), @WebInitParam(name="param2", value="value2")}
)
public class |
setInitParameter() Method Example
;,
initParams={
@WebInitParam(name="middleName", value="Kumar" |
|
|
|