This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to show pop-ups in struts  RSS feed

 
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
Sheriff
Posts: 37230
519
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!