Code Comments
Programming Forum and web based access to our favorite programming groups.request.getRequestDispatcher(url).forward(request,response);
will forward the POST request from previous page to the next page, but
they are on the same window.
I want to forward the POST request to a new window:
i.e.
window.open("http://localhost"+"<=url>",'url_win','menubar=no,scrollbars=no,
width=800,height=800');
Is it possible? any ideas?? thanks!!
Post Follow-up to this messageOn 28 Dec 2004 22:25:56 -0800, jrefactors@hotmail.com wrote: > request.getRequestDispatcher(url).forward(request,response); I would like to think this is a repost of "request.getRequestDispatcher(url).forward(request,response); problem" on c.l.j.p some, ..4 and a half hours ago now, taking hints from Ryan Stewart's advice to ask an actual question. Unfortunately, since you merely reposted the text, that seems unlikely. Why did you repost it? [ F'Ups set to c.l.j.help ] -- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane
Post Follow-up to this message"Andrew Thompson" <SeeMySites@www.invalid> wrote in message news:10wqdtn9sk73d.uxydks01wblt$.dlg@40tude.net... > On 28 Dec 2004 22:25:56 -0800, jrefactors@hotmail.com wrote: > > > I would like to think this is a repost of > "request.getRequestDispatcher(url).forward(request,response); problem" > on c.l.j.p some, ..4 and a half hours ago now, taking hints from Ryan > Stewart's advice to ask an actual question. Unfortunately, since you > merely reposted the text, that seems unlikely. > > Why did you repost it? > > [ F'Ups set to c.l.j.help ] > Actually, I understand this one a little better. My first answer is still the same: popups are evil. Take into account that even IE has popup blocking now. Do you really want to use a popup? If you still think so, then then next answer is: I think you're. You don't "POST to a window". A POST is a type of request from a browser to a server. Do you mean you want the response of a request to go to a different browser? Sorry, that doesn't work, and rightly so. To get the effect you seem to be searching for, you'd have to include all request parameters as part of the query string to your URL so it can send a similar request to what was already sent and get a response itself. But again, popups are very widely regarded as a Bad Idea.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.