I believe I use the servlet context path to get the real path. I'll look
in my code and send a sample.

Sebastian Knoerzer wrote:

>thanks for your help.
>
>if i try to generate a file with my path, i always get a file length of 0.
>
>i saw that you wrote 
>java.io.File file = new java.io.File(work.getFileURIString());
>
>so my question is how you get the right path for the file (getfileuristring())?
>in my case the path is /uploads/test.pdf but that wont work.
>
>thanks for your help
>
>sebastian
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>

-- 
Justin Stanczak
Stanczak Group
812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to