OSWorkflow Example App <display-name> /<display-name> This is the display name of my J2EE component <servlet-name>CreateWorkflow/<servlet-name> <servlet->class>net.caiban.servlet.CreateWorkflow/<servlet->class> <servlet-mapping> /<servlet-mapping> <servlet-name>SOAPWorkflow/<servlet-name> <url-pattern>/soap/*/<url-pattern> <servlet-mapping> /<servlet-mapping> <servlet-name>Osworkflow/<servlet-name> <url-pattern>/servlet/Osworkflow/<url-pattern> <servlet-mapping> /<servlet-mapping> <servlet-name>DoWorkflow/<servlet-name> <url-pattern>/servlet/DoWorkflow/<url-pattern> <servlet-mapping> /<servlet-mapping> <servlet-name>CreateWorkflow/<servlet-name> <url-pattern>/servlet/CreateWorkflow/<url-pattern> <welcome-file-list> /<welcome-file-list> <welcome-file>
default.jsp/<welcome-file> <welcome-file>index.jsp/<welcome-file> <resource-ref> /<resource-ref> <res-ref-name>jdbc/oswf/<res-ref-name> <res-type>javax.sql.DataSource/<res-type> <init-param> <init-param> <init-param> <init-param> <init-param> <init-param> /<web-app>
解決方法二:
<async-supported>true/<async-supported>是web.xml 3.0的新特性,只需將
<web-app>
改成:
<web-app>
即可解決。