jawr-bundle-processor/src/main/java/net/jawr/web/bundle/processor/ServletDefinition.java
/**
	 * Create a new instance of the servlet and initialize it.
	 * 
	 * @param servletClass the servlet class
	 * @param servletConfig the servlet config
	 * @throws ServletException if a servlet exception occurs.
	 */
Create a new instance of the servlet and initialize it.

@param servletClass the servlet class
@param servletConfig the servlet config
@throws ServletException if a servlet exception occurs.
Create a new instance of the servlet and initialize it . @param servletClass the servlet class @param servletConfig the servlet config @throws ServletException if a servlet exception occurs .
public HttpServlet initServlet() throws Exception {
		servlet = (HttpServlet) servletClass.newInstance();
		servlet.init(servletConfig);
		return servlet;
	}
public HttpServlet initServlet ( ) throws Exception { servlet = ( HttpServlet ) servletClass . newInstance ( ) ; servlet . init ( servletConfig ) ; return servlet ; }
Create a new instance of the servlet and initialize it.
Create a new instance of the servlet and initialize it .