亚洲一区精品自拍_2021年国内精品久久_男同十八禁gv在线观看_免费观看a级性爱黄片

Article / 文章中心

jsp文件的請求是如何被服務(wù)器的JSP容器轉(zhuǎn)換成靜態(tài)網(wǎng)頁的

發(fā)布時間:2021-12-06 點(diǎn)擊數(shù):750

新建一個Servlet:

image.png選擇Run as Server:

image.png我的Apache Tomcat server的配置:

image.pngtree /F命令的顯示結(jié)果:

image.png最重要的是HelloServlet.class:

jerryjsp文件夾下的web.xml:

<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">  <display-name>jerryjsp</display-name>  <welcome-file-list>  <welcome-file>index.html</welcome-file>  <welcome-file>index.htm</welcome-file>  <welcome-file>index.jsp</welcome-file>  <welcome-file>default.html</welcome-file>  <welcome-file>default.htm</welcome-file>  <welcome-file>default.jsp</welcome-file>  </welcome-file-list> </web-app>