Results 1 to 5 of 5
- 10-22-2008, 06:32 PM #1
Member
- Join Date
- Jul 2008
- Posts
- 8
- Rep Power
- 0
Not able to generate excel file locally
Hi guys,
My web server & database server are on 2 different systems. I am trying to generate excel file locally but the excel is getting generated on server. Output path is
c:\\" + output + ".xls
There is no problem anywhere else in code. If a user on any system is trying to generate excel file it's getting generated on server in C drive. But the excel should generate on local system of that particular user.
Is this code fine?
\\c:\\" + output + ".xls
or
/c:\\" + output + ".xls
or something else. Anybody please let me know.
- 10-22-2008, 06:35 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
If you want to generate in the second machine, I mean on the user/client you have to do it on the user. Setting the path like above not make sense at all.
- 10-22-2008, 06:54 PM #3
Member
- Join Date
- Jul 2008
- Posts
- 8
- Rep Power
- 0
- 10-23-2008, 02:14 AM #4
Senior Member
- Join Date
- May 2008
- Location
- Makati, Philippines
- Posts
- 234
- Rep Power
- 6
Yup, that is a much better approach. Let the user Download the file or you can use FTP. ^_^
Mind only knows what lies near the heart, it alone sees the depth of the soul.
- 10-23-2008, 11:17 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Similar Threads
-
writing to a excel file from java program
By priyankabhar in forum New To JavaReplies: 6Last Post: 03-15-2012, 04:29 PM -
Generate a Class file
By Daniel in forum New To JavaReplies: 6Last Post: 04-20-2009, 05:37 AM -
Writing to excel file erasing existing formatting
By jmHoekst in forum New To JavaReplies: 1Last Post: 09-16-2008, 05:58 PM -
Generate Excel Report from a HTML table
By Sudha in forum New To JavaReplies: 0Last Post: 02-13-2008, 08:24 PM -
Generate an executable file
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:30 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks