<xsp:logic> String str = <xsp-session-fw:getxml as="string" context="authentication" path="/authentication/ID"/>; </xsp:logic>
You may need to catch an exception, I don't have the xsp-session-fw API handy.
John
Laurent Trillaud wrote:
Hi I'm trying to get information inside the authentication session context and give it into a java variable, to process it later, in a XSP file.
<?xml version="1.0"?>
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0"
create-session="true">
<xsp:logic>
String str = new String( <xsp-session-fw:getxml as="string"
context="authentication" path="/authentication/ID"/>);
</xsp:logic>
<page>
<xsp:expr>str</xsp:expr>
</page>
</xsp:page>
--
---------------------------------------------------------
Jentro Technologies GmbH
John L. Webber, Software Development
---------------------------------------------------------
Rosenheimer Str. 145e 81671 M�nchen
Tel. +49 700 881 199 88 mailto:[EMAIL PROTECTED] Fax +49 700 881 199 88 http://www.jentro.com
---------------------------------------------------------
NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments without any use or further distribution of its contents. Please note that any unauthorised review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you. ---------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
