File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Including page from another website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Including page from another website" Watch "Including page from another website" New topic
Author

Including page from another website

Vinodhini Mohanbabu
Greenhorn

Joined: Mar 12, 2011
Posts: 1
hi everyone,

I am quite new to portlets.I have a JSP with me which i need to include in my portlet.But my JSP is from another website.It is hosted on the public domain.How do i actually do it.Any help would be greatly appreciated.TIA

Vinodhini.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

You haven't said anything about the target environment - Portlet 1.0, 2.0 or vendor specific - or whether their are any restrictions on the local or remote servers.

Writing a portlet that converted a local request into a remote request and relayed the response shouldn't be hard.
Liferay also has a portlet which supplies a simple iFrame wrapper on a remote page and the portlet source may be available in the community edition. See liferay.com for details.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Including page from another website