Hi,
Is there something wrong with this piece of code?
I am trying to print a few directories existing in the local machine, but the piece of
code doesnt seem to work. However when the File is given this argument "../" then it
works!!
File dir = new File("../abc");
String[] files = dir.list( DirectoryFileFilter.INSTANCE );
for ( int i = 0; i < files.length; i++ ) {
System.out.println(files[i]);
}
Am I making a mistake?
thanks
Preetham
-----Original Message-----
From: Paul Libbrecht [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 1:09 PM
To: Jakarta Commons Users List
Subject: Re: RE : [jelly] escape quote in litteral xpath.
XML has something for this just as it has & predefined for the
ampersand, < and >... I think it's "
(note, this is predefined in XML and needs no entity-declaration, as
opposed to é)
paul
Le 15 sept. 04, � 10:14, Marc DEXET a �crit :
> Thank, but I have to explain that this expression must be in a XML
> attribut
> like
> <j:set var="myElement"
> value="${wrapper.select("/path/to/[EMAIL PROTECTED] =
> 'attribute_name']")}"/>
>
> It's pretty difficult no ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]