print("<pre><code><servlet> <servlet-name>myservlet</servlet-name> <servlet-class>workflow.WDispatcher</servlet-class> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>myservlet</servlet-name> <url-pattern>*NEXTEVENT*</url-pattern></servlet-mapping></code></pre>");
Above is the snippet form tomcat's web.xml, the url pattern is NEXTEVENT on start up creates java.lang.IllegalArgumentException.It will be greatly appreciated if some can hint at the error. Thanks