精华帖 (0) :: 良好帖 (0) :: 新手帖 (1) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2007-08-18
汗...404这么高深的错误...
你直接运行的首页 就是这个错误麽 ? 还是跳转后出的错误 ? |
|
返回顶楼 | |
发表时间:2007-08-19
问题在前些天已经解决了,太忙了,没回贴,呵呵
主要就是少了个type="org.springframework.web.struts.DelegatingActionProxy" |
|
返回顶楼 | |
发表时间:2007-08-19
这样每个Action分别在struts-config.xml和Spring配置文件中要配置相应的内容,有个办法,在struts-config.xml配置文件中只加入
<controller processorClass= "org.springframework.web.struts.DelegatingRequestProcessor">, 随后,只需在Spring配置文件中配置相应的Action即可 |
|
返回顶楼 | |
发表时间:2007-08-27
9 lou right
|
|
返回顶楼 | |
发表时间:2007-09-19
give up ,
take "Rails" |
|
返回顶楼 | |
发表时间:2007-09-19
web.xml要配上welcomefiles
|
|
返回顶楼 | |
发表时间:2007-09-20
用Spring的DelegatingRequestProcessor重载Struts 默认的 RequestProcessor。这样当收到一个针对Action的请求时,DelegatingRequestProcessor会自动从Spring Context中查找对应的Action Bean。
格式如下: <controller> <set-property property="processorClass" value="org.springframework.web.struts.DelegatingRequestProcessor"/> </controller> |
|
返回顶楼 | |
发表时间:2007-09-20
在strurts-config.xml添加
|
|
返回顶楼 | |
发表时间:2007-09-20
我以前也出过和你一样的问题,是spring的配置文件不对
|
|
返回顶楼 | |
发表时间:2007-09-21
建议看一下modelstry,虽然下载不到了,但是看一下他得主要流程!也是很有用处得
|
|
返回顶楼 | |