Http status 404错误 高手帮忙…… tomcat+struts+jsp
怎么弄都是404错误 实在看不出来哪有问题了…… 高手帮忙……
web.xml:
<?xml version= "1.0 " encoding= "UTF-8 "?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN "
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd ">
<web-app>
<display-name> HelloApp Struts Application </display-name>
<servlet>
<servlet-name> action </servlet-name>
<servlet-class> org.apache.struts.action.ActionServlet </servlet-class>
<init-param>
<param-name> config </param-name>
<param-value> /WEB-INF/struts-config.xml </param-value>
</init-param>
<load-on-startup> 2 </load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name> action </servlet-name>
<url-pattern> *.do </url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file> hello.jsp </welcome-file>
</welcome-file-list>
<taglib>
<taglib-url> /WEB-INF/struts-bean.tld </taglib-url>
<taglib-loacation> /WEB-INF/Struts-bean.tld </taglib-location>
</taglib>
<taglib>
<taglib-url> /WEB-INF/struts-html.tld </taglib-url>
<taglib-location> /WEB-INF/Struts-html.tld </taglib-location>
</taglib>
<taglib>
<taglib-url> /WEB-INF/struts-logic.tld </taglib-url>
<taglib-location> /WEB-INF/Struts-logic.tld </taglib-location>
</taglib>
</web-app>
struts-config.xml:
<?xml version= "1.0 " encoding= "ISO-8859-1 " ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.2//EN "
"http://struts.apache.org/dtds/struts-config_1_2.dtd ">
<struts-config>
<form-beans>
<form-bean name= "HelloForm " type= "hello.HelloForm "/>
</form-beans>
<action-mappings>