Oro smith wrote:
im trying to retrieve the user id associated with the particular session.
The parameter value is not displayed, nor is the default value displayed.
How can this be fixed? here are the sitemap and xsp codes.
If the action is not protected, the authentication context is not
accesible..
Protect your pipeline with the auth-protect action and it should work
Sitemap:
<map:match pattern="test.wml">
<map:generate src="test.xsp" type="serverpages">
<map:parameter name="ups"
value="{session-context:authentication/ID}"/>
</map:generate>
<map:serialize type="wml">
</map:match>
XSP :
<?xml version="1.0" encoding="iso-8859-1"?>
<xsp:page
language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:util="http://apache.org/xsp/util/2.0">
<body>
<xsp:expr>
parameters.getParameter("ups","default")</xsp:expr>
</body>
</xsp:page>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]