Hi,
I have an applet in a velocity portlet that needs
to talk back to a servlet for additional processing. When
the applet does a HttpURLConnection to the servlet, the
servlet somehow seems to pickup the correct session (tomcat
version 4.1). I.e. The session id got by
"$data.getSession().getId()" in the velocity template is
the same as "request.getSession().getId()" in the servlet.
Please correct me if I am wrong here.
My problem is, I am unable to retrieve the JetspeedUser
in the servlet.
The following code in the servlet returns null for
JetspeedUser :
HttpSession session=request.getSession();
System.out.println("\n SessionId="+session.getId());
RunData data = RunDataFactory.getRunData(request,
response,
getServletConfig());
JetspeedUser user =
((JetspeedRunData)data).getJetspeedUser();
// user is null
Is there another way to retrieve JetspeedUser ? Thanks in
advance for any possible help.
Anand
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]