Why isn't configuration being activated when an error page is rendered?
Dave Alvarado
Ranch Hand
Joined: Jul 02, 2008
Posts: 388
posted
0
Hi,
I'm using Spring 3.0. I create this application scope bean in my configuration file ...
However, if the first page that I visit is my /error-pages/500.jsp page, the "bookNowObject", referenced on that error page is null. If I visit the home page of my application, and then go back and visit the error page, the bookNowObject does get defined. Why does the configuration not get activated when the first page I visit is my error page?
Why are you going directly to your error page first??? I mean wouldn't any user go to an actual page, then something else that they might do cause an error?