Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to show pop-ups in struts

 
ajse ruku
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic