0

Hy,

I need to get the full path of a file trough JS/Prototype and all i get is the name file.
From what I read on the web this is a security issue and it is not allowed.

But still, is there a way?

3
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by Melow
0

Hy,

I need to get the full path of a file trough JS/Prototype and all i get is the name file.
From what I read on the web this is a security issue and it is not allowed.

But still, is there a way?

The question is "where" "which file" "what context" is it a "current file" "objects file source"
What?

0

i solved the problem
i had to save the file on the server side and then read it from there to pass it to the java function

i did it with the help of

FileItem

from

import org.apache.commons.fileupload.FileItem;
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.