---
title: "struts2中action返回调用另外一个action"
author: "hunray"
date: "2011-08-31T12:12:37Z"
tags: []
categories: ["Web前端"]
slug: "struts2-action-action"
draft: false
lastmod: "2011-08-31T12:12:37Z"
id: 1162246
url: "https://hunray.iteye.com/blog/1162246"
---

在struts2的配置文件中，需要这样配置


```java

<result name="success" type="redirectAction">
    <param name="namespace">/news</param>
    <param name="actionName">news-getAllNewsForPage</param>
</result>
```