Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Opening .ppt file from JSP

Posted on 2002-07-11
7
558 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why my table column Id is not passed to java object? 4 44
hibernate example for saving data 19 52
What's wrong with this code? 4 26
jboss 7.1 start up error 1 35
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

856 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