第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

我的jsp頁面怎么沒有打開呢?

web.xml

<?xml?version="1.0"?encoding="UTF-8"?>
<web-app?version="2.4"?xmlns="http://java.sun.com/xml/ns/j2ee"
????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
????xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee?
??????http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">


<welcome-file-list>
????<welcome-file>index.jsp</welcome-file>
</welcome-file-list>

????<filter>
????????<filter-name>FirstFilter</filter-name>
????????<filter-class>com.imooc.filter.FirstFilter</filter-class>
????</filter>
????<filter-mapping>
????????<filter-name>FirstFilter</filter-name>
????????<!--?/*代表了所有連接,如果是index前綴的,可以寫成/index*?-->
?????????<url-pattern>/*</url-pattern>?
????</filter-mapping>
</web-app>

index.jsp

<%@?page?language="java"?import="java.util.*"?pageEncoding="UTF-8"%>
<%
String?path?=?request.getContextPath();
String?basePath?=?request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE?HTML?PUBLIC?"-//W3C//DTD?HTML?4.01?Transitional//EN">
<html>
??<head>
????<base?href="<%=basePath%>">
????
????<title>My?JSP?'index.jsp'?starting?page</title>
????<meta?http-equiv="pragma"?content="no-cache">
????<meta?http-equiv="cache-control"?content="no-cache">
????<meta?http-equiv="expires"?content="0">????
????<meta?http-equiv="keywords"?content="keyword1,keyword2,keyword3">
????<meta?http-equiv="description"?content="This?is?my?page">
????<!--
????<link?rel="stylesheet"?type="text/css"?href="styles.css">
????-->
??</head>
??
??<body>
????This?is?my?JSP?page.?<br>
????<%
????System.out.println("處理過程完成");
?????%>
??</body>
</html>


正在回答

1 回答

原來是我沒在doFilter方法里寫:arg2.doFilter(arg0, arg1);

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

我的jsp頁面怎么沒有打開呢?

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號