This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Excel Download Directory location Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Excel Download Directory location" Watch "Excel Download Directory location" New topic
Author

Excel Download Directory location

siva krishnan
Greenhorn

Joined: Apr 26, 2003
Posts: 21
Hi,

I have a JSP that throws a report in the form of an excel download.
So, whenever this JSP executes it...it throws a pop-up giving the user to select either "SAVE INTO DISK" or "OPEN FROM CURRENT LOCATION".
I find that whenever user selects the OPEN FROM CURRENT LOCATION....it throws it into the C:\WINNT\TEMPORARY INTERNET FILES folder in the machine.
My question is : Is there a way we can change this setting to download to some other folder in the machine..like say C:\outputs.
Can this change be done in the JSP or is there any other alternative ?

Thanks.


Cheers<br />Siva<br />SCJP 1.4<br />SCWCD 1.3
Balan Raj
Ranch Hand

Joined: Aug 26, 2003
Posts: 74
Guess not. This is more of an OS thing. Try changing your TEMP environment variable on the OS, may be that could help.
 
jQuery in Action, 2nd edition
 
subject: Excel Download Directory location
 
Similar Threads
Two versions of Java installed
Download Component functionality using servlets
File Download - any way to prevent "Open from current location"
Excel does not open from a Jsp page..
Open file from current location