re: load content of directory server side Options

2010-03-28 Thread sc3sc3 .
Jeff Chimene wrote: On 03/28/2010 11:19 AM, sc3sc3 . wrote: hi i have directory with images im my war file: /war/images how can i iterate over the contents of this directory when my application starts i have to build: ListString imageNames thanks for your time sc3*2 Can you define the

Re: load content of directory server side Options

2010-03-28 Thread Chad
On the server, you can use Java (or whatever else you want). So, make an RPC call from the client to the server to get the file names. You could return a string array. On the server, it could be as easy as: public String[] getImageNames() { return new File('images').list(); } Obviously, you