Does that work for 5.3? I saw that but for some reason got the idea it was 5.4 only, probably because I didn't seem to be able to add the import for it. I'll give it another shot.

Thanks,
Jeff

On Feb 12, 2008, at 8:30 PM, Lachlan Deck wrote:

On 13/02/2008, at 1:21 PM, Jeff Schmitz wrote:

Same question, just a better subject line.

Hello,
If I have a Java servlet that gets a session variable from an http request as follows:

protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

                HttpSession session = request.getSession();

How might I go about retrieving the same session variable in a WebObjects 5.3 directAction?

See WOServletContext.httpSession()

with regards,
--

Lachlan Deck




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to