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

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

form表單提交后,無(wú)法跳轉(zhuǎn)到對(duì)應(yīng)的jsp頁(yè)面

form表單提交后,無(wú)法跳轉(zhuǎn)到對(duì)應(yīng)的jsp頁(yè)面

白小飛o 2018-01-17 12:26:30
使用的開發(fā)工具是eclipse,項(xiàng)目的目錄結(jié)構(gòu)如下:我在“biaodan.html”中寫了一個(gè)表單,代碼如下:?<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>form</title> <link rel="stylesheet" type="text/css" href="../css/biaodan_css.css"/></head> <body> ? <div id="bod"> ? ? <br /> ? ? <div id="logo"> ? ? <h1>我們請(qǐng)求您留下自己的聯(lián)系方式</h1> ? ? </div> ? ? <div id="img"> ? ? ? <img src="../img/images/girl.png"/> ? ? </div> ? ?? ? ? <div id="content">? ? ? ? ? ? ?<div id="fm">? ? ? ? ? <form action=t58.jsp method="post"> ? ? ? ? ? ? ? <span id="font"> ? ? ? ? ? ? ? ? ? ? ? 請(qǐng)輸入您的QQ: ? ? ? ? ? ? ? </span>? ? ? ? ? ? ? ? ? <input type="text" name="qq" id="qq" value="" /> ? ? ? ? ? ? ? <input type="submit" value="提交"/> ? ? ? ? ? ? ? </form> ? ? </div> ? ? </div>? ?? ? </div> </body></html>我在“t58.jsp”中用了一個(gè)request的方法,代碼如下:<%@ page language="java" contentType="text/html; charset=ISO-8859-1"? ? pageEncoding="ISO-8859-1"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>? <head>? <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">? <title>Insert title here</title>? </head>? <body>??? ? <% String qq = request.getParameter("qq"); %>? ? 你輸入的QQ是: <% out.print(qq); %>?? </body>?</html>
查看完整描述

1 回答

?
夢(mèng)影劍魂

TA貢獻(xiàn)66條經(jīng)驗(yàn) 獲得超21個(gè)贊

? <form action=t58.jsp method="post">這個(gè)action后面的jsp頁(yè)面怎么也得加個(gè)引號(hào)啊

查看完整回答
1 反對(duì) 回復(fù) 2018-01-17
  • 1 回答
  • 1 關(guān)注
  • 2835 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

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