File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes File Extenssion not showing in Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "File Extenssion not showing in Mozilla" Watch "File Extenssion not showing in Mozilla" New topic
Author

File Extenssion not showing in Mozilla

sreedhar Lackka
Ranch Hand

Joined: Jul 05, 2008
Posts: 154
Hi All,
Thanks a lot in advance.
In our J2EE application we are generating one PDF file. When we click on the link to open/save PDF it is opening one popup window what fire fox should with text/pdf. When I say "save" it is opening windows save box but File name is showing but not its extenssion same is working fine in IE.
What settings should i do to get the extenssion lilke "file1.pdf".

Please help me.

Regards,
Sree
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
How is this problem related to HTML or JavaScript?

At any way, you should specify the file name in the content disposition header.
sreedhar Lackka
Ranch Hand

Joined: Jul 05, 2008
Posts: 154
Thanks for your reply.
Yes, I am giving the file name and it is working fine but problem is with the extenssion.
In windows we have option under folder options>view>Hide file extenssion... chec box option.
If we un check we will get file extenssion while saving any file but only in IE not mozilla fire fox.
If I want to get that extenssion Do I need any special settiings or am I doing any thing wrong?

Please help me.

Reagards,
Sree
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Extenssion not showing in Mozilla