0

我在jboss 5.1.0m 中遇到了这个异常,但是如果我在其中部署它,jboss 5.0.0它就可以正常工作。

10:02:28,379 WARN  [ServletUrlRenderer] No configuration found for the specified action: 'login' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
10:02:28,406 WARN  [ServletUrlRenderer] No configuration found for the specified action: 'feedBack' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
10:02:28,489 WARN  [ServletUrlRenderer] No configuration found for the specified action: 'feedBack' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
10:02:45,644 WARN  [Dispatcher] Could not find action or result
There is no Action mapped for namespace [/] and action name [login] associated with context path [/eilmt]. - [unknown location]
    at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
    at org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
    at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
    at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)

struts.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts SYSTEM "struts2.3.dtd">

<struts>
<constant name="struts.multipart.saveDir" value="F:\fileU" />
<constant name="struts.action.excludePattern" value="/.*FileUploadServlet.*,/.*SendFileData.*" />
<constant name="struts.devMode" value="true" />

<constant name="struts.custom.i18n.resources" value="global" />
    <!-- for understanding purpose only -->
    <package name="default" namespace="/" extends="struts-default">
4

0 回答 0