Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.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
带表达式的SpringWeb流外部重定向_Spring_Spring Webflow 2 - Fatal编程技术网

带表达式的SpringWeb流外部重定向

带表达式的SpringWeb流外部重定向,spring,spring-webflow-2,Spring,Spring Webflow 2,我试图在视图状态下使用externalRedirect重定向到服务器相对url,如下所示: <view-state id="perspectives" view="externalRedirect:serverRelative:${flowScope.url}"> </view-state> 或 而且它似乎没有计算视图属性中的表达式并重定向到此url”http://localhost:8080/selector/app/'serverRelative:“%20+

我试图在视图状态下使用externalRedirect重定向到服务器相对url,如下所示:

<view-state id="perspectives" view="externalRedirect:serverRelative:${flowScope.url}">
</view-state>


而且它似乎没有计算视图属性中的表达式并重定向到此url
”http://localhost:8080/selector/app/'serverRelative:“%20+%20flowScope.url”

我做错了什么?提前谢谢你的帮助

-奎师那

这对我起了作用

<view-state id="a"
    view="externalRedirect:contextRelative:#{flowScope.externalRedirectUrl}">

我使用的是SpringWebflow2.4.0.0版本

<view-state id="a"
    view="externalRedirect:contextRelative:#{flowScope.externalRedirectUrl}">