This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Different behavior for different files on save action?

 
Karn Kumar
Ranch Hand
Posts: 153
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have implemented file download functionality .

It shows different behavior for different files.

For .xls or .xlsx it gives me option to save , save as and open . But for PDF or txt files it directly opens them and never ask those options ( save , save as and open) .

I am using Struts 2.

Is it default behavior for those files or do i need to do anything at the code level to handle it ?

Thanks in advance ..

 
Karthik Jayachandran
Ranch Hand
Posts: 91
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing to do with Struts 2. Depends on your browser settings.

In Firefox, please check - Options --> Applications
 
Karn Kumar
Ranch Hand
Posts: 153
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Karthik...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic