Donny,
Are you sure the URL of your servlet is correct??
The two slashes after the port number can't be too promising.....
192.168.0.97:8080//servlet/PWS_Submodule
Mick
>>> Donny Philip <[EMAIL PROTECTED]> 01/18/01 03:12PM >>>
Scenario.
Applet to servlet communication.
Protocol used is http.
Jdk 1.3 used for java
Servlets on Java Web Server
Code.
--------------------------------------------------------------------------------------------------------------------------
URLConnection con = ser.openConnection();
try{
con.setRequestProperty("Content-Type","java-internal"+objs.getClass
().getName());
ObjectOutputStream out = new ObjectOutputStream(con.getOutputStream
());
out.writeObject(objs);
out.flush();
out.close();
}
catch(Exception e)
{
System.out.println("Exception is =========>"+e);
e.printStackTrace();
}
Exception is
(occours on the out.flush() statement)..
--------------------------------------------------------------------------------------------------------------------------------
Exception is =========>java.io.FileNotFoundException:
192.168.0.97:8080//servlet/PWS_Submodule
java.io.FileNotFoundException: 192.168.0.97:8080//servlet/PWS_Submodule
at com/ms/net/wininet/http/HttpInputStream.connect (HttpInputStream.java)
at com/ms/net/wininet/http/HttpInputStream.<init> (HttpInputStream.java)
at com/ms/net/wininet/http/HttpURLConnection.createInputStream
(HttpURLConnection.java)
at com/ms/net/wininet/WininetURLConnection.getInputStream
(WininetURLConnection.java)
at com/ms/net/wininet/http/HttpPostBufferStream.close (HttpPostBufferStream.java)
at java/io/ObjectOutputStream.close (ObjectOutputStream.java)
at PWG_ServletWriter.postObjects (PWG_ServletWriter.java:37)
at PWG_DatabaseProxy.exchangeDataWithServlet (PWG_DatabaseProxy.java:25)
at PWA_SubModule_Mnt.init (PWA_SubModule_Mnt.java:149)
at com/ms/applet/AppletPanel.securedCall0 (AppletPanel.java)
at com/ms/applet/AppletPanel.securedCall (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java)
at com/ms/applet/AppletPanel.run (AppletPanel.java)
at java/lang/Thread.run (Thread.java)
Could you pls help me out
thanks and regards
Donny.
___________________________________________________________________________
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
*******************************************************************
The information contained in this email and any files attached may
be confidential information to the intended recipient and may be
the subject of legal privilege or public interest immunity.
If you are not the intended recipient, any use, disclosure or
copying is unauthorised.
If you have received this document in error please telephone
+61 2 6243 5666.
*******************************************************************
This footnote also confirms that this email message has been swept
by MIMEsweeper for the presence of computer viruses.
*******************************************************************
___________________________________________________________________________
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