日期:2014-05-16  浏览次数:20520 次

Jsp设置session
1、
<%
	String bookcaseId = request.getParameter("bookcaseId");
	if (null != bookcaseId) {
		session.setAttribute("bookcaseId", bookcaseId);
	}
%>



2、
<%
	Retrieve retrieve = new Retrieve();
	String departid = null == request.getParameter("departid") ? ""
			: new String(request.getParameter("departid").getBytes(
					"UTF-8"));%>