To access information contained in the request and response in your page, do so by making direct calls to HttpServletRequest
and HttpServletResponse
. When you need application-specific information held only by the Dynamo request and response, you should import the request or response using the atg.servlet.ServletUtil
class. For example, to access the state
object parameter, your JSP might use this code:
<%=atg.servlet.ServletUtil.getDynamoRequest(request).getObjectParameter("state")%>
Any references to the Dynamo request and response are interpreted as calls to the generic HttpServletRequest
and HttpServletResponse
.