How to get ServletContext, HttpServletRequest, HttpServletResponse from WOContext, WORequest and WOResponse ?
How to get ServletContext, HttpServletRequest, HttpServletResponse from WOContext, WORequest and WOResponse ?
- Subject: How to get ServletContext, HttpServletRequest, HttpServletResponse from WOContext, WORequest and WOResponse ?
- From: Matthieu Segret <email@hidden>
- Date: Tue, 8 Sep 2009 15:41:26 +0200
Hi,
I need to access to the three objects ServletContext,
HttpServletRequest and HttpServletResponse in order to use a library
correctly (GraniteDS). However, I can only access to WOContext,
WORequest and WOResponse with WebObjects.
I used a WOServletContext object from a WORequest, to have the
ServletContext, HttpServletRequest and HttpServletResponse objects I
want. Actually, it's not sufficient to use a WOServletContext because
the userInfo dictionary from the WORequest is null by default.
I'm working with WebObjects 5.3 (without Wonder). Am I in the right
way? if not, what have I to do?
Matthieu Segret
_______________________________________________
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