2022.2.22 Java Web程序设计与案例教程(微课版)1
软件配置:
- apache-tomcat-8.5.75-windows-x86
jdk1.8.0-171(64位)✘jdk-8u202-windows-i586✔(系统已经下载)- *检测配置是否成功:*打开网址为“localhost:8080”的网页(机房电脑端口号默认为8080或8081,自己的电脑可以改为80)
- ●
MyEclipse profsssional 2013 Intaller
(最后一个√不要√)
5. ●*专业软件需要激活:*run–usercode(用户名随便取)–点击Systemld–点击Active–设置左上角的Opreate和Tools–最后显示整页的英文就ok
-
conf:配置文件,如context.xml等。
-
lib:java包。
-
logs:临时文件,每次运行软件的时间记录。
-
temp:临时文件,tomcat运行时的java包。
-
WEB-INF:基本每个文件夹都含有此文件,非常重要。
-
File–New project–Web
-
Windows–preference–MyEclipse–Servers–Tomcat–Tomcat 7.x–Launch–Enable(两个都改为允许)
-
报错:Value must be an existing directory.(值必须为已存在的目录。来自于:Tomcat 7.x server)
eclipse(端口软件为8082)
- servers已经配置好了(servers中下选项显示Tomcat)
- ●preference–server–Runtime–Environments
- ●New Pynamil Web Project–
- ●WebContent–New–New jsp file–firstTest.jsp
使用eclipse创建我的第一个jsp项目:
https://mbd.baidu.com/ug_share/mbox/4a81af9963/share?tk=8c58e2dc1f34073047f0c1dd25415e32&share_url=https%3A%2F%2Fyebd1h.smartapps.cn%2Fpages%2Fblog%2Findex%3FblogId%3D109544522%26_swebfr%3D1%26_swebFromHost%3Dbaiduboxapp