Solved

how to display popup using struts

Posted on 2006-11-30
4
1,180 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
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java cigar challenge 58 214
Best practices to work on a spring MVC project 1 126
login jsp example 24 68
jsp insert to database example 2 47
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Networking for the cloud era with simplified SD-WAN cloud connectivity.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 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