Specifies the page output as HTML (false) or XML (true). If you omit this attribute, the page output is HTML, unless a true setting is inherited from a parent page. To designate different output types within the same page, use dsp:setxml.


Specifies the delimiter used by DynamoHTTPServletRequest.addQueryParam to separate query parameters:

A value provided by a dsp:page or dsp:setxml tag to a parent page is automatically inherited by an included page, unless the included page itself declares a delimiter. If no value is detected, the ATG platform uses the delimiter associated with the page’s MIME type.

Usage Notes

dsp:page encloses a JSP: the first tag follows the page directive and the last tag ends the page. dsp:page invokes the JSP handler, which calls the servlet pipeline and generates HTTPServletRequest. The servlet pipeline manages generic page-related tasks, such as retrieving the servlet session components, instructing the page to render its contents, and clearing cached information.


<%@ taglib uri=http://www.atg.com/taglibs/daf/dspjspTaglib1_0 prefix="dsp" %>
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>


<dsp:droplet name="/atg/dynamo/droplet/Switch">
  <dsp:param bean="/atg/dynamo/servlet/RequestLocale.locale.language"
  <dsp:oparam name="fr"><%response.sendRedirect("fr");%></dsp:oparam>
  <dsp:oparam name="de"><%response.sendRedirect("de");%></dsp:oparam>
  <dsp:oparam name="ja"><%response.sendRedirect("ja");%></dsp:oparam>
  <dsp:oparam name="en"><%response.sendRedirect("en");%></dsp:oparam>
  <dsp:oparam name="default"><%response.sendRedirect("en/default.jsp");%>


This page points to a page in the user’s preferred language. The language preference is obtained from the RequestLocale.locale.language property. The dsp:page tags surround the body of the JSP; only the page directive that defines the tag library precedes the dsp:page tags.

Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved. Legal Notices