On 24/08/06, Mag Gam <[EMAIL PROTECTED]> wrote:
Is it possible to get Document Name, instead of its entire path?Currently, i have something like this: out.println (doc.get ("path")); // Which gives me /documents/file.txt
doc.get("path").split("/")[doc.get("path").split("/").length - 1] -- Cheers, Hasan Diwan <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]