Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to make a popup window in the context of struts?

800344Apr 15 2005 — edited Dec 7 2005
Dear JSP/Struts/Javascript Gurus,
Actually I handle the case of business logic errors(e.g. search field is not valid) as follows:
In my action class, I used the "saveErrors(request, myMessage� (note that ActionError myMessage).
In my JSP page, I used <html:errors id="errors"> ... to display it.
Now I would like to have the following functionality:
if there are some errors, then produce a popup modal window to display the message and th block the actual page until the "ok" button is pressed or the popup window is closed.
Could you provide me some ideas?
Regards,
Pengyou
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2006
Added on Apr 15 2005
5 comments
450 views