Posted on 2007-05-27 14:49 
fph 阅读(1509) 
评论(0)  编辑  收藏  
			
			
		 
		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语法不会有这个问题