Raffaele:

There is a method org.apache.turbine.util.RunData.getRequest(). Its result
is javax.servlet.http.HttpServletRequest.

I didn't check it out but you should be able to access it within .vm-files
like this:
   $data.getRequest()

... or by accessing the context:
   ((RunData) context.get( "data" )).getRequest()


best regards

Matthias Wimmer



   

-----Original Message-----
From: Raffaele Ragni [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 12:56 PM
To: Jetspeed Users List
Subject: HttpServletRequest


i've seen that i can get the VelocityPortlet by this way:
(VelocityPortlet)context.get("portlet")

now i need HttpServletRequest to do things with cookies, and i think i can
get in that way, but how is named the context? or there is another way to
use cookies?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to