We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src= /i/2015/6/测试-888x666.jpg @ok ( ">>:${obj.pic.src}" ) 浏览器url成 /i/2015/6/??-888x666.jpg
若改成 @ok ( "->:${obj.pic.src}" ) 报错页面,能识别为 /i/2015/6/测试-888x666.jpg
环境tomcat 已经加上了URIEncoding="UTF=8"
The text was updated successfully, but these errors were encountered:
解决办法 String path = pic.src.trim (); path = new String ( path.getBytes ( "UTF-8" ) , "ISO8859_1" );
response.sendRedirect ( path );
Sorry, something went wrong.
7d52ffa
添加了一个urlencode, 需要转换的字符串, 用
@Ok(">>:xxxx.xxx/xx/xxx/${urlencode(obj.pic.src)}")
建议redirect那里改一下文档
wendal
No branches or pull requests
src= /i/2015/6/测试-888x666.jpg
@ok ( ">>:${obj.pic.src}" )
浏览器url成 /i/2015/6/??-888x666.jpg
若改成
@ok ( "->:${obj.pic.src}" )
报错页面,能识别为
/i/2015/6/测试-888x666.jpg
环境tomcat 已经加上了URIEncoding="UTF=8"
The text was updated successfully, but these errors were encountered: