A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
how to link pdf files with in Jsp, to view in web browser?
Joined: Jun 19, 2013
Jun 19, 2013 06:37:54
I want to display
's in browser by using
i wrote normal <a> tag, when i run that JSP, the Anchor Text is showing with the link, but when i click that link, it is showing HTTP status -404.
Pdf's are in web-inf folder and in root directory of Project. And am giving absolute path for Anchor tag for both, but it is not showing..
I think, in pdf files, pdf name contain spaces. This space is showing on browser as %20. Because of this, it wont work.
How to remove spaces in filename, if it is so?
Please give me any idea to resolve it.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jun 19, 2013 06:45:14
404 means you are not creating the address properly. Kindly use "view source" on your browser to show an example of what your resulting link HTML looks like.
I agree. Here's the link:
subject: how to link pdf files with in Jsp, to view in web browser?
pdf in web browser
display FTP content
setting No Cache for JSP
Problem in opening PDF or FDF in Firefox?
Can I get local drives of server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015