(keitai-l) IAppli to servlet communication

From: Dibyendu <dibyendu.bhattacharya_at_eximsoft.com>
Date: 12/04/01
Message-ID: <015301c17cd1$0f632750$800a0a0a@exim.com>
Hi ,
I am trying to connect to a servlet usign my DOJA ktoolbar . I am running
Apache webserver and , tomcat as server engine .
Using Internet Explorer I am able to call the servlet , In Doja toolbar from
edit/preference/SourceURL i set http:\\localhost:80\
And network access is enabled , as well as in the JAM file UseNetwork is set
to http .
but in iAppli , when I execute the following code ...


  HttpConnection conn =
(HttpConnection)Connector.open(getSourceURL()+"servlet\TestServlet",Connecto
r.READ_WRITE)
  conn.setRequestMethod(HttpConnection.POST);
  OutputStream out = conn.openOutputStream();
  out.write(("How are you").getBytes());
  out.close();
  conn.connect();

Servlet is not connected . The Tomcat gives this following  message ....
It seems that it is not able to trace the Servlet .
Please help , what I need to do . If u have any sample iAppli to servlet
communication please give me .
I belive that there is  no problem in code , may be I need to do some
seetings .

Help....


java.io.IOException: The filename, directory name, or volume label syntax is
inc
orrect
        at java.io.Win32FileSystem.canonicalize(Native Method)
        at java.io.File.getCanonicalPath(File.java:437)
        at org.apache.tomcat.util.FileUtil.safePath(FileUtil.java:184)
        at org.apache.tomcat.core.Context.getRealPath(Context.java:797)
        at
org.apache.tomcat.request.StaticInterceptor.requestMap(StaticIntercep
tor.java:196)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.j
ava:835)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.
java:786)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758
)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processCon
nection(Ajp12ConnectionHandler.java:166)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:
416)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java
:501)
        at java.lang.Thread.run(Thread.java:484)
2001-12-04 19:54:43 - Ctx(  ): 404 R(  +
http:/localhost:8080/servlet/TestServle
t + null) null






[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Tue Dec 4 16:36:21 2001