title: How to access Endeca keyword redirect results in the JSP layer with ATG?
body: <p>I'm working on a web application with Oracle ATG 10.1.2 and Endeca 3.1.1 (without Endeca Experience Manager), and am trying to get keyword redirect functionality to work.</p>
  
  <p>Ultimately, what I'm trying to accomplish is to get access to the keyword redirect information returned from Endeca (if there was any) in my JSP layer, so I can redirect the user to the keyword redirect URL, and/or display that URL as part of the rendered page.</p>
  
  <p>To get results from Endeca, we are using the <code>/services/guidedsearch</code> packaged service (as described in on p51 of the <a href="http://docs.oracle.com/cd/E38679_01/ToolsAndFrameworks.311/pdf/AsmAppDevGuide.pdf" rel="nofollow">Assembler Application Developer's Guide (v3.1.1)</a>.</p>
  
  <p>If I use my browser to directly access the raw Guided Search output from the Endeca MDEX server, I can see my guided search entry and URL in the <code>endeca:redirect</code> property in the returned XML.  I can also see the guided search entry with no problem in the Endeca JSP Reference Application ("orange app").</p>
  
  <p>However, when I use the ATG <code>InvokeAssembler</code> droplet to get results from Endeca, the <code>endeca:redirect</code> entry doesn't seem to be included in the response.  The ContentItem map that gets returned only has the following keys:</p>
  
  <p><code>@type</code>, <code>name</code>, <code>navigation</code>, <code>breadcrumbs</code>, <code>resultsList</code>, <code>searchAdjustments</code>, <code>zones</code>, <code>endeca:siteRootPath</code>, <code>endeca:contentPath</code></p>
  
  <p>There's no <code>endeca:redirect</code> key like I can see in the raw <code>/services/guidedsearch</code> XML output.</p>
  
  <p>Here's the relevant snippet of my JSP code:</p>
  
  <pre><code>&lt;dsp:droplet name="/atg/endeca/assembler/droplet/InvokeAssembler"&gt;
    &lt;dsp:param name="includePath" value="/services/guidedsearch" /&gt;  
    &lt;dsp:oparam name="output"&gt;
      &lt;dsp:getvalueof param="contentItem" var="contentItem" vartype="com.endeca.infront.assembler.ContentItem" /&gt;
    &lt;/dsp:oparam&gt;
  &lt;/dsp:droplet&gt;
  </code></pre>
  
  <p>How can I access the keyword redirect information returned from Endeca?</p>