Re: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Michael McGrady
Jerry, the redirect is just a url to a new resource of some sort, usually a response. The simple answer to your question is to put whatever you want in the response object to which the user is redirected. If, however, whatever you want to provide in the response object was somehow in the init

Re: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Craig McClanahan
Jerry Jalenak wrote: OK - I can see how using cookies in this case is less than desirable (thanks Craig) So, am I just screwed? The problem with returning data on the query string is that I can easily exceed the 2k limit; using session variables won't work either because I can be called from

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Shyam A
496 > > [EMAIL PROTECTED] > > > > -Original Message- > > From: Craig McClanahan > [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 29, 2004 8:52 PM > > To: Struts Users Mailing List > > Subject: Re: [OT] request object w/ > response.sendRed

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Jerry Jalenak
owe [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 30, 2004 10:08 AM > To: Struts Users Mailing List > Subject: Re: [OT] request object w/ response.sendRedirect > > > Ah i see the problem now.. > > I think one of the suggestions was have a database in between, sounds

Re: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Mark Lowe
Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:40 AM To: Struts Users Mailing List Subject: Re: [OT] request object w/ response.sendRedirect Okay .. And are both the containers running the same stuff? Or different applications? On 30 Mar 2004, at 17:35, Jerry

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Jerry Jalenak
Web Publishing > > LabOne, Inc. > > 10101 Renner Blvd. > > Lenexa, KS 66219 > > (913) 577-1496 > > > > [EMAIL PROTECTED] > > > > > >> -Original Message- > >> From: Mark Lowe [mailto:[EMAIL PROTECTED] > >> Sent: Tuesd

Re: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Mark Lowe
Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:29 AM To: Struts Users Mailing List Subject: Re: [OT] request object w/ response.sendRedirect What version of tomcat are you running? On 30 Mar 2004, at 16:56, Menke, John wrote: store information in a db that both

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Jerry Jalenak
r Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] > -Original Message- > From: Larry Meadors [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 30, 2004 9:31 AM > To: [EMAIL PROTECTED] > Subject: RE: [OT] request object w/ response.sendRedirect > > > >

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Jerry Jalenak
st > Subject: Re: [OT] request object w/ response.sendRedirect > > > What version of tomcat are you running? > > > On 30 Mar 2004, at 16:56, Menke, John wrote: > > > store information in a db that both webapps have access to. > > > > -Origin

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Menke, John
>>Hey! that was my idea! ;-) +1 to Larry's idea :) sorry didn't read the thread :) -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 10:31 AM To: [EMAIL PROTECTED] Subject: RE: [OT] request object w/ response.sendRedir

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Larry Meadors
>>> [EMAIL PROTECTED] 03/30/04 7:56 AM >>> > store information in a db that both webapps have access to. Hey! that was my idea! ;-) Another option someone else mentioned was to create a form in a jsp that does a post submit to the page you are redirecting to using javascript. I think those are

Re: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Mark Lowe
7; Subject: RE: [OT] request object w/ response.sendRedirect OK - I can see how using cookies in this case is less than desirable (thanks Craig) So, am I just screwed? The problem with returning data on the query string is that I can easily exceed the 2k limit; using session variables

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Menke, John
store information in a db that both webapps have access to. -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 30, 2004 9:45 AM To: 'Struts Users Mailing List' Subject: RE: [OT] request object w/ response.sendRedirect OK - I can see how usi

RE: [OT] request object w/ response.sendRedirect

2004-03-30 Thread Jerry Jalenak
96 [EMAIL PROTECTED] > -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Monday, March 29, 2004 8:52 PM > To: Struts Users Mailing List > Subject: Re: [OT] request object w/ response.sendRedirect > > > Jerry Jalenak wrote: > &g

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Craig McClanahan
Jerry Jalenak wrote: I had headed down the cookie path in the past 1/2 hour or so. Craig - can you elaborate on the potential problems of using cookies across hosts? In order for this to work, your "from" machine is going to have to create a cookie that looks like it came from the "to" mac

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Jerry Jalenak
] > -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Monday, March 29, 2004 3:28 PM > To: Struts Users Mailing List > Subject: Re: [OT] request object w/ response.sendRedirect > > > Larry Meadors wrote: > > >But from an earlier

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Craig McClanahan
Larry Meadors wrote: But from an earlier message, the request may be going to a different server - potentially even a non-java one. [EMAIL PROTECTED] 03/29/04 2:15 PM >>> Bill Siggelkow wrote: Hmm ... well, the actual new request is generated by the browser when it processes the "

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Hookom, Jacob
:21 PM To: [EMAIL PROTECTED] Subject: Re: [OT] request object w/ response.sendRedirect But from an earlier message, the request may be going to a different server - potentially even a non-java one. >>> [EMAIL PROTECTED] 03/29/04 2:15 PM >>> Bill Siggelkow wrote: > Hmm ...

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Larry Meadors
But from an earlier message, the request may be going to a different server - potentially even a non-java one. >>> [EMAIL PROTECTED] 03/29/04 2:15 PM >>> Bill Siggelkow wrote: > Hmm ... well, the actual new request is generated by the browser when > it processes the "redirect" response. You sho

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Craig McClanahan
Bill Siggelkow wrote: Hmm ... well, the actual new request is generated by the browser when it processes the "redirect" response. You should be able to add parameters to the query string, however. Or, you can store the data you need later in the session. Craig ---

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Avinash Gangadharan
your objects based on a strategy which can take care of the issue. -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 11:28 AM To: [EMAIL PROTECTED] Subject: RE: [OT] request object w/ response.sendRedirect XML in the query string may work, but

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Bill Siggelkow
Hmm ... well, the actual new request is generated by the browser when it processes the "redirect" response. You should be able to add parameters to the query string, however. Jerry Jalenak wrote: All, If I remember correctly, when you use a response.sendRedirect() there is a new request create

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Larry Meadors
se of JSP /Tomcat . This has to be in the URL as Wendy suggested, I cannot think of any other ways. -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED] Sent: Monday, March 29, 2004 11:07 AM To: 'Struts Users Mailing List' Subject: RE: [OT] request object w/ respo

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Avinash Gangadharan
t; To: Struts Users Mailing List > Subject: Re: [OT] request object w/ response.sendRedirect > > > Jerry: > > Maybe you are looking for something like > request.setAttribute(String, Object)..? > > Geeta > > Jerry Jalenak wrote: > > > Wendy - > >

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Geeta Ramani
oh right, you did mention you're redirecting, didn't you.. Yuk.. Ok, since you say your objects aren't just Strings, you'll have to add it to the session and then remove it when you are done with it.. Nasty, but I don't know how else you can do what you want to do..(:( Jerry Jalenak wrote: > Doe

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Jerry Jalenak
> > > Jerry Jalenak > > Development Manager, Web Publishing > > LabOne, Inc. > > 10101 Renner Blvd. > > Lenexa, KS 66219 > > (913) 577-1496 > > > > [EMAIL PROTECTED] > > > > > -Original Message- > > > From: Wendy

Re: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Geeta Ramani
> -Original Message- > > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 29, 2004 12:38 PM > > To: Struts Users Mailing List > > Subject: RE: [OT] request object w/ response.sendRedirect > > > > > > > From: Jerry Jalenak [mai

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Jerry Jalenak
c. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Monday, March 29, 2004 12:38 PM > To: Struts Users Mailing List > Subject: RE: [OT] request object w/ response.sendRedirect &g

RE: [OT] request object w/ response.sendRedirect

2004-03-29 Thread Wendy Smoak
> From: Jerry Jalenak [mailto:[EMAIL PROTECTED] > If I remember correctly, when you use a > response.sendRedirect() there is a > new request created and passed. Actually, the browser sends the request. The redirect instructs the browser to make a new request to the server, and Tomcat (I assume)