Share this page 

Pass an array by ref to a Pb component from JSP(this howto is deprecated)Tag(s): DEPRECATED


You need to use the java class STRINGSEQHolder.

This classe is generated by Jaguar during stub generation for your package. It is located in [jaguar]\html\classes\yourPackage directory.

String [] javaArray;
STRINGSEQHolder PbArray = new STRINGSEQHolder();

try{ rc = myPbComponent.getData(PbArray); }
catch(Exception e){out.println(e.toString());}

// fetch the array returned by the component
javaArray =PbArray.value;

Thanks to F. Joyal