Solved

Pop-up window in jsp using struts <html:link tag

Posted on 2007-12-02
5
3,835 Views
Last Modified: 2013-11-24
Hello,

I need to pop-up a window, when the user clicks on link. I wanted to use the <html:link> tag from struts library.

Say the, the link name is Edit. When the user clicks on the edit link a small pop-up window with few form fields with pre-filled data and submit button should pop-up.

Can anybody provide me with a good solution? In advance, I appreciate your help.

Thanks--
Mudigonda
0
Comment
Question by:mudigondamm
  • 2
5 Comments
 
LVL 27

Expert Comment

by:mrcoffee365
ID: 20392891
The HTML to create a popup window from a link is:

<a target="_blank" href="/myfile.jsp">Popup Window</a>

You can use target="_blank" in html:link tags.
0
 

Author Comment

by:mudigondamm
ID: 20393041
I'm sorry. Actually, what I meant by pop-up is a small dialog box kind of thing. Not exactly a complete browser window using target="_blank" in the <html:link>. I'm looking for some javascript solution in jsp page using struts framework.

Anyways, I appreciate for your quick reply.

Thanks--
Madhu
0
 
LVL 27

Accepted Solution

by:
mrcoffee365 earned 125 total points
ID: 20394147
We don't integrate Javascript with Struts -- we just use Javascript in our display pages.  You might try AjaxTags:
http://ajaxtags.sourceforge.net/index.html

or the Struts menu tag lib (since menus are essentially popovers, which is what I now assume you're looking for):
http://struts-menu.sourceforge.net/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
print map entry 34 54
Javascript create file issue 4 47
Enter key on html form page 11 48
How can i get the length? 7 7
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

910 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

20 Experts available now in Live!

Get 1:1 Help Now