Your delete action needs to return a forward defined for that delete action. In your struts-config for the delete action, define a <forward> element that looks like this:
... <forward name="delete-successful" path="/app/confirmation.jsp"/> ... at the end of your delete action (whatever method is being executed for the delete), you have a statement that looks like this: return actionMapping.findForward("delete-successful"); This can be conditionalized of course where you might have a forward defined for unsuccessful delete attempts. Do not include swing based code in your delete action class. In the confirmation.jsp you can then put any message/markup desired. HTH, Mike Jasnowski -----Original Message----- From: dream weaver [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 1:28 PM To: Struts Users Mailing List Subject: how to show conformation massage box on client window? Hi Thanks for your respose. Sorry, I should make my question more clear: In my CustomDialog class, I already successfully using javax.swing.JOptionPane and made a dialog box for conformation massage. But it only shows on sever's window, not on client. I think my problem is "How to forward it to a JSP?" The following code is in my delete action on sever side, this is why only shows on sever's window: final JFrame frame = new JFrame("Dialog"); final CustomDialog customDialog = new CustomDialog(frame, poForm, mapping, request, response, this); customDialog.pack(); frame.pack(); frame.setVisible(true); frame.setState(Frame.NORMAL); can any ony give me more help? Thanks! __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]