注册 登录
编程论坛 J2EE论坛

[求助]struts资源找不到的问题

想你的天空 发布于 2006-10-22 14:19, 554 次点击
<a href="/superAdmin.do?method=showAllAdmin">xxx</a>

struts的配置文件里
<action
attribute="superAdminForm"
input="/superadmin/superAdmin.jsp"
name="superAdminForm"
parameter="method"
path="/superAdmin"
scope="request"
type="org.springframework.web.struts.DelegatingActionProxy" >
<forward
name="showAdminGo"
path="/superadmin/show.jsp"
redirect="true" />
</action>

<plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
<set-property property="contextConfigLocation" value="/WEB-INF/applicationContext.xml" />
</plug-in>


spring配置文件
<bean name="/superAdmin" class="edu.pgms.struts.action.SuperAdminAction" singleton="false">
</bean>
3 回复
#2
可可℃乐2006-10-22 14:47
郁闷~
本来我们弄的教材是学STRUTS+SPRING+HIBERNATE的
现在老师说不在学那两个了 555555
只学STRUTS的
#3
千里冰封2006-10-22 15:43

怎么会找不到资源呢,错误信息是什么

#4
神vLinux飘飘2006-10-22 18:41
已经帮他解决了
1