Solved

Opening .ppt file from JSP

Posted on 2002-07-11
7
553 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sites similar to codingbat to improve coding hanson skills 3 49
split string containing \r\n in Java 46 43
servlet  URL Rewriting 1 36
Problem to Alipay 10 19
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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:
The viewer will learn how to implement Singleton Design Pattern in Java.

786 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