---
title: "Struts 避免重复提交"
author: "istone"
date: "2009-04-08T16:53:24Z"
tags: []
slug: "struts"
draft: false
lastmod: "2009-04-08T16:53:24Z"
id: 363767
url: "https://istone.iteye.com/blog/363767"
---

**将**

```
return mapping.findForward(page);
```

 

替换为：

```
ActionForward forward = mapping.findForward(page); 
String path = forward.getPath(); 
return new ActionForward(forward.getName(),path,true);
 
```