|Suthanya Doung-In wrote:
> LibraryServelet.java, it call MessageRouter and Receptionist, sending
> the parameter and recieve the resul page. That is mean i can use java
> servlet call greenstone' function for retrieve metadata as well, is it
Certainly. And I think you may already have found the classes that will
show you how to invoke those methods.
> I would like develop my program and call functions from greenstone
> by eclipse. I have to import all greenstone codes into this project?
> Last time i try to load greenstone source codes into eclipse by using
> Subscripse. It doesn't work. However i have Greenstone3 source codes in
> Hard drive already. Could i ask you how to run this codes and if i
> write the script to call greenstone function in later time, i can test
> the script as well.
As I understand it, you are not trying to modify Greenstone's own
internal code (which means you do not need to recompile any of
Greenstone's code). Instead, it looks to me like you intend to write
code that calls Greenstone functions (i.e. a client program that calls
the MessageRouter's methods). If this is indeed the case, you do not
need to import Greenstone's own source code into Eclipse. You just need
to include the gsdl3.jar file and a few other items. Please have a look at