Solved

Opening .ppt file from JSP

Posted on 2002-07-11
7
547 Views
Last Modified: 2008-03-17
Hi

I have written following code in JSP
<a href "..\x.ppt">see Slide</a>

I am using Websphere Studio Application Developer v4.0
The problem is that when i click on this link in JSP, junk comes up on IE.
I have set mime type in web.xml and server-cfg.xml

Please tell me why am i getting this problem.
If any configuration is required then please tell me

Thankz
Sanjay Saluja
0
Comment
Question by:ssaluja
  • 4
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Venci75
ID: 7145567
what mime type have you set?
0
 
LVL 35

Expert Comment

by:girionis
ID: 7145573
 I am not sure if this will help but there actually two types for powerpoint. Do you have them both?

application/vnd.ms-powerpoint and application/ms-powerpoint

  Hope it helps.
0
 

Author Comment

by:ssaluja
ID: 7145584
I have both mime types.
application/vnd.ms-powerpoint and application/ms-powerpoint
Can u tell me in Websphere Studio where do i have to put them. Though i have put in web.xml(of my application) and Server-cfg.xml(of my application)
or there is any other xml where i have to specify this mime type

Thanks
Sanjay
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 35

Expert Comment

by:girionis
ID: 7145621
 Usually the mime types go to the web server's configuration files. Which web server are you using?
0
 

Author Comment

by:ssaluja
ID: 7145751
Actually the Webspehere Studio Application Developer has its own in built webserver so i am not sure about it
0
 
LVL 35

Accepted Solution

by:
girionis earned 150 total points
ID: 7145965
 I am not very familiar with WebSphere but I guess you could do it from the WebSphere Administrative Console then. Go through the Server Configuration Editor and Server Instance Editor and set the corresponding settings in the Administrative Console.

  I am not sure exactly how you can do it though. Maybe someone with proper WebSphere knowledge might be able to help you more.
0
 
LVL 35

Expert Comment

by:girionis
ID: 8917189
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to girionis

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
best (free) software to access postgres db (java) 1 32
advertisement module in core php 4 144
Java / Linux and Regular Expressions 11 69
oracle 11g 23 48
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now