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

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.w3.org/1999/xhtml">
  <head>
   
    <title></title>
 <meta http-equiv="pragma" content="no-cache">
 <meta http-equiv="cache-control" content="no-cache">
 <meta http-equiv="expires" content="0">   
 <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
 <meta http-equiv="description" content="This is my page">
 <!--
 <link rel="stylesheet" type="text/css" href="styles.css">
 -->
    <link href="css/common_1.css" rel="stylesheet" type="text/css" />
   <link rel="SHORTCUT ICON" href="../favicon.ico" />
   
   <style type="text/css">
<!--
.STYLE2 {font-size: 12px}
-->
   </style>
</head>
 
  <body>
      <%
 
   String path_in = "";
   String content = "";
 
   path_in = request.getRealPath("/")+"admin"+File.separator+"manage_customer_details_edit.jsp";
 
  
   try
   {
   PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter
   (path_in)));
   writer.println(
   "<%"
   +"@ page contentType=\"text/html; charset=gbk\" language=\"java\" import=\"java.sql.*\" errorPage=\"\" %"
   +">");
   writer.println("<%"+"@ page import=\"cn.com.cxweb.pc.db.databean\" %"+">");
    writer.println("<%"+"@include file=\"const.jsp\"%"+">");
   


Ïà¹ØÎĵµ£º

OracleÊý¾Ý¿âºÍJSPÁ¬½ÓҪעÒâµÄһЩÎÊÌâ

×÷Õß: Dudu, ¡¡³ö´¦:ITר¼ÒÍøÂÛ̳,¡¡ÔðÈα༭: ³Â×Óç÷,¡¡
2009-09-18 13:00
¡¡¡¡CLOB¿ÉÓÃÓÚ´æ·Å´óÎı¾Êý¾Ý,×î¶à¿É´æ´¢4GBÊý¾Ý,ÔÚÓ¦Óÿª·¢ÖбȽϳ£¼û.javaÌṩµÄsql.ClobÀàÓëÖ®¶ÔÓ¦.ËüÌṩÁ½¸ö·½·¨À´¶ÁÈ¡ClobµÄÊý¾Ý:
¡¡¡¡ÓÃORACLE9i¡¢oracle8¡¢Óкܳ¤µÄÒ»¶Îʱ¼ä£¬ÎÒ°ÑÓÃÓÚJSPÖÐÐèҪעÒâµÄÎÊÌâÔÚÕâÀïд³öÀ´£¬½ö¹©´ó¼Ò²Î¿¼Á ......

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

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

jsp Á´½ÓOracleµÄÁ¬½Ó³ØºÍ²éѯÌøת´úÂ루´øµÇ¼£©

'-------------------------------------------------------------------ÒÔÏÂÊǵǼ´úÂë
<%@ page contentType="text/html; charset=gb2312"%>
<!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 ......

ÈçºÎÏòÒ»¸öjsp´«µÝÁ½¸öÒÔÉϵIJÎÊý

ÓÐÁ½ÖÖ´«²Î·½Ê½
Ò»¡¢get·½Ê½£º
        ÕâÖÖ·½Ê½½«²ÎÊýдÔÚurlÖУ¬¾ÙÀýÀ´Ëµ£¬Èç¹ûÄ¿±ê´«²ÎÒ³ÃæÊÇtarget.jsp,ÄÇôÔÚurlÀï¿ÉÒÔÕâôд£º
        http://..../target.jsp? <Param1> = <value1> & <Param2> = <value2> &...
    &n ......

JSP¶ÁÎļþ´úÂë

<%@ page contentType="text/html; charset=gbk" language="java" import="java.io.*" buffer="64kb" %>
      <%
 
   String path_in = "";
   String content = "";
 
   path_in = request.getRealPath("/")+"admin"+File.separator+ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ