FAQ Database Discussion Community


Spring Webflow prevent user from going back to the start of the flow after flow completes

spring,spring-webflow,spring-webflow-2
Spring Webflow prevent user from going back to the start of the flow after flow completes and the user is taken to an end state. Clicking the browser back button should take him to an error page and not to the start of the flow. Let me know if i...

GenericApplicationContext cannot be cast to WebApplicationContext : Spring Web Flow

java,spring,spring-mvc,classcastexception,spring-webflow-2
I'm trying to set up Spring Web Flow using only Java annotations in a Spring environment that also uses only Java annotations. However when I attempt to access my flow I get the following exception SEVERE: Servlet.service() for servlet [dispatcher] in context with path [/forms] threw exception [Request processing failed;...