wkeyuan / DWSurvey

Survey System. 最好用的开源问卷调查系统、表单系统。

Home Page:http://www.diaowen.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于调查问卷服务器地址跳转

MarkDanile opened this issue · comments

请问下:从mysql数据库中拿到的地址:
WEB-INF/wjHtml/2017/11/30/40284a81600bf0f801600c1617e70001.html
然后开始跳转,
if (directory != null) { surveyId = directory.getId(); String filterStatus = filterStatus(directory, request); if (filterStatus != null) { return filterStatus; } if (HttpRequestDeviceUtils.isMobileDevice(request)) { return RESPONSE_MOBILE; } else { String htmlPath = directory.getHtmlPath(); request.getRequestDispatcher("/" + htmlPath).forward(request, response); } }
我查看到:urlrewrite.xml .并没有对这个地址匹配
<rule> <from>/resp(.*)/(.*)/(.*)/(.*).html</from> <to>/nosm/response!input.action?year=$1&amp;month=$2&amp;day=$3&amp;parentId=$4</to> </rule> <rule> <from>/wenjuan/(.*).html</from> <to>/response.action?sid=$1</to> </rule>
我的问题是:本项目是哪一个action最终响应,这个流程匹配是如何的?

有答案吗

/dwsurvey/(.*).html /dws-answer.action?sid=$1