Solved

how to display popup using struts

Posted on 2006-11-30
4
1,182 Views
Last Modified: 2012-05-05

How can I display a popup using struts?

Thanks
0
Comment
Question by:wallpaperpaste
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
Madhukar_Mythri earned 80 total points
ID: 18047754
This could be done using javascript itself.

var newWind = window.open("<URL>", "<name of the window>", "Dimension string");
newWind.focus();

Google window.open to get to know more about the arguments.

HTH.
0
 
LVL 10

Assisted Solution

by:jaggernat
jaggernat earned 60 total points
ID: 18049619
function submitmeAction(action)
 {    
         if (action == 'checkout')
         {
                document.forms[0].target="_blank";    
      document.forms[0].action=" //url ";
      document.forms[0].submit();
                   }


<!-- struts button -->
<html:button  property="" styleClass="button" onclick="submitmeAction('checkout');" style="margin-left: 15em;"/>
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 60 total points
ID: 18056354
0
 

Author Comment

by:wallpaperpaste
ID: 18301536

Sorry about delay, thanks for the help ;-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exception creating bean of class 5 237
constructor overloading 2 96
maven j2ee examles 2 64
glassfish admin console 1 53
Check out this step-by-step guide for asking an anonymous question on Experts Exchange.
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question