Displaying PDF files using servlets

J

jai

I am trying to display a pdf file using a JSP. The problem is that it
displays the files that have the content type set to text/plain but
do not opens the files that have the content type application/*. I
mean it can be a pdf/msword.


Any hints as to what is wrong. I am running this on WAS server.

-jai
 
A

Andrew Thompson

I am trying to display a pdf file using a JSP. The problem is that it

It? What it? What is the browser (make,
version and OS) are you using?
displays the files that have the content type set to text/plain but
do not opens the files that have the content type application/*.

Do you mean 'application/pdf'?
I mean it can be a pdf/msword.

I do not know what that means. I do not think
there is any content type of 'pdf/msword'.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top