Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to open a PDF file in a iFrame using JSP

843838Oct 20 2005 — edited Oct 20 2005
I'm developing a EDM system and I need to upload a PDF file and later show it on the browser but in a iFrame.
as the file is not in the system directory but into server directory.
I tryed JavaScript: document.location.href="file://directory"; because after uploading i'd like to open it automatically
but it doesn't work in Windows XP SP 2.
I'd like to do that not using javaScript but JSP or servlet.

Does some one can help me. I'll be very glad
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2005
Added on Oct 20 2005
1 comment
563 views