In my application i have to upload a file and view the same.
I am uploading a file presently at a different location from the server.
While trying to open that file using window.open, it throws a javascript error "Access is denied". I was suggested to upload under ROOT so that I can view from the same location. But I am using JBOSS. where I am unable to locate the root folder.
Kindly suggest me where to upload the file and how to view the file with some examples.
Thanks in advance