htmlÖÐÉÏ´«ÎļþµÃµ½ÎļþµÄ¾ø¶Ô·¾¶£¡
HTMLÖÐʹÓÃinput type="file"ÉÏ´«Îļþʱ£¬´úÂëÖÐÖ»Äܵõ½ÎļþµÄÃû³Æ£¬¶øÓÐЩÌØÊâµÄÐèÒªÒªÇóÎÒÃDZØÐëµÃµ½ÉÏ´«ÎļþµÄ¾ø¶Ô·¾¶£¬Îª´ËÎÒÃDzÉÓÃJavascriptʵÏֵõ½ÎļþµÄ¾ø¶Ô·¾¶¡£
¾ßÌåÈçÏ¡£
Ò³Ãæ´úÂ루ֻճÌùÁ˹ؼü´úÂ룩£º
<form name="thisform" method="post"
action="<%=request.getContextPath()%>/movieManage.do" id="thisform" enctype="multipart/form-data">
<input type="file" name="theFile" onchange="document.getElementById('theFilePath').value=this.value"/>
<input type="hidden" id="theFilePath" name="theFilePath" value="">
</form>
×¢Ò⣺ҪÓÐenctype="multipart/form-data"
Action´úÂ룺
String filePath = request.getParameter("theFilePath");
filePath¼ÈÊÇÉÏ´«ÎļþµÄ¾ø¶Ô·¾¶¡£
ä¯ÀÀÆ÷ÖвâÊÔ£º
FirefoxºÍIEÖпÉÒԵõ½¾ø¶Ô·¾¶¡£
¹È¸èChromeä¯ÀÀÆ÷×îºóµÃµ½µÄÈÔÊÇÎļþÃû£¬¿ÉÄÜÊÇΪÁË°²È«¡£Ôڹȸèä¯ÀÀÆ÷ÖеÄʵÏÖÈÔÐè̽Ë÷¡£
Ïà¹ØÎĵµ£º
\webapps\test ·¾¶ÏÂThreeParams.html:
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>TreeParams</title>
</head>
<body>
<form method="get" onsubmit="return true" name="form1" action="/test/tp">
<tabl ......
aspx Éú³ÉHTML ¾²Ì¬Ò³ £ºhttp://www.cnblogs.com/ejiyuan/archive/2007/11/09/954325.html
cs Ò³£º
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
u ......
Èç¹ûÓÃwebbrowserµÄdocumentÈ¥»ñÈ¡IFrameÕâ¸ö¶ÔÏó£¬ËæºóÒ»¶¨»áµÃµ½accessdeniedµÄ´íÎó£¬ÎªÊ²Ã´£¿
ÕÒÁËһϣ¬¾Ý˵ÊDz»ÄÜ¿çÓò·ÃÎÊ...
ÖÕÓÚÓÐÒ»Ì죬ÊÔÁËһϣ¬ÔÚOnDocumentCompleteʼþÀïÃæ·µ»ØµÄdispatch¾ÍÊÇiframeµÄIHTMLWindow2¶ÔÏó£¬ÔÚÄÇÀï¿ÉÒÔ²Ù×÷ËùÓеĶÔÏó£¬È»ºó£¬ÄãÏë×öʲô¾ÍËæÄãÁË£¬²»ÖªµÀÈç¹ûÕâ¸öʱºò±£´æÁËÕâ¸öI ......
<html>
<frameset rows="10%,*">
<frame src="http://g.cn" scrolling="no">
<frameset cols="25%,*">
<frame src="http://g.cn" scrolling="no">
<frameset rows="10%,*">
<frame src="http://g.cn" scrolling="no">
......
ת×Ôhttp://www.cnblogs.com/jujusharp/archive/2009/12/20/10-Rare-Html-Tag-You-Should-Know.html
ÀïÃæÓÐЩ±ê¼Ç,»¹ÕæÊÇûÓùý,×Ô¼ºÒ²¼ÇÒ»ÏÂÁË.
ÔÎĵØÖ·:http://net.tutsplus.com/articles/web-roundups/10-rare-html-tags-you-really-should-know/
Èç½ñ,Web¿ª·¢¹¤³ÌʦÔÚѧϰºÍ¹¤×÷ÖÐÍ ......