Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including page from another website

 
Vinodhini Mohanbabu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic