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

jspÉú³Éhtml¾²Ì¬Ò³Ãæ´úÂë

<%@ page contentType="text/html;charset=GBK"%>
<%@page import="java.util.*"%>
<%@page import="java.io.*" %>
<%
//ÔÚÕâÀïÈç¹ûд³É“WEB-INF\templates\template.htm”³ÌÐò»á±¨´í
 String filePath = request.getRealPath("/")+"WEB-INF/templates/template.htm";    
 out.print(filePath);
 String templateContent="";
 FileInputStream fileinputstream = new FileInputStream(filePath);//¶Áȡģ¿éÎļþ
 //int lenght = fileinputstream.available();
 byte bytes[] = new byte[1024];
 fileinputstream.read(bytes);
 fileinputstream.close();
 templateContent = new String(bytes);
 out.print("ÒÔÏÂÊÇÄ£°åÄÚÈÝ£º<br>"+templateContent+"<br> ÒÔÏÂÊÇÖû»ÒÔºóµÄhtmlÄÚÈÝ<br><hr>");
 templateContent=templateContent.replaceAll("#title#","ÎÄÕ±êÌâ");
 templateContent=templateContent.replaceAll("#author#","×÷ÕßÊÇË­");//Ìæ»»µôÄ£¿éÖÐÏàÓ¦µÄµØ·½
 templateContent=templateContent.replaceAll("#content#","ÎÄÕÂÄÚÈÝ");
 // ¸ù¾Ýʱ¼äµÃÎļþÃû
 Calendar calendar = Calendar.getInstance();
 String fileame = String.valueOf(calendar.getTimeInMillis()) +".html";
 fileame = request.getRealPath("/")+fileame;//Éú³ÉµÄhtmlÎļþ±£´æÂ·¾¶
 out.print(templateContent);
 FileOutputStream fileoutputstream = new FileOutputStream(fileame);//½¨Á¢ÎļþÊä³öÁ÷
 byte tag_bytes[] = templateContent.getBytes();
 fileoutputstream.write(tag_bytes);
 fileoutputstream.close();
%>


Ïà¹ØÎĵµ£º

HTML 5 ½Ì³Ì(Ò») ǰÑÔ

       ³¬Îı¾±ê¼ÇÓïÑÔ£¨HTML£©5 µÚÒ»´ÎÏò HTML ÖÐÒýÈëеÄÔªËØ¡£ÐÂµÄ½á¹¹ÔªËØ°üÀ¨ aside¡¢figure ºÍ section¡£ÐµÄÄÚÁªÔªËذüÀ¨ time¡¢meter ºÍ progress¡£ÐµÄÄÚÇ¶ÔªËØÓÐ video ºÍ audio¡£ÐµĽ»»¥ÔªËØÓÐ details¡¢datagrid ºÍ command¡£  
¡¡¡¡³¬Îı¾±ê¼ÇÓïÑÔ£¨HTML£©µÄ¿ª·¢µ½ ......

Ö§³Ö£¬´¿Îı¾£¬HTML£¬³¬Á´½Ó£¬¸½¼þµÄÈ«ÄÜÓʼþ·¢ËÍ×é¼þ

ÏÂÔØµØÖ·£ºhttp://download.csdn.net/source/2381400
´ËΪÓʼþ·¢ËÍ¿ª·¢×é¼þ£¬ÄÚÓи÷Ö÷Á÷³ÌÐòÓïÑÔ´úÂëʾÀý£¬²¢¸½Éú³ÉµÄexe£¬Ê¾ÀýÉú³ÉµÄexeÒà¿Éµ¥¶À×÷Ϊ¶ÀÁ¢³ÌÐòʹÓá£
Ö§³Ö ´¿Îı¾£¬HTML£¬³¬Á´½Ó£¬¸½¼þ
ÄãÊDz»ÊÇһֱΪÁËVC·¢ËÍÓʼþ·¢³î°¡£¬ÓÐÁËËü£¬°×²ËÈ«ÄÜÓʼþ·¢ËÍ×é¼þ£¬Äã¾Í¿ÉÒÔÇáËɵÄÏñµ÷ÓÃwindows apiÄÇÑùÀ´ÊµÏÖ»òVC· ......

HTML,CSS±à¼­Æ÷:Crescent Eve

Crescent Eve(http://www.kashim.com/eve/
)ÊÇÃâ·ÑµÄHTML,CSSµÄ±à¼­Æ÷.
ºÍ¼Çʱ¾ÀàËÆ,·Ç³£¼ò½à.
Ö÷ÒªÓÐÒÔÏÂ4¸ö¹¦ÄÜ
   HTMLµÄtagÊäÈëÌáʾ
   tagÊôÐÔµÄÊäÈëÌáʾ
   HTMLµÄÓï·¨¼ì²é
   HTMLÔ¤ÀÀ
Ôڱ༭HTML»­ÃæÊ±·Ç³£ÓÐÓÃ.
Crescent EveÊǷdz£Ð¡µÄÒ»¸ö±à¼­Æ÷,²Ù×÷Ò²·Ç³£¼ò ......

È¥³ýÍøÕ¾ÖÐHTML±êÇ©µÄÕýÔò±í´ïʽ

string str = a.ToString();
str = Regex.Replace(str, @"</?span[^>]*>", "", RegexOptions.IgnoreCase);
str = Regex.Replace(str, @"&#[^>]*;", "", RegexOptions.IgnoreCase);
str = Regex.Replace(str, @"</?marquee[^>]*>", "", RegexOptions.IgnoreCase);
str = Regex.Replace(str, ......

JSPÊý¾Ý¿âÁ¬½ÓÒÉÎÊ£¨Mysql£©

package com.wxpn.tutorial.db;
import java.io.IOException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.SQLWarning;
import java.sql.Statement;
import java.util.Date;
/**
 * ÃèÊö: Êý¾Ý¿âÁ¬½Ó³ØÀà
 * 
 * 
&n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ