aspose file tools
The moose likes JSP and the fly likes Access the clients temp folder. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply 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: 362
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: 14491
    
    7

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Access the clients temp folder.
 
Similar Threads
problems with session bean deployment
Read files from client machines
Getting the client to start a NEW browser window at a specific URL
Using XEP Processor within EJB App !?
/tmp directory