初学STRUTS,请高手指导 struts-config.xml中是否定义path="/logon"的映射 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 struts-config.xml沒配置對應的 action. struts-config.xml配置为:<?xml version="1.0" encoding="ISO-8859-1" ?><!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"><struts-config> <form-beans> <form-bean name="logonForm" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="username" type="java.lang.String"/> <form-property name="password" type="java.lang.String"/> </form-bean> </form-beans> <global-forwards> <forward name="success" path="/main.jsp"/> <forward name="logoff" path="/logoff.do"/> </global-forwards> <action-mappings> <action path="/logon" type="org.monotonous.struts.LogonAction" name="logonForm" scope="session" input="/index.jsp"> </action> <action path="/logoff" type="org.monotonous.struts.LogoffAction"> <forward name="success" path="/index.jsp"/> </action> </action-mappings> <controller> <!-- The "input" parameter on "action" elements is the name of a local or global "forward" rather than a module-relative path --> <set-property property="inputForward" value="true"/> </controller> <message-resources parameter="org.monotonous.struts.ApplicationResources"/></struts-config>请帮忙找出错误 action 实例没有被创建,看看你的包名是否正确 action 实例没有被创建,看看你的配置对不对??? ultraedit 列模式 急需Spring基本jar包、xml文件 求OA系统中打印功能解决方案 spring mvc 匹配问题 谁帮忙翻译下~~日文的 jmail发送邮件出错 550 5.7.1 Unable to relay 快疯了could not inspect JDBC autocommit mode 有没有人看过编程之美的 测试:软件测试的基础知识概要介绍 ejb现在用的多吗? 有人在solaris下用过fop吗? 我安装了MYeclipse和eclipse2.13无法启动tomcat5试运行程序。
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd"><struts-config>
<form-beans>
<form-bean name="logonForm"
type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="username" type="java.lang.String"/>
<form-property name="password" type="java.lang.String"/>
</form-bean>
</form-beans> <global-forwards>
<forward name="success" path="/main.jsp"/>
<forward name="logoff" path="/logoff.do"/>
</global-forwards> <action-mappings>
<action path="/logon"
type="org.monotonous.struts.LogonAction"
name="logonForm"
scope="session"
input="/index.jsp">
</action> <action path="/logoff"
type="org.monotonous.struts.LogoffAction">
<forward name="success" path="/index.jsp"/>
</action>
</action-mappings> <controller>
<!-- The "input" parameter on "action" elements is the name of a
local or global "forward" rather than a module-relative path -->
<set-property property="inputForward" value="true"/>
</controller> <message-resources parameter="org.monotonous.struts.ApplicationResources"/>
</struts-config>请帮忙找出错误