---
title: "s:url传多参数出现&amp问题"
author: "boss5518831534"
date: "2012-04-19T10:09:45Z"
tags: []
categories: ["Web前端"]
slug: "s-url-amp"
draft: false
lastmod: "2012-04-19T10:09:45Z"
id: 1490081
url: "https://garson.iteye.com/blog/1490081"
---

Struts2标签中用s:url传多参数，发现参数传不到后台，后来将url打印出来，原来在url上多了一个&amp这个问题，
如：http://localhost:8080/test/test/deleteConfirm.action?id=30&amp;csatArray=C1S53A159T777


修改方案：如果传1个参数以上时，需要将s:url标签中的escapeAmp属性设置为false就可以了