Hi Joerg,
hmm... i create the session after a succesfull login, this is based on the
session authentication sample.
<map:match pattern="do-login">
<!-- -->
<map:act type="form-validator">
<map:parameter name="descriptor"
value="context://appi/logic/params.xml"/>
<map:parameter name="validate" value="Username"/>
<!-- now try to log in -->
<map:act type="db-authenticator">
<map:parameter name="descriptor"
value="context://appi/logic/auth.xml"/>
<!-- now go to start area -->
<map:redirect-to uri="start"/>
</map:act>
</map:act>
<!-- something was wrong, try it again -->
<map:redirect-to uri="error.html"/>
</map:match>
<map:match pattern="start">
<map:act type="session-isvalid">
<!-- von session-validator -->
<map:parameter name="descriptor"
value="context://appi/logic/params.xml"/>
<map:redirect-to uri="home/home.section"/>
<map:serialize type="html"/>
</map:act>
<map:redirect-to uri="login"/>
</map:match>
and in the sitemap i pass the session parameter (<map:parameter
name="Username" value="{session-attr:Username}"/>) in every <map:transform>
to access them in xslt.
so when i call (http://localhost:8888/api/result.xsp) the xsp-file can
access the session-attribute... but when i include this xsp-file in xslt
(with document() ) i have the problem.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]