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

當前位置:文章中心>技術教程
公告通知 新聞快遞 技術教程 產(chǎn)品展示

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

發(fā)布時間:2021-12-06 點擊數(shù):751

新建一個Servlet:

image.png選擇Run as Server:

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

image.pngtree /F命令的顯示結果:

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>