Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

¹ØÓÚHTML´úÂëÖÐACTIONʼþÈçºÎÖ¸¶¨servlet·¾¶

\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">
<table align="center" border="2" width="500">
<tr>
.......
web.xml ÕýÈ·ÅäÖãº
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app 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/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>TP</servlet-name>
<servlet-class>ThreeParams</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>TP</servlet-name>
<url-pattern>/tp</url-pattern>
</servlet-mapping>
</web-app>
Õâ¸öservletµÄ·¾¶Îª£ºhttp://localhost:8080/test/tp
×ܽ᣺actionÕâÀïÌîµÄ²¢²»ÊÇweb.xmlÀïµÄÓ³Éä·¾¶£¬¶øÊÇURL+web.xmlµÄÅäÖ÷¾¶¡£


Ïà¹ØÎĵµ£º

7ÖÖhtml¼ÓÃÜ·½Ê½½éÉÜ


±¾ÎÄÒ»¹²½éÉÜÁËÆßÖÖ·½·¨£º
Ò»£º×î¼òµ¥µÄ¼ÓÃܽâÃÜ
¶þ£º×ªÒå×Ö·û""µÄÃîÓÃ
Èý£ºÊ¹ÓÃMicrosoft³öÆ·µÄ½Å±¾±àÂëÆ÷Script EncoderÀ´½øÐбàÂë £¨×Ô´´¼òµ¥½âÂ룩
ËÄ£ºÈÎÒâÌí¼ÓNUL¿Õ×Ö·û£¨Ê®Áù½øÖÆ00H£© £¨×Ô´´£©
Î壺ÎÞÓÃÄÚÈÝ»ìÂÒÒÔ¼°»»ÐпոñTAB´ó·¨
Áù£º×Ôд½âÃܺ¯Êý·¨
Æߣº´íÎóµÄÀûÓà £¨×Ô´´£©
¡¡¡¡ÔÚ×öÍøҳʱ£¨ ......

HTML radioÅжÏ

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta NAME="Copyright" CONTENT="Copyright (c) 2009 LOADCOM Corporation. All Rights Reserved."> ......

¶ÁÈ¡excel£¨POI£©¡¾×ª»»Îªhtml¡¿

package test;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
import org.apache.poi.hssf.usermodel.HSSFFont;
im ......

ʲôÊÇXML¼°XMLºÍHTMLµÄÇø±ð

XML±»Éè¼ÆÓÃÀ´ÃèÊöÊý¾Ý£¬Æä½¹µãÊÇÊý¾ÝµÄÄÚÈÝ¡£
HTML±»Éè¼ÆÓÃÀ´ÏÔʾÊý¾Ý£¬Æä½¹µãÊÇÊý¾ÝµÄÍâ¹Û¡£    
Ó¦¸ÃÕÆÎյĻù´¡ÖªÊ¶£º
ÔÚÄú¼ÌÐøѧϰ֮ǰ£¬ÐèÒª¶ÔÒÔÏÂ֪ʶÓлù±¾µÄÁ˽⣺
HTML / XHTML
JavaScript or VBScript
ʲôÊÇXML?
XMLÖ¸¿ÉÀ©Õ¹±ê¼ÇÓïÑÔ£¨EXtensible Markup Language£©
XMLÊÇÒ»Ö ......

XHTMLÓëHTMLÖ®¼äµÄ7¸öÇø±ð

ÀϵĻ°ÌâÁË£¬µ«ÊÇÎÒ»¹ÊÇ´ÓÀ´Ã»ÓÐÕûÀí¹ý¡£ÕâÀïÕûÀíÒ»ÏÂ:
ÔÚXHTMLÖУ¬<html>¡¢<head>¡¢<body>¶¼ÊDZØÐèµÄ±êÇ©¡£
±ØÐëÉèÖÃ<html>±êÇ©µÄxmlnsÊôÐÔ£¬ÇÒÆäֵΪ“http://www.w3.org/1999/xhtml”¡£
ËùÓÐÔªËض¼±ØÐë½áÊø¡£ÈκÎÆðʼ±êǩҪôÓÐÒ»¸ö¶ÔÓ¦µÄ½áÊø±êÇ©£¨Èç¹ûËüÊÇÒ»¸öÈÝÆ÷µÄ»°£©£¬ÒªÃ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ