|
Hi all,
i have a small problem
I am trying to make a simple message board for our coworkers
in our company.
luckily there is a good example in Jason's Java servlet
programming book in chapter 10.
although it is a very complex application, i just need a
simple one with Http connection
(so i don't need to think about the RMI and the socket
connection parts)
However, the problem is : the HttpChatApplet.java file doesn't
compile.
it gives error at :
HttpChatApplet.java:57: ����
<identifier>
InputStream msg = new (InputStream)HttpMessage(url); ^ HttpChatApplet.java:57: ����(��[ InputStream msg = new (InputStream)HttpMessage(url); ^ HttpChatApplet.java:98: ���� <identifier> InputStream msg = new (InputStream)HttpMessage(url); ^ HttpChatApplet.java:98: ����(��[ InputStream msg = new (InputStream)HttpMessage(url); ^ HttpChatApplet.java:58: ����ѪR��? ��?�G��k sendGetMessage () ��m�G? in java.io.InputStream InputStream in = msg.sendGetMessage(); ^ HttpChatApplet.java:101: ����ѪR��? ��?�G��k sendPostMessage (java.util.Properties) ��m�G? in java.io.InputStream msg.sendPostMessage(props); ^ �`�N�G HttpChatApplet.java �ϥΩ���?�@?����?�ϥΪ�API�C �`�N�G �ϥ�-deprecation���s??�A�H�o��??�H���C ??? where msg is a HttpMessage class object. it looks as if there is something wrong with the HttpMessage
class which is a utiliy class bundled in orely' s utility package.
i am looking forward to your help as soon as possible
(especially Jason's :) )
can anybody give an idea about this
|
- Chat Servlet Bernhard Herzog
- Re: Chat servlet yilmaz
- Re: Chat servlet Eugene Bloss
- Re: Chat servlet yilmaz
