<%@ page language="java" import="java.util.Enumeration" session="false" %> <%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld' prefix='jetspeed' %>

Jetspeed Tag Library

jetspeed:info

requestedInfo Returned Value
Email
FirstName
LastName
UserName
ServerDate

jetspeed:uriLookup

Type Returned Value
Customize
EditAccount
Login
Logout
Home

jetspeed:contentUri

href Returned Value
apidocs/
docs/
rss/

HTTP Request Header

Name Returned Value
Auth Type <%= request.getAuthType() %>
Character Encoding <%= request.getCharacterEncoding() %>
Content Length <%= request.getContentLength() %>
Content Type <%= request.getContentType() %>
Context Path <%= request.getContextPath() %>
Method <%= request.getMethod() %>
Path Info <%= request.getPathInfo() %>
Path Translated <%= request.getPathTranslated() %>
Protocol <%= request.getProtocol() %>
Query String <%= request.getQueryString() %>
Remote Address <%= request.getRemoteAddr() %>
Remote Host <%= request.getRemoteHost() %>
Remote User <%= request.getRemoteUser() %>
Requested Session Id <%= request.getRequestedSessionId() %>
Requested Session Id from Cookie <%= request.isRequestedSessionIdFromCookie() %>
Requested Session Id from URL <%= request.isRequestedSessionIdFromURL() %>
Request URI <%= request.getRequestURI() %>
Request URL <%= request.getRequestURL() %>
Scheme <%= request.getScheme() %>
Secure <%= request.isSecure() %>
Server Name <%= request.getServerName() %>
Server Port <%= request.getServerPort() %>
Servlet Path <%= request.getServletPath() %>

HTTP Headers

<% Enumeration e = request.getHeaderNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); String value = request.getHeader(name); out.println(""); } %>
Name Value
" + name + "" + value + "

Attributes

<% e = request.getAttributeNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); out.println(""); } %>
Name
" + name + "

Parameters

<% e = request.getParameterNames(); while (e.hasMoreElements()) { String name = (String)e.nextElement(); String value = request.getParameter(name); out.println(""); } %>
Name Value
" + name + "" + value + "

Cookies

<% Cookie[] cookies = request.getCookies(); for (int i = 0; i < cookies.length; i++) { out.println(""); } %>
Name Value
" + cookies[i].getName() + "" + cookies[i].getValue() + "