Open popup from JSP - Servlet ??

D

Daku

Could some Java guru please help ?? I have
a JSP, from inside which of which I do a POST to a Servlet, which then
does some operations inside its 'doPost' method and at the end
dynamically generates a Web page. Currently,
this page is rendered inside a frame. How do I
make the page be rendered inside a popup window ? Any hints,
suggestions would be of
immense value - thanks in advance for your
help.
 
T

Tim Slattery

Daku said:
Could some Java guru please help ?? I have
a JSP, from inside which of which I do a POST to a Servlet, which then
does some operations inside its 'doPost' method and at the end
dynamically generates a Web page. Currently,
this page is rendered inside a frame. How do I
make the page be rendered inside a popup window ?

It's an HTML question: use the "target" property in your <form...>
tag:

<form action="http://something.com/somefile" method="post"
target="_blank">
 
A

Arne Vajhøj

Could some Java guru please help ?? I have
a JSP, from inside which of which I do a POST to a Servlet, which then
does some operations inside its 'doPost' method and at the end
dynamically generates a Web page. Currently,
this page is rendered inside a frame. How do I
make the page be rendered inside a popup window ? Any hints,
suggestions would be of

The question is neither JSP nor servlet related. This
is a pure HTML and/or JavaScript question.

I suspect that the "modern" way of doing with be
an AJAX style post and have the result being displayed
in a popup.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top