Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Open a PDF book(Open a PDF from the browser)
Open a PDF book [message #530142] Wed, 28 April 2010 16:03 Go to next message
Dhinesh is currently offline DhineshFriend
Messages: 10
Registered: January 2010
Junior Member

Hi,

I need to open a PDF book from the browser.

I have the book in the following location:

"d:\books\test_book.pdf"....

If i directly give the absoulte path, i am able to view it in my machine. BUt other wont be able to do view it.

Could you pls let me know a way, so that other can also be able to view it. How should I change my implementation?


Many Thanks.
Dhinesh.M
Re: Open a PDF book [message #530146 is a reply to message #530142] Wed, 28 April 2010 16:20 Go to previous messageGo to next message
Austin Riddle is currently offline Austin RiddleFriend
Messages: 128
Registered: July 2009
Senior Member
Dhinesh,

Please see the RAP FAQ regarding the download handler:

http://wiki.eclipse.org/RAP/FAQ#How_to_provide_download_link .3F

Re: Open a PDF book [message #530198 is a reply to message #530142] Wed, 28 April 2010 19:17 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
- You could make it globally available by putting it onto a web server.
- You could register a resource using the equinox.http.resource extension point without having to write a servlet.
Re: Open a PDF book [message #530796 is a reply to message #530198] Sat, 01 May 2010 04:01 Go to previous messageGo to next message
Dhinesh is currently offline DhineshFriend
Messages: 10
Registered: January 2010
Junior Member

Thanks for the reply........It was useful...

But I am not able to create a WAR file out of my plug-ins.

Could you pls help me with this.... Does it have any direct way to create it or Export it?
Re: Open a PDF book [message #530974 is a reply to message #530796] Mon, 03 May 2010 08:23 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

please follow the war deployment tutorial in the RAP Developer Guide. In
your IDE with RAP Tooling: Help -> Help Content -> RAP Developer Guide
-> Advanced -> War Deployment.

Dedicated tooling for war export does not yet exist but is in the works:
http://eclipsesource.com/blogs/2010/04/11/rapequinox-war-pro ducts/

Best regards, Ralf

Dhinesh wrote:
> Thanks for the reply........It was useful...
>
> But I am not able to create a WAR file out of my plug-ins.
> Could you pls help me with this.... Does it have any direct way to
> create it or Export it?
Previous Topic:JS error on CVS update (ControlDecorator.js)
Next Topic:TableTree bug
Goto Forum:
  


Current Time: Sat Apr 20 01:05:11 GMT 2024

Powered by FUDForum. Page generated in 0.03364 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top