Yes, I tried it again and I can't add the import com.webobjects.jspservlet package. Is this in a special jar somewhere? Sorry, but I don't see much info on this other than the api ref.

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