page:httpHeader

This tag lets you add response headers in a controlled and cache-safe way.

Parameters

Name

Required

Default

Type

Description

name

true

 

Object/String

The name of the header to set.

value

true

 

Object/String

The value of the header to set.

 

Examples

The following example sets a response header “Cache-control”.

<%@ taglib uri="infoglue-page" prefix="page" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

<page:httpHeader name="Cache-control" value="no-cache"/>



comments powered by Disqus