It’s difficult to look for things that are not posted already, I’m sure I’ll start duplicating some of them, but meanwhile, I would like to start with 1 of the differences on “WebCenter Portal Framework Application“.
Create a WebCenter Portal Framework Application:
It might look like nothing has changed, but if you look closer to the files that were created you’ll notice a small change:
A new file “error404.jsp” under a “jsp” folder was created. One of the “bugs” that was happening for WebCenter Applications, was related to the problem of session expiring and getting redirected to a 404, this was because the navigation URL was only valid for authenticated users or for a specific role, example:
- This URL was only valid for Administrators that were signed in to the portal.
- Once the session expired the URL was not valid any more. Error 404 resource not Found.
- A good solution can be found in Andrejus Blog
For PS7 this is being solved from the “error404.jsp” file OTTB, this is already added to the web.xml to be taken for 404 errors:
Similar to what we had in the Filter, the first validation is to check if the user is logged in, otherwise he will be sent to the Login screen, if the user is logged in by default you’re sent to the 404 error but you can extend this if needed.