Re: Open popup from JSP - Servlet ??



Daku <dakupoto@xxxxxxxxx> wrote:

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">

--
Tim Slattery
Slattery_T@xxxxxxx
http://members.cox.net/slatteryt
.



Relevant Pages

  • Re: Open popup from JSP - Servlet ??
    ... 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 ... make the page be rendered inside a popup window? ...
    (comp.lang.java.programmer)
  • Re: Seems like my servlet isnt overloading the init() method..can someone plz help?
    ... > Like I said I'm calling the servlet from my jsp. ... > call to the doPost() method as an action in a form. ... You should also never invoke methods directly on a servlet class ... You also need a servlet-mapping for each one -- the JSP ...
    (comp.lang.java.programmer)
  • Re: [OT] Which technology might I use for this web application?
    ... Can I write the server code in Java? ... output-rich purposes, Java Server Pages (JSP) is a useful technology that runs on top of servlets. ... Apache Tomcat is a popular, capable servlet container; some other containers include IBM Websphere and Bea WebLogic, and there are others. ... Some tag libraries include JSP custom tags for performing DB accesses, or you can do it directly in your own Java code. ...
    (comp.lang.java.programmer)
  • More info...anyone up for a challenge?
    ... Incase anyone is really up for a challenge on this one, ... Basically we have a frameset with date headers, nav bar etc, and the main ... content frame contains a jsp that onLoad, ... If we use the Favorites link, the log shows a GET was issued to the servlet, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: form bean and session attribute
    ... only HTML, nothing but HTML. ... the JSP *is* a servlet. ... That tag becomes Java code that moves data from the form data in the HTML to the Java bean, ...
    (comp.lang.java.help)