• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Choosing 'open' in file download adds [1] to filename?

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a program where the user can download the file in csv
format. I am using jsp and when the file dialog appears, if we choose open, the file name is having [1] appended to it.

And the excel worksheet has a invalid name.

Ex. File name - laksh.csv

It appears as <b>laksh[1].csv </b>
and worksheet name appears as <b>.csv]laksh[ </b>

I dont want this to happen.

I am giving the file unique name by appending the file name with current time & also tried the same by deleting all the cache.

Can anyone help me to come out of this problem?
Thanks
Regards
 
R Laksh
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a program where the user can download the file in csv
format. I am using jsp and when the file dialog appears, if we choose open, the file name is having [1] appended to it.

And the excel worksheet has a invalid name.

Ex. File name - laksh.csv

It appears as laksh[1].csv
and worksheet name appears as .csv]laksh[
I dont want this to happen.

I am giving the file unique name by appending the file name with current time & also tried the same by deleting all the cache.

Can anyone help me to come out of this problem?
Thanks
Regards
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic