Jump to Real's How-to Main page

Pass an array by ref to a Pb component from JSP

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


If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]