• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Servlet HttpSession in webobjects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Servlet HttpSession in webobjects?


  • Subject: Re: Servlet HttpSession in webobjects?
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 13 Feb 2008 15:13:46 +1100

I'm referring to the 5.3 api... see com.webobjects.jspservlet.*;

I believe from reading the class description that your WOContext (at runtime) is in fact an instance of WOServletContext.

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

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





with regards, --

Lachlan Deck



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: AJAX WebObjects Integration (From: Jeff Schmitz <email@hidden>)
 >Servlet HttpSession in webobjects? (From: Jeff Schmitz <email@hidden>)
 >Re: Servlet HttpSession in webobjects? (From: Lachlan Deck <email@hidden>)
 >Re: Servlet HttpSession in webobjects? (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: Re: Tags inside tags [was: Re: WebObjects 5.4 is out.]
  • Next by Date: Re: Servlet HttpSession in webobjects?
  • Previous by thread: Re: Servlet HttpSession in webobjects?
  • Next by thread: Re: Servlet HttpSession in webobjects?
  • Index(es):
    • Date
    • Thread