1。URL中get方式傳遞中文參數
在WAS下需要取出參數之前加上
request.setCharacterEncoding("GBK");
String file = request.getParameter("file");
2。關于jsp:include的用法
WAS下能<jsp:include page='<%=expression%>' />, 其中expression只能是單個變量,而不能是表達式,如request.getAttribute("XXX")
這種在WAS下必須
<% String aa = (String) request.getAttribute("aa");
%>
<jsp:include page="<%=aa%>"/>
好像是標簽里都會有這種問題,而直接用html語法不會有這個問題
在WAS下需要取出參數之前加上
request.setCharacterEncoding("GBK");
String file = request.getParameter("file");
2。關于jsp:include的用法
WAS下能<jsp:include page='<%=expression%>' />, 其中expression只能是單個變量,而不能是表達式,如request.getAttribute("XXX")
這種在WAS下必須



好像是標簽里都會有這種問題,而直接用html語法不會有這個問題