RE: how to bean:define for a static method

2001-10-25 Thread Thinh Doan
That's exactly what I had to do.  Thank you.   Thinh -Original Message-From: John Yu [mailto:[EMAIL PROTECTED]]Sent: Thursday, October 25, 2001 1:21 AMTo: [EMAIL PROTECTED]Subject: Re: how to bean:define for a static methodAny particular reason you have to use static meth

Re: how to bean:define for a static method

2001-10-25 Thread John Yu
Any particular reason you have to use static method? Can you turn it into an instance method?   public class A {     public ArrayList getMyArray() {   //...     }     //...   } (The worst case is you have this instance method calling your static method.) In JSP,   At 01:29 pm 24-10-2001 -050

how to bean:define for a static method

2001-10-24 Thread Thinh Doan
I'd like to retrieve an ArrayList from a public static method (getMyArray) in class A to iterate through this ArrayList in my jsp. An instance of this class A is saved in session scope after successful login. in class A: public static ArrayList getMyArray(A a) { // th