File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes A question on URL for tunneling - TIA ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "A question on URL for tunneling - TIA !" Watch "A question on URL for tunneling - TIA !" New topic
Author

A question on URL for tunneling - TIA !

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi all.
For input/output streams :
* on the client-side I have a TunnelLiteClient extending BaseTunnelClient.
* on the server-side I have a TunnelLiteServer extending BaseTunnelServlet.
Then I created the client proxy to take the place of the object, in this case "Math".
The proxy has the following lines of code :

Does this mean that I should reset url like this :
url = http://larryboy/RemoteMathLite/Server" ???
I don't quite see how to do it otherwise, at the moment. I would really appreciate some hints.


humanum errare est.
achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi.
At the moment, when I start the html, the java plug-in exception dialog throws this exception :
java.lang.NoClassDefFoundError: MathLiteApplet (wrong name : com/developer/Tunnel/MathLiteApplet)
I checked the CLASSPATH in /etc/profile - looks okay to me. In any case I added an extension to the classpath to lead right into the afore-mentioned directory. No effect !?!
The frustrating part for me is to find out whether the error occured when I was trying to define the URL in RemoteMathLiteClient.java or in the <APPLET...> tag of the html.
I suspect the former because the whole applet-tag reads like this :

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A question on URL for tunneling - TIA !