JSP---调用javax.swing.JOptionPane类的对话框方法
Show an error dialog that displays the message, 'alert':JOptionPane.showMessageDialog(null, "alert", "alert", JOptionPane.ERROR_MESSAGE);
Show an internal information dialog with the message, 'information':
"information", JOptionPane.INFORMATION_MESSAGE);JOptionPane.showInternalMessageDialog(frame, "information",
Show an information panel with the options yes/no and message 'choose one':
"choose one", "choose one", JOptionPane.YES_NO_OPTION);JOptionPane.showConfirmDialog(null,