How would I get the current local directory (or file) path?
I can do it by URI, but thats not what I'm after really. If I try File (".") it seems to give me the %SYSTEMROOT% directory atm.
Ta!
Oh, and is there an easy way of sorting String[]s but while ignoring upper/lower case?
Stupid JSP question (for the Beeeny one probably)
Moderator: Thought Police
-
- Thought Police
- Posts: 1205
- Joined: Thu Mar 14, 2002 12:11 pm
- Location: Macclesfield
- Contact:
-
- Beta-Mandarin
- Posts: 893
- Joined: Thu Sep 12, 2002 10:45 am
- Location: Bondi Beach, Sydney ;)
- Contact:
getServletContext().getRealPath("/");
Are you fiddling with that god darn file system again bwoy!
Are you fiddling with that god darn file system again bwoy!
"All our beliefs are being challenged now, and rightfully so. They're stupid." - Bill Hicks
My Travels Blog
-
- Thought Police
- Posts: 1205
- Joined: Thu Mar 14, 2002 12:11 pm
- Location: Macclesfield
- Contact:
-
- Thought Police
- Posts: 1205
- Joined: Thu Mar 14, 2002 12:11 pm
- Location: Macclesfield
- Contact:
:bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::lol::lol::lol::lol::lol::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::bg::bg::bg::bg::bg::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::bg::bg::bg::bg::bg::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::bg::bg::bg::bg::bg::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::lol::lol::lol::lol::lol::bg::bg::lol::lol::lol::lol::lol::lol::lol::bg::bg::lol::lol::lol::lol::lol::lol::bg::bg:
:bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::bg::bg::bg::bg::bg::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::lol::lol::lol::lol::lol::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::lol::lol::lol::lol::lol::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::lol::lol::lol::lol::lol::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::bg::bg::bg::bg::bg::lol::lol::bg::bg::bg::bg::bg::bg::bg::lol::lol::bg::bg::bg::bg::bg::bg::lol::lol:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::lol::lol::lol::lol::lol::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::bg::bg::bg::bg::bg::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::bg::bg::bg::bg::bg::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::bg::bg::bg::bg::bg::bg::bg::lol::bg::bg::bg::bg::bg::lol::bg::bg::lol::bg::bg::bg::bg::bg::bg::bg:
:bg::lol::lol::lol::lol::lol::lol::bg::bg::lol::lol::lol::lol::lol::lol::lol::bg::bg::lol::lol::lol::lol::lol::lol::bg::bg:
:bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg::bg:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::bg::bg::bg::bg::bg::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::lol::lol::lol::lol::lol::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::lol::lol::lol::lol::lol::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::lol::lol::lol::lol::lol::lol::lol::bg::lol::lol::lol::lol::lol::bg::lol::lol::bg::lol::lol::lol::lol::lol::lol::lol:
:lol::bg::bg::bg::bg::bg::bg::lol::lol::bg::bg::bg::bg::bg::bg::bg::lol::lol::bg::bg::bg::bg::bg::bg::lol::lol:
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol: