|
From: <php...@li...> - 2009-05-01 11:58:01
|
just guessing... have you initialized documents first?
so that getDocuments doesn't return null?
2009/4/30 <php...@li...>
> Well,
> ...............................................(code)
> .................................................
> public Collection<String> getDocuments(){ // one part of the code
> return documents;
> }
> /**
> * Returns the categories if builded.
> * @return
> */
> public ArrayList<ArrayList<String>> getKategorien(){
> return categories;
>
> }
> public String getNewNumber(){
> return "drei";
> }
> }
>
> 2. php:
> <?php
>
> require_once("http://localhost:8080/Bridge/java/Java.inc");
>
> $System = java("java.lang.System");
>
> $Ob = new java("com.SommerHaus");
>
> echo $Ob->getNewNumber();
>
> ?>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|