Home > Archive > Java Help > December 2004 > JSP forward POST requests to new window
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
JSP forward POST requests to new window
|
|
| jrefactors@hotmail.com 2004-12-29, 3:58 am |
| 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,wid
th=800,height=800');
Is it possible? any ideas?? thanks!!
| |
| Andrew Thompson 2004-12-29, 3:58 am |
| On 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
| |
| Ryan Stewart 2004-12-29, 4:00 pm |
| "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.
|
|
|
|
|