aspose file tools
The moose likes Struts and the fly likes How to show pop-ups in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How to show pop-ups in struts" Watch "How to show pop-ups in struts" New topic
Author

How to show pop-ups in struts

ajse ruku
Ranch Hand

Joined: May 06, 2005
Posts: 192
Hi all,
In my struts-config,I have the following entries.
<forward name="Password Changed" path="/forms/passwordchanged.jsp" />
<forward name="Match Failed" path="/forms/matchfailed.jsp" />
But in case of "Match Failed" I want to open a pop-up window
(like alerts)instead of showing a matchfailed.jsp page.How to do this in struts?

with regards,
Ajse
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26192
    
  66

Ajse,
You can't have to forwards going to two different places. As a workaround, repaint the page the user was on to enter the password and have a javascript pop-up with the new content.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to show pop-ups in struts
 
Similar Threads
How to find method in Sturts
Problem with Request Forwarding in Struts
Cannot find Bean under name..
Forward in an action forms reset method.
Error in struts-config.xml