| <?xml version='1.0' encoding='ISO-8859-1' ?>
| <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN"
| "http://java.sun.com/dtd/web-app_2_3.dtd">
| <web-app>
| <listener>
| <listener-class>trivia.ContextListener</listener-class>
| </listener>
| <Servlet>
| <Servlet-name>analyzeservlet</Servlet-name>
| <Servlet-class>trivia.AnalyzeServlet</Servlet-class>
| <load-on-startup>1</load-on-startup>
| </Servlet>
| <Servlet>
| <Servlet-name>controlservlet</Servlet-name>
| <Servlet-class>trivia.ControlServlet</Servlet-class>
| <load-on-startup>1</load-on-startup>
| </Servlet>
| <Servlet-mapping>
| <Servlet-name>analyzeservlet</Servlet-name>
| <url-pattern>/verify.html</url-pattern>
| </Servlet-mapping>
| <Servlet-mapping>
| <Servlet-name>controlservlet</Servlet-name>
| <url-pattern>/control.html</url-pattern>
| </Servlet-mapping>
| <welcome-file-list>
| <welcome-file>index.html</welcome-file>
| </welcome-file-list>
| </web-app>
|
That is my web.xml file. It is correct because I have deployed the same WAR file using
Tomcat and Resin and it works successfully.
So in my index.html I have a form and action is action='control.html'
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068827#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...