Hello,
when adding Scriptlet code to your page you have to import the classes you want to use and to declare your variables:
<BR><%@ page language="java" contentType="text/html; charset=UTF-8" <BR> <B>import="com.softwareag.xtools.xapplication.jsp.ServletSessionContext, <BR> com.softwareag.xtools.xapplication.jsp.SessionContext"</B><BR>%><BR></pre><BR><BR>After the import you must declare and initialize the variable ?sessionConext? before using it.<BR><BR><pre class="ip-ubbcode-code-pre"><BR><% SessionContext sessionContext = ServletSessionContext.getSessionContext(pageContext); <BR> if (sessionContext.getVariablesHandler().getVariableValue("meineQuery") != null)<BR> ...<BR>%><BR>
Bye,
Christian.
#Tamino#API-Management#webMethods