My URL mapping is used to have a kind of “user root” in the path, you will access everything via /MyWebApp/someUser/somePage. someUser used to be stored in a @ViewScoped beans field(it’s @ConversationScoped now) because we need the information on which users pages we currently are on several pages. The error page also contains a breadcrumb with an URL back to the homepage of the current “user root”. I know that the whole use case is rather special, but we really need it that way: users are supposed to register as child of an parent user, each parent users root basically appears as its own website, it’s meant to be completely
whitelabeled. That’s what the customer wants. I hope you got the idea.
Looking at the stacktrace again, I guess Christians analysis is pretty accurate.
And in general i agree with Lincoln, i shouldn’t do it that way, but as i said the use case is rather special.
Do you play Magic?
Get TopDecked MTG, the #1 Magic App, built by players, for players. Free to use, forever.