decorators.xml内容如下<?xml version="1.0" encoding="UTF-8"?>
<decorators defaultdir="/pages/decorators">
    <decorator name="default" page="default.jsp">
     <pattern>/*</pattern>
    </decorator>
    <decorator name="noTab" page="noTabbedPage.jsp"/>
    <excludes>    
        <pattern>*/tree.do*</pattern>        
    </excludes>    
</decorators>代码部分
ServletOutputStream out = null;
try {
JSONObject json = new JSONObject();
//告知成功與否
json.put("executeSuccess", iExecuteSuccess);
response.setHeader("Content-Type", "text/plain;charset=UTF-8");
out = response.getOutputStream();
out.write(json.toString().getBytes("UTF-8"));
out.flush();
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
if(out != null){
out.close();
}
} catch (Exception e) {
e.printStackTrace();
}
}
return null;用Ajax更新分数的,更新后不希望页面跳转,直接用outputstream发送一段JSon提示信息到页面,可是每次response都被截获后变成了sitemesh自己包装过的response,然后会跳转,上面代码里面按道理说是不会跳转的,可页面还是跳转了,请问是怎么回事啊,难道是sitemesh的问题?