blogspot.com-GA4

星期五, 6月 03, 2011

JSTL pageContext 參數

${pageContext.request.method}
${pageContext.request.authType}
${pageContext.request.contextPath}
${pageContext.request.pathInfo}
${pageContext.request.pathTranslated}
${pageContext.request.queryString}
${pageContext.request.requestURI}
${pageContext.request.servletPath}

session參數
${pageContext.session.creationTime}
${pageContext.session.id}
${pageContext.session.lastAccessedTime}
${pageContext.session.maxInactiveInterval}
${(pageContext.session.lastAccessedTime-pageContext.session.creationTime)/1000}