Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

JSP forward POST requests to new window
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!!


Report this thread to moderator Post Follow-up to this message
Old Post
jrefactors@hotmail.com
12-29-04 08:58 AM


Re: JSP forward POST requests to new window
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

Report this thread to moderator Post Follow-up to this message
Old Post
Andrew Thompson
12-29-04 08:58 AM


Re: JSP forward POST requests to new window
"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.



Report this thread to moderator Post Follow-up to this message
Old Post
Ryan Stewart
12-29-04 09:00 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Java Help archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 08:45 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.