This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I want to upload some files to the current directory. i.e. the directory in which the jsp's are kept. I am using Orilley file upload jar for it. Now the problem is that the upload facility takes the absolute directory path for uploading the file and i cannot get the absolute path at the server where i am executing the application. Now the question is ..is there any way by which i can get the currently executing directory in the JSP or otherwise.. can i upload some file using orilley (or any other facility ) to the current directory. -Thanks