• 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

Opening MS Powerpoint in WebLogic

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using WebLogic 9.2, and have a link that is supposed to open a save dialog box for a Microsoft Powerpoint document. This worked fine with Tomcat and JRun, but now moving to WebLogic, I'm experiencing the issue.

I've looked at older posts that discuss this, but the solution they offer (adding a mime-mapping in web.xml) doesn't work. Below is the mapping I've added:

<mime-mapping>
<extension>.ppt</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>
<mime-mapping>
<extension>ppt</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>

I tried adding it with a .ppt extension and ppt extension and neither has worked. Could someone please help, because I haven't seen any solutions that work for me.

- Zach
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is "the issue"? What exactly happens? What MIME type is set for the downloaded file? (You can use a tool like the Firefox extension LiveHttpHeaders to observe this.)
 
Zach Lewis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The issue is that when I click the link (which I would like to open a save dialog box), I get a the ppt file as if it was opened as a text file, with unreadable symbols.

The unusual problem I'm having is that I have to use IE 6 to open the application. I've tried using Firefox and it works properly, but it's a company requirement that it's available through IE, version 6 and up. That's what our users use, so I need to get it to work with this browser requirement. I'm migrating the application (it's an old one) from JRun to WebLogic 9.2. The problem has just come up with that move.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case, make sure it's served with the correct MIME type, and that the browser is set to show the open/save dialog for that MIME type.
 
Zach Lewis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The breakdown has occurred somewhere with the addition of WebLogic to the equation. When running on the JRun app server, the open/save dialog opens in IE 6 without problem. I'm not sure what it is about WL that causes it to act differently.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Zach Lewis wrote:The breakdown has occurred somewhere with the addition of WebLogic to the equation. When running on the JRun app server, the open/save dialog opens in IE 6 without problem. I'm not sure what it is about WL that causes it to act differently.



Proxy both responses and find out which headers are different. That will help you solve the problem
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic