Hi, all
Can I place servlet URL in showDocument(URL)?
The servlet takes serialized input from applet and processes doPost(),
and then generates confirmation HTML page.
The part of the applet code is the following:
URL url = new URL(servletURL);
URLConnection servletConnection = RegisterDBServlet.openConnection();
servletConnection.setDoOutput(true);
servletConnection.setDoInput(true);
servletConnection.setUseCaches (false);
servletConnection.setDefaultUseCaches(false);
servletConnection.setRequestProperty("Content-Type",
"application/octet-stream");
sendSerializedObjectToServlet(servletConnection, theObject);
getAppletContext().showDocument(url);
When I run this, I get HTML page with error message on it. Does anybody
know any workaround so I can make this work?
Thanks for you help
Robert Chung
Vertica Software, Inc.
[EMAIL PROTECTED]
___________________________________________________________________________
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