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

jsp×Ô¶¨Òå±êÇ©¿ª·¢

²»´¦ÀíÌåÄÚÈݵıêÇ©Àí½âÒ»ÏÂͼƬ1
´¦ÀíÌåÄÚÈݱêÇ©Àí½âÌáͼƬ2
1£ºJspWriter out = pageContext.getOut();
2£ºBodyContent bc = this.getBodyContent();
 3£ºString input = bc.getString();
 4£ºJspWriter out = bc.getEnclosingWriter();
²»´¦ÀíÌåÄÚÈÝ
µÚÒ»ÐдúÂëΪ²»´¦Àí±êÇ©ÌåÄÚÈÝʱÄõ½ÐèÒªµÄÊä³öµ½Ò³ÃæµÄ¶ÔÏó
´¦ÀíÌåÄÚÈÝ
µÚ¶þÐдúÂëΪ´¦Àí±êÇ©ÌáÄÚÈÝʱÄõ½°ü×°ÁËÌáÄÚÈÝÐÅÏ¢µÄ¶ÔÏó
µÚÈýÐдúÂëΪÄóöÌåÄÚÈÝ¡£
µÚËÄÐÐΪÄõ½Ò³ÃæÊä³ö¶ÔÏó¡£
Äõ½¶ÔÏóºóÓÃout.print·½·¨Êä³ö´¦ÀíºóµÄЧ¹û¸øÒ³Ãæ
±àд±ê¼ÇÅäÖÃtldÎļþ£º
<?xml version="1.0" encoding="UTF-8" ?>
<taglib 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-jsptaglibrary_2_0.xsd"
 version="2.0">
 <description>test tag</description>
 <tlib-version>1.0</tlib-version>
 <short-name>util</short-name>
 <uri>/timeTage</uri>
 <tag>
  <description>fist tag</description>
  <name>Showtime</name>
  <tag-class>com.test.tag.TimeTag</tag-class>
  <body-content>JSP</body-content>
 </tag>
 <tag>
  <description>dateformat</description>
  <name>formatTime</name>
  <tag-class>com.test.tag.TimeFormat</tag-class>
  <body-content>empty</body-content>
  <attribute>
   <name>date</name>
   <required>false</required>
   <rtexprvalue>true</rtexprvalue>
  </attribute>
  <attribute>
   <name>pattern</name>
   <required>false</required>
   <rtexprvalue>false</rtexprvalue>
  </attri


Ïà¹ØÎĵµ£º

css+jsp tagʵÏÖÊ÷ÐͲ˵¥

ÎÒÃǵĿª·¢·½Ê½ÊÇÓÉdemoÈËÔ±Íê³ÉϵͳµÄ¾²Ì¬Ò³Ã棬²¢Í¨¹ýcss½øÐÐÃÀ»¯¡£
Ϊ×î´ó¿ÉÄÜÀûÓÃÃÀ¹¤Íê³ÉµÄ¾²Ì¬Ò³Ã棬ÎÒÃÇÐèÒª¾¡Á¿¼õÉÙ¶ÔÔ­htmlµÄ³å»÷£¬Òò´ËÎÒÊ×ÏÈÏëµ½µÄFreemarker¡£
µ«ÊÇFreemarker×îÖÕÈÃÎÒ¿Õϲһ³¡£¬×îÖÕ×Ô¶¨ÒåÁËÒ»¸ö¿ÉÒԵݹéǶÌ×µÄjsp tagÀ´´ïµ½Õâ¸öÄ¿µÄ¡£
ÏÂÃæÊǽâ¾öÕâ¸öÎÊÌâµÄ¹ý³Ì£º
 
ÓÃcssÄ£°æsdmen ......

JSPÐÂÎÅ·¢²¼ÏµÍ³Ô´Âë androidgo.cn

JSPÐÂÎÅ·¢²¼ÏµÍ³androidÐж¯Íø
´ËÍøÕ¾µÄÑÝʾµØַΪ:http://www.androidgo.cn
²âÊÔÍøÖ·: http://ja00028.j01.netjsp.com
ÏÂÔصØÖ·::http://download.csdn.net/source/1653791
¼¼ÊõʵÏÖ:²ÉÓÃJSTL±êÇ©,»ùÓÚservlet,jdbc¿ª·¢¡£Ê¹ÓÃmysqlÊý¾Ý¿â¡£
Éè¼ÆÓÅÊÆ:Ò»Çм¼ÊõʹÓÃ×îµ×²ãµÄ£¬Ã»ÓÐʹÓÃssh¿ò¼Ü£¬¿ÉÒÔÔÚÈκιúÄÚµÄjs ......

jsp½¨Õ¾Àú³Ì

      Á½ÄêÇ°£¬ÔøÓÐһλǰ±²¶ÔÎÒ˵¹ý£º¿ª·¢Ò»¸öÊôÓÚÄã×Ô¼ºµÄÍøÕ¾£¬È»ºóÿÌ컨һµã¿ÕÏеÄʱ¼äÈ¥¾­ÓªÒ»Ï£¬ÖÕÓÐÒ»Ì죬Äã»á·¢¾õËüÊǷdz£ÓÐÓõġ£¸Õ¿ªÊ¼µÄʱºò£¬ÎÒûÓаÑÕâЩ»°·ÅÔÚÐÄÉÏ£¬ÂýÂýµØ£¬ÎҲŷ¢¾õÕâλǰ±²ËµµÄ»°ÊǺÜÓеÀÀíµÄ¡£¼ÙÉèÁ½ÄêÇ°¿ªÊ¼¾­ÓªÒ»¸öÍøÕ¾£¬Í¨¹ýÕâÁ½ÄêµÄÍƹãºÍÔËÓª£¬Ëµ²»¶¨µ½Ï ......

JSPдÎļþ´úÂë

<%@ page contentType="text/html; charset=gbk" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.io.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w ......

jspͨ¹ýdivʵÏÖ¸²¸Ç£¬µ¯³öд°Ìå

<body style="height:100%;">
-------------------------------------------------------------------Ò»¿ªÊ¼µÄÒ³Ãæ----------------------
fdasfsdfadf
<input name="button2" onclick="ShopConfirm('fdsaf')" value="µãÎÒ" type="button"/>
--------------------------------------------------------- ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ