---
title: "Struts2常用结果类型总结"
author: "ln_ydc"
date: "2015-01-25T14:31:20Z"
tags: []
categories: ["编程语言"]
slug: "struts2"
draft: false
lastmod: "2015-01-25T14:31:20Z"
id: 2179446
url: "https://ln-ydc.iteye.com/blog/2179446"
---

Struts2常用到的结果类型有dispatcher,redirect,chain,redirectAction

 

1. dispatcher  默认，转发jsp
2. redirect 重定向jsp
3. chain 转发action (Action链式处理)
4. redirectAction 重定向action