- 博客(6)
- 问答 (1)
- 收藏
- 关注
原创 使用thymeleaf模板出现的问题
使用thymeleaf模板的时候,跳转页面的时候老是不成功。目标是让跳转到index.html页面。但是结果页面老是返回index。而不是跳转到index.html页面。找了半天差错,发现是注解使用的是@RestController 应该使用@Controller注解。猜测原因:@restController返回的是json格式的内容。而我想返回的是跳转页面,所以才产生错误。如果
2017-10-31 15:19:38 1390
原创 直接从别人那拷的myeclipse,到自己电脑上不能直接用
检查错误后发现需要修改两个文件MyEclipse\MyEclipse 10\myeclipse.ini-installE:\MyEclipse\MyEclipse 10-vmE:\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe-configurationE:\My
2017-10-20 12:50:44 1926
翻译 构建插件产生错误
在构建插件时提示如下错误:Reason:Description Resource Path Location Type The project was not built due to "Could not delete '解决方法:project-->clean
2017-10-20 12:48:38 291
转载 struts2如何封装具有相同名称的一组值:注意“,空格”
1.对于String类型, struts2会采用“, ”方式进行字符串的连接 注意是“,空格”。而不是只是逗号“,”。排错花了好久时间。2。对于Integer,Float、Double类型,struts2默认接收是最后一个值解决方法:使用集合接受 private List ids; 并生成他的getter和setter方法。
2017-10-11 15:30:50 260
转载 linux设置代理
export http_proxy=或:export https_proxy=要取消该设置:unset http_proxy或:unset https_proxy
2017-09-25 10:19:28 269
转载 eclipse中server name选项变灰
删除workspace中.metadata\.plugins\org.eclipse.core.runtime\.settings目录下org.eclipse.wst.server.core.prefsorg.eclipse.jst.server.tomcat.core.prefs两个文件,restart eclipse
2017-09-14 13:49:08 422
空空如也
maven创建ssh项目。提示bean错误
2017-10-09
TA创建的收藏夹 TA关注的收藏夹
TA关注的人