aspose file tools*
The moose likes Portals and Portlets and the fly likes Redirect to a page in portlet doView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Redirect to a page in portlet doView" Watch "Redirect to a page in portlet doView" New topic
Author

Redirect to a page in portlet doView

Lucille Osana
Greenhorn

Joined: Jan 04, 2012
Posts: 3
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

Joined: Jan 26, 2012
Posts: 5
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

Joined: Jan 04, 2012
Posts: 3
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

Joined: Jul 26, 2007
Posts: 10403
    
    8

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Lucille Osana
Greenhorn

Joined: Jan 04, 2012
Posts: 3
Thanks Maneesh..
 
 
subject: Redirect to a page in portlet doView