This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Including page from another website
 
It's not a secret anymore!