我的struts-config.xml有什么问题吗?求答
<?xml version="1.0" encoding="UTF-8"?><struts-config>
<data-sources />
<form-beans >
<form-bean name="loginForm" type="com/leadtone/web/struts/form/LoginForm" />
</form-beans>
<global-exceptions />
<global-forwards />
<action-mappings >
<action
attribute="loginAction"
input="/login.jsp"
name="loginAction"
path="/login"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy">
<forward name="failure" path="/failure.jsp" />
<forward name="success" path="/succ.jsp" />
</action>
</action-mappings>
<controller processorClass="org.springframework.web.struts.DelegatingRequestProcessor"></controller>
<message-resources parameter="com.leadtone.web.struts.ApplicationResources" />
<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="classpath:applicationContext.xml" />
</plug-in>
</struts-config>
控制台报错
严重: Servlet /SSITest threw load() exception
javax.servlet.UnavailableException: Parsing error processing resource path jndi:/localhost/SSITest/WEB-INF/struts-config.xml --------------------编程问答-------------------- 控制台报的错误时500 --------------------编程问答-------------------- --------------------编程问答-------------------- 加上头信息<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd">
补充:Java , Web 开发