配置开发jdk:
jdk需要配置三类:
1,项目工程jdk
项目右键—properties-java-compiler(‘Java Build Path’选择javase 再在选择本地jdk即可) 和properties-myeclipse-project facts
2,myeclipse中jdk
window-preferences-java-compiler和window-preferences-java-Installed Jres
3,tomcat中jdk
window-preferences-myeclipse-servers-tomcat-jdk
添加外部库:
1,properties ----Java Build Path ---project -- add
2,properties --- MyEclipse --- Deployment Assembl -- add
服务器安全:
sql注入攻击,登录出做输入检查
xss攻击,前端攻击,做输入参数检测(设定参数规则)
tomcat:攻击
将tomcat不安全文件删除,
<code> server/webapps/manager server/webapps/host-manager webapps/balancer webapps/manager webapps/host-manager webapps/webdav webapps/tomcat-docs webapps/jsp-examples webapps/servlets-examples webapps/examples webapps/docs conf/tomcat-users.xml </code>
转载请注明原文地址: https://ju.6miu.com/read-1000334.html