Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java SpringWeb流不工作_Java_Spring_Spring Webflow_Cas_Spring Webflow 2 - Fatal编程技术网

Java SpringWeb流不工作

Java SpringWeb流不工作,java,spring,spring-webflow,cas,spring-webflow-2,Java,Spring,Spring Webflow,Cas,Spring Webflow 2,我已将注销流定义为: <flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-web

我已将注销流定义为:

<flow xmlns="http://www.springframework.org/schema/webflow"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow.xsd">

<view-state id="casLogoutPopup" view="casLogoutApplicationsPopup_new"> 
    <transition on="ok" to="test" />
    <transition on="cancel" to="test2" />
</view-state>

<view-state id="test" view="casLogoutView" />
<view-state id="test2" view="casLoginView" />

这是我的jsp文件“casLogoutApplicationsPopup\u new.jsp”,在从浏览器访问注销时显示

<form>
    <input type="hidden" name="execution" value="${flowExecutionKey}" />
    <input class="btn_submit" type="submit" name="_eventId_ok" accesskey="o" value="OK" />
    <input class="btn_submit" type="submit" style="float: right" name="_eventId_cancel" accesskey="c" value="CANCEL"/>
</form>


问题是,我无法在单击“确定/取消”按钮时启动“测试”web流。

尝试操作属性中的执行url:

<form action="${flowExecutionUrl}">
    <input class="btn_submit" type="submit" name="_eventId_ok" accesskey="o" value="OK" />
    <input class="btn_submit" type="submit" style="float: right" name="_eventId_cancel" accesskey="c" value="CANCEL"/>
</form>

尝试操作属性中的执行url:

<form action="${flowExecutionUrl}">
    <input class="btn_submit" type="submit" name="_eventId_ok" accesskey="o" value="OK" />
    <input class="btn_submit" type="submit" style="float: right" name="_eventId_cancel" accesskey="c" value="CANCEL"/>
</form>


这可能是一个重复的问题。查看否处的答案,在该流程中,两个转换都进入了结束状态,但在这里我甚至无法捕获单击事件您没有使用Spring
form:form
form:input
标记?这可能是一个重复的问题。查看否处的答案,在该流程中,两个转换都进入了结束状态,但在这里我甚至无法捕获单击事件您没有使用Spring
form:form
form:input
标记吗?