Displaying a JSP in a pop-up window

2006-12-06 Thread Pierre Goupil
Hi, all ! wilson wong xrote : can you simply use javascript window.open("your_url_for_jsp") ? Yes, it does work. But I realize that my problem is a bit more complicated. I would like to : - open a popup when clicking on a link into a JSP (done) - which would give, as a link parameter, a

Re: Displaying a JSP in a pop-up window

2006-12-05 Thread Ed Griebel
The trick is to use the target="xx" parameter in the generated tag. Try something like this: In your jsp you will have . In your struts-config you will have http://struts.apache.org/1.2.7/userGuide/struts-html.html#link http://www.onjava.com/pub/a/onjava/2002/10/30/jakarta.html?page=3 -ed On

Displaying a JSP in a pop-up window

2006-12-05 Thread Pierre Goupil
Hello, Strusters ! My question is quite simple. As you should have guessed : is there a way, in Struts / Tomcat to display a JSP, not in the main browser window but rather in a pop-up window ? This would but great for confirm requests, errors displaying and such. Regards, Pierre -- "L'une de