Hi:
I use the following method to create message box in the servlet. but I got
error message on run time. "java.lang.InternalError: Can't connect to X11
window server using '3.83.164.238:0' as the value of the DISPLAY variable."
public void okBox(String msg, String FrameText)
{
Object[] message = new Object[1];
message[0] = msg;
String[] Options = { "OK" };
int result = JOptionPane.showOptionDialog(null, message, FrameText,
JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE, null, Options,
Options[0]);
System.out.println("result: " + result);
}
Do you know how get message box on the brower in the servlet.
Thanks in advance.
Dj
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html