Jakarta REQUEST Taglib Example


<%@ taglib uri="http://jakarta.apache.org/taglibs/request-1.0" prefix="req" %>

Cookies received with request:


   Cookie name: 
       Comment: 
        Domain: 
        MaxAge: 
          Path: 
        Secure: 
         Value: 
       Version: 


HTTP Headers received with request:


    = 


GET or POST Parameters received with request:


    = 


GET or POST Parameters received with request for test3:

 
    = 
 



Request Information:

AuthType: 
ContextPath: 
Method: 
PathInfo: 
PathTranslated: 
QueryString: 
RemoteUser: 
RequestedSessionId: 
RequestURI: 
ServletPath: 
CharacterEncoding: 
ContentLength: 
ContentType: 
Protocol: 
RemoteAddr: 
RemoteHost: 
Scheme: 
ServerName: 
ServerPort: 


IsSecure? Session is using HTTPS. Session is not using HTTPS.

IsSessionFromCookie? Session is using a cookie. Session is not using a cookie.

IsSessionFromURL? Session is using a URL. Session is not using a URL.

IsSessionValid? Session is valid. Session is not valid.

IsUserInRole "admin"? User is in role admin. User is not in role admin.