会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lblxiaoyu
一切问题都可以通过间接的方法来解决
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
struts.xml配置
调用jsp页面和Action的XML的写法
<
package
name
="packagename"
extends
="struts-default"
>
<
action
name
="actionname"
method
="methodname"
class
="classpath"
>
<
result
name
="ERROR"
>
/error.jsp
</
result
>
<
result
type
="redirect-action"
>
gotoaction
</
result
>
</
action
>
</
package
>
<
result
name
="ERROR"
>
/error.jsp
</
result
>表示返回ERROR时,调用error.jsp页面
<
result
type
="redirect-action"
>
gotoaction
</
result
>表示返回SUCCESS时,调用gotoaction这个Action
posted on
2008-04-16 13:50
李小鱼
阅读(
239
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部