Hi, thanks for your reply and sorry that I didn't post any jsp code. It's just because I thought that it's a general problem.
So here are my JSP's:
Code:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="cms" uri="/WEB-INF/tld/cmstags.tld" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
<head>
<title>Site title</title>
</head>
<body>
<!-- NAVIGATION -->
<jsp:include page="/includes/navigation.jsp" />
<!-- BREADCRUMB -->
<div id="breadcrumb">
<jsp:include page="/includes/breadcrumb.jsp" />
</div>
<!-- MAIN -->
<div class="center">
<!-- INCLUDE WEBFLOW -->
<jsp:include page="/flows/eventBooking" />
</div>
</body>
</html>
My webflow config file looks like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:webflow="http://www.springframework.org/schema/webflow-config"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/webflow-config
http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd">
<webflow:flow-executor id="flowExecutor" />
<webflow:flow-builder-services id="flowBuilderServices" />
<!-- The registry of executable flow definitions -->
<webflow:flow-registry id="flowRegistry" flow-builder-services="flowBuilderServices" base-path="/WEB-INF/flows">
<webflow:flow-location-pattern value="/*/*-flow.xml" />
</webflow:flow-registry>
<bean name="eventBooking" class="web.flow.MyFlowHandler" />
<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />
</beans>
I'm sure the flow is being called but the view is not being displayed at all. What could be the problem?
EDIT: if I use an iframe outside the jsp:include tag then the flow works perfectly but an iframe isn't really an element that I'd like to use because of design issues.