S
Soumya
I am running a web application on Tomcat 4.1.29 which serves up pages
that have links to powerpoint files on the server. If I access the
application on a browser on the server as "http://localhost/..." and
click on the .ppt link, it opens the file correctly in powerpoint.
However, if I am on a different machine, and access the web site as
"http://server-name/..." in the browser, and click on the .ppt link,
it opens up a new browser with gibberish. In fact, if I am on the
server and access the application in a browser as
"http://server-name/..." instead of "http://localhost/...", the .ppt
link still gives me gibberish.
I have made sure I have the correct file association on my client
machine, and I have also tried adding the following to the
application's web.xml file:
<mime-mapping>
<extension>ppt</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>
That doesn't help. I am unable to figure out if the problem is on the
client browser side or the server side. Please help.
that have links to powerpoint files on the server. If I access the
application on a browser on the server as "http://localhost/..." and
click on the .ppt link, it opens the file correctly in powerpoint.
However, if I am on a different machine, and access the web site as
"http://server-name/..." in the browser, and click on the .ppt link,
it opens up a new browser with gibberish. In fact, if I am on the
server and access the application in a browser as
"http://server-name/..." instead of "http://localhost/...", the .ppt
link still gives me gibberish.
I have made sure I have the correct file association on my client
machine, and I have also tried adding the following to the
application's web.xml file:
<mime-mapping>
<extension>ppt</extension>
<mime-type>application/vnd.ms-powerpoint</mime-type>
</mime-mapping>
That doesn't help. I am unable to figure out if the problem is on the
client browser side or the server side. Please help.