Hi Peter,
I just try to add a "note" to the email of Shital, because what I do
is exactly the same with Shital :
0
>From the email of Willard and my work, in the servlet we need to "override
:-)
"
public void service(...) or
public void doPost(...)
If we ONLY "override" doGet(...), we will meet "FileNotFoundException" or
something else. I test it in :
a pure-NN4.7
b pure-IE5.0
1
>From my understanding, the reason of 0 is:
a in pure-NN4.7 and pure-IE5.0, perhaps we only can use
"URLConnection", because it seems that "HttpURLConnection"
is not there yet :-) .
b
[a] If we use "URLConnection" to send a "serialized Object", now
because we can not use
"HttpURLConnection.setRequestMethod(...)", so now the the
"default" is "doPost" :-) .
[b] And I think if we want to send a "serialized Object", perhaps
we can not use "doGet"(Please read several emails about
"the difference of doGet and doPost" in SERVLET-List. )
2
BTW, now I think perhaps I know the reason of "FileNotFoundException" in
"Applet-Servlet Communication" :-) , that problem "wasted" many days
of me :-) :-) , thanks for all the emails :-) :-) :-)
Bo
Sept.25, 2000
Shital Kanitkar wrote:
> I too am using Applet+ Plugin+Servlets and this is how I have managed it:
>
> Create a serialized object (by implementing Serializable) MyObj
>
> The Applet contains the foll. code:
> ...
___________________________________________________________________________
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