|
From: <php...@li...> - 2010-03-29 16:06:38
|
Hi, > I copied the jar file in javabridge WEB-INF/lib folder. you need to copy it to your web application WEB-INF/lib directory (your JavaBridge.war zip file). If you copy it into some file-system directory, tomcat doesn't know that your web application has been updated. > The information that I received from the jar creator is that the > "prepago" is a class, but I don't know how I can use it. classes should go to the web application WEB-INF/classes directory. Please see this video for details: http://php-java-bridge.sourceforge.net/pjb/user-contributed/JavaEchoServer.gif Regards, Jost Bökemeier On 3/29/10, php...@li... <php...@li...> wrote: > Hi Jost. > > > > First, thank you for your answer. > > > > Let me tell you, that I'm a PHP programmer, and then I don't understand > very much the java concepts. > > > > Let me give you more information about my problem: > > . I copied the jar file in javabridge WEB-INF/lib folder. > > . I have another jar that I can use in the examples: exceltest.jar > > . The information that I received from the jar creator is that the > "prepago" is a class, but I don't know how I can use it. > > > > If you need more information or the jar file, please tell me. > > > > Thank you again. J > > > > PD: I'm not receiving the post answer in my email. Is it normal? > > > > > > De: Berlington Barnett [mailto:bba...@gm...] > Enviado el: domingo, 28 de marzo de 2010 19:06 > Para: 'php...@li...' > Asunto: RE: USING JAR > > > > Hello. > > > > Recently I installed JAVABRIDGE without many problem. In this moment is 100% > functionally. > > > > I receive a jar file but I can't read it, and it's very important that I > can access it. > > > > If you want that I send you the jar file, please write me and I'll send it > you. > > > > This is a sample to use it? > > prepago.Inquire_Provider_Balance(); > > > > My PHP code is: > > <?php > > require_once("Java.inc"); > > define ("JAVA_DEBUG", true); > > java_autoload("INPREPAGO_CLIENT.jar"); > > $prepago = new java("prepago"); > > ?> > > > > The result is: > > Fatal error: Uncaught [[o:Exception]:"java.lang.Exception: CreateInstance > failed: new prepago. > > > > Thank you for any help that you can give me. > > > > J > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > |