}
// Register given conversationState into ConversationRegistry. Key will be current Http session
private void registerConversationState(HttpServletRequest req, ConversationState conversationState) {
HttpSession httpSession = req.getSession();
StateKey stateKey = new HttpSessionStateKey(httpSession);
ConversationRegistry conversationRegistry = (ConversationRegistry)getContainer().getComponentInstanceOfType(ConversationRegistry.class);
conversationRegistry.register(stateKey, conversationState);
}