I am trying to use an interceptor to manage control over a section of screens. The idea is for a user to step through a test with a status key as the placeholder. Once the test is completed then the status holder will be evaluated to not allow a user to get back into the test. One other caveat would be for a user who must log back into the test then the status key will allow them to directly go back to the section they last completed when they start again.
Here is the interceptor that I have been trying to get to work properly -
Did some more reading. Looks like I have been thinking about this somewhat incorrectly. prehandle appears to be the method to override since it returns "true if the execution chain should proceed with the next interceptor or the handler itself. Else, DispatcherServlet assumes that this interceptor has already dealt with the response itself." While posthandle is more for attaching stuff to the model...
I am trying to use an interceptor to manage control> over a section of screens. The idea is for a user to> step through a test with a status key as the> placeholder. Once the test is completed then the> status holder will be evaluated to not allow a user> to> get back into the test. One other caveat would be> for> a user who must log back into the test then the> status> key will allow them to directly go back to the> section> they last completed when they start again. >
Here is the interceptor that I have been trying to> get> to work properly - >
---------------------------------------------------------------------> To unsubscribe, e-mail:> users-unsubscribe-OvGvsFjCc9UiovNZN9pwmeTW4wlIGRCZ@public.gmane.org> For additional commands, e-mail:> users-help-OvGvsFjCc9UiovNZN9pwmeTW4wlIGRCZ@public.gmane.org>
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .