Solved

how to display popup using struts

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

How can I display a popup using struts?

Thanks
0
Comment
Question by:wallpaperpaste
4 Comments
 
LVL 3

Accepted Solution

by:
Madhukar_Mythri earned 80 total points
Comment Utility
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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:wallpaperpaste
Comment Utility

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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now