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

Redirect to a page in portlet doView

 
Lucille Osana
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

I need to redirect a portlet to a common error page when an error occurs. Is there a way? Thank you in advance..





 
jimmy Auction
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a portal environment, an application implemented using Java Server Faces technology can be surfaced as a portlet by creating a JSF portlet. Oracle WebLogic Portal has supported the use of JSF for the implementation of portlets by developing the WLP native bridge since a standards-based bridge did not exist. Starting in WLP 10.3.2, the support for JSF portlets continues to be enhanced with the added support for the JSR-329 standards-based JSF bridge. The new JSR-329 bridge is now the default for JSF portlets which continues to leverage all of the powerful features of WLP.
 
Lucille Osana
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply but I already have a solution, and... I'm sorry but I don't think you answered my question.

here's what I did as I've also read it from other forums..
Redirecting a portlet page into another portal page can't be done inside the portlet .java file. what I did was... I placed the following code inside the jsp page.. it is a simple redirect code.
 
Maneesh Godbole
Saloon Keeper
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for sharing the solution.
In future, while posting code, please UseCodeTags I have added them for you this time. As you can see, they make the code much more easier to read and understand
 
Lucille Osana
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maneesh..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic