Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.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
Redirect Wicket重定向-无法共享链接facebook_Redirect_Wicket - Fatal编程技术网

Redirect Wicket重定向-无法共享链接facebook

Redirect Wicket重定向-无法共享链接facebook,redirect,wicket,Redirect,Wicket,我有一个奇怪的问题,其中重定向正在发生,我无法将其发布在基于slug的URL的Facebook链接上。常规URL工作正常 基于slug的用户友好URL为: example.com/webapp/poll/who-is-the-most-important-person-in-the-country-in-2014-T196 它会导致发生重定向- example.com/mysite webapp/wicket/page?1 内部。 当我在facebook上发布时,它显示“页面未找到” 但如果你点

我有一个奇怪的问题,其中重定向正在发生,我无法将其发布在基于slug的URL的Facebook链接上。常规URL工作正常

基于slug的用户友好URL为:

example.com/webapp/poll/who-is-the-most-important-person-in-the-country-in-2014-T196

它会导致发生重定向-

example.com/mysite webapp/wicket/page?1

内部。 当我在facebook上发布时,它显示“页面未找到” 但如果你点击它,它就会工作

我的问题是为什么Wicket将其重定向到“example.com/mysite webapp/Wicket/page?1”。对于非基于段塞的URL,这种情况不会发生

在Wicket应用程序中,我将其定义为- mount(新MountedMapperWithoutPageComponentInfo(“poll/${pollName}-T${pollId}”,PollDetailsPage.class))