|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
HTTPServletResponse objcet... I need access to it?? |
« View previous topic :: View next topic » |
Author |
Message
|
kriersd |
Posted: Wed Nov 13, 2002 8:15 am Post subject: HTTPServletResponse objcet... I need access to it?? |
|
|
 Master
Joined: 22 Jul 2002 Posts: 209 Location: IA, USA
|
Ok,
I have a question for all you Web Client guru's... How do you get at the HTTPServletResponse object. Appon a sucessful logon ("OnLogon") I would like to set some session information, however, I need access to the HTTPServeletRequest and HTTPServletResponse objects. I know that I can use the requestcontext object to retrieve the HTTPServletRequest object, but I don't see where I can get the HTTPServletResponse object.
Anyone else have this issue? _________________ Dave Krier
IBM WebSphere MQ Workflow V3.4 Solution Designer |
|
Back to top |
|
 |
vennela |
Posted: Wed Nov 13, 2002 8:30 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I am facing the same problem.
I would also like to know how to set the Output container data.
---
Venny |
|
Back to top |
|
 |
jmac |
Posted: Wed Nov 13, 2002 10:19 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Dave:
I am not sure that you can get at the ResponseObject... but I've never had a need to, generally I only have to access the HttpSession object. Perhaps if I understood a little more about what you are trying to do I could help.
Venny:
The WebClient will take any of the parameters when you return to the servlet and update the corresponding Output Container name. For instance if I have a member in the output container "Last_Name"; I might have on the screen the following:
Code: |
<input type="hidden" name="Last_Name" value="SMITH"/> |
MQWF servlet would set the value "SMITH" into the output container member "Last_Name" _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
kriersd |
Posted: Thu Nov 14, 2002 8:51 am Post subject: |
|
|
 Master
Joined: 22 Jul 2002 Posts: 209 Location: IA, USA
|
Really all I need to do is put a cookie on the client machine, however, I can't do it without using the response object. I have thought of one option. If I create myown logon servlet that does nothing but add the information needed to the response object and then redirect the request to the main workflow servlet for logon it might work.
Any ideas.. ? _________________ Dave Krier
IBM WebSphere MQ Workflow V3.4 Solution Designer |
|
Back to top |
|
 |
jmac |
Posted: Thu Nov 14, 2002 10:16 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Dave:
I would post this one to the IBM newsgroup, and maybe Wolfgang Kuhlanek (or one of the developers) will respond. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|