This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Access the clients temp folder. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Access the clients temp folder." Watch "Access the clients temp folder." New topic
Author

Access the clients temp folder.

ajay dv
Greenhorn

Joined: Sep 17, 2012
Posts: 1
I'm trying to access the path of the clients temporary directory, i've tried this but it just appears to display the servers temporary directory.


Richard Tookey
Ranch Hand

Joined: Aug 27, 2012
Posts: 1035
    
  10

ajay dv wrote:I'm trying to access the path of the clients temporary directory, i've tried this but it just appears to display the servers temporary directory.




JSP execute on the server so you can't in any straightforwards manner get hold of the client's tmp directory from within your JSP. And why would you want to be able to do that since your JSP can never directly access that directory.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960
    
  19

There's a technical name for web applications that attempt to write (or read) a user's local files. Malware.

Web clients are designed to only permit local file access via the explicit manual direction of the client's operator.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access the clients temp folder.
 
Similar Threads
Read files from client machines
Getting the client to start a NEW browser window at a specific URL
problems with session bean deployment
Using XEP Processor within EJB App !?
/tmp directory