[opencms-dev] File path in opencms

Qi Zhang kksjtu at gmail.com
Fri Jul 15 16:14:34 CEST 2016


Hi all,

I want to upload something in the system to be download. And I wrote a
piece of JSP to handle it.

But I don't know how to get the path of the file so that I can open it with
FileInputStream.



Like in this picture, I want to put the download.jpg to be download. And
the JSP is in the same fold under "login".

Thanks a lot!

Regards,
Qi
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160715/4b348ff0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opencmsQUestion.PNG
Type: image/png
Size: 25396 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160715/4b348ff0/attachment.png>


More information about the opencms-dev mailing list