Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

RMI CodeBase?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is codebase? I have seen in the clientapplet.java source like this :
--------------------------------------------------------------
cs = (ChatServer)Naming.lookup("rmi://" + getCodeBase().getHost() + ":5050/ChatServerImpl");
--------------------------------------------------------------
I know in my applet html code, i have to write : What am i suppose to write in the codebase?
My classes are stored in side c:\html\chat\classes
My html code are inside the chat folder
My web server is http://localhost/chat
I used package eg chat.chatserverimpl etc
So my codebase shd be written as codebase="chat/" or "chat/classes"
Pls advise 'cos i kept having the class is not found...
[This message has been edited by Steven Leow (edited June 19, 2001).]
[This message has been edited by Steven Leow (edited June 19, 2001).]
[This message has been edited by Steven Leow (edited June 19, 2001).]
 
If we don't do the shopping, we won't have anything for dinner. And I've invited this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!