MyEclipseÉèÖÃjavaÎļþ×¢ÊÍ
MyEclipseÉèÖÃJSPÒ³ÃæĬÈϱàÂ뷽ʽ£º
windows(´°¿Ú)-Preferences(Ê×Ñ¡Ïî)-MyEclipse-Files & Editors-JSP-ÓÒ²àencoding:ÉèÖÃΪISO10646/Unicode(UTF-8)
MyEclipseÔÚJavaÎļþÖÐÉèÖÃ×÷Õß¡¢ÈÕÆÚµÈ˵Ã÷£º
windows(´°¿Ú)-Preferences(Ê×Ñ¡Ïî)-Java-Code Style(´úÂëÑùʽ)-Code Templates(´úÂëÄ£°æ)-ÓÒ²àComments(×¢ÊÍ)-Ñ¡ÔñTypes(ÀàÐÍ)-µã»÷edit(±à¼)-ÊäÈëÈçÏÂÐÅÏ¢
/**
* @×÷Õß Jcuckoo
* @´´½¨ÈÕÆÚ ${date}
* @°æ±¾ V 1.0
*/
µã»÷OK(È·¶¨)-Ñ¡ÖÐ×ó²àµÄ´úÂëÑùʽ-Ñ¡ÔñÓҲิѡ¿ò(Automatically add Comments for new Methods and types)(×Ô¶¯ÎªÐ·½·¨ºÍÀàÐÍÌí¼Ó×¢ÊÍ)-µã»÷Apply(Ó¦ÓÃ)-µã»÷OK(È·¶¨)
EclipseÔÚJavaÎļþÖÐÉèÖÃ×÷Õß¡¢ÈÕÆÚµÈ˵Ã÷£º
windows(´°¿Ú)-Preferences(Ê×Ñ¡Ïî)-Java-Code Style-Code Templates-ÓÒ²àComments-Ñ¡ÔñTypes-µã»÷edit(±à¼)-ÊäÈëÈçÏÂÐÅÏ¢
/**
* @×÷Õß Jcuckoo
* @´´½¨ÈÕÆÚ ${date}
* @°æ±¾ V 1.0
*/
µã»÷OK-Ñ¡ÖÐÏÂÃæµÄ¸´Ñ¡¿ò(Automatically add Comments for new Methods and types)-µã»÷Apply-µã»÷OK
Ïà¹ØÎĵµ£º
11 Ò»¸öÔ´³ÌÐòÎı¾ÎļþÒ²¿ÉÒÔº¬Óжà¸öÀ࣬µ«Ã¿¸öÎļþÖ»ÄÜÓÐÒ»¸ö¹«¹²Àà¡£
12 mainÊÇËùÓÐJavaÓ¦ÓóÌÐòÖ´ÐеÄÈë¿Ú£¬µ«²»ÊÇJavaСӦÓóÌÐòµÄÈë¿Ú¡£
mainµÄÊôÐÔ±ØÐëÊÇpublic static void¡£
13 ÊýÖµÀàÐͼäµÄÇ¿Èõ¹Øϵ
......
0¡¡ÒýÑÔ
´Ó¿ØÖÆ̨ÖжÁÈ¡Êý¾ÝÊÇÒ»¸ö±È½Ï³£ÓõŦÄÜ£¬ÔÚ JDK 5.0 ÒÔÇ°µÄ°æ±¾ÖеÄʵÏÖÊDZȽϸ´Ôӵģ¬ÐèÒªÊÖ¹¤´¦ÀíϵͳµÄÊäÈëÁ÷¡£ÓÐÒâ˼µÄÊÇ£¬´Ó JDK 5.0 °æ±¾¿ªÊ¼£¬ÄÜ´Ó¿ØÖÆ̨ÖÐÊäÈëÊý¾ÝµÄ·½·¨Ã¿Ôö¼ÓÒ»¸ö°æ±¾ºÅ£¬¾ÍÓÐÒ»ÖÖÐÂÔöµÄ·½·¨£¬ÕâÒ²Ôö¼ÓÁËÑ¡ÔñµÄÖÖÀ࣬¿ÉÒÔÒÀ¾Ý²»Í¬µÄÒªÇóÀ´½øÐÐÑ¡Ôñ¡£ÏÂÃæÀ´¿´Ò»Ï£¬¸÷¸ö°æ±¾ÖÐÈçºÎ´Ó¿ØÖ ......
JavaÓï·¨×ܽá - Ïß³Ì
Ò»Ìáµ½Ï̺߳ÃÏñÊǼþºÜÂé·³ºÜ¸´ÔÓµÄÊ£¬ÊÂʵÉÏȷʵÈç´Ë£¬Éæ¼°µ½Ï̵߳ıà³ÌÊǺܽ²¾¿¼¼Çɵġ£Õâ¾ÍÐèÒªÎÒÃDZ任˼ά·½Ê½£¬Á˽âÏ̻߳úÖƵıȽÏͨÓõļ¼ÇÉ£¬Ð´³ö¸ßЧµÄ¡¢²»ÒÀÀµÓÚij¸öJVMʵÏֵijÌÐòÀ´¡£±Ï¾¹½ö½ö¾ÍJava¶øÑÔ£¬¸÷¸öÐéÄâ»úµÄʵÏÖÊDz»Í¬µÄ¡£Ñ§Ï°Ïß³Ìʱ£¬×îÁîÎÒÓ¡ÏóÉî¿ÌµÄ¾ÍÊÇÄÇÖÖ²»È·¶¨ÐÔ¡¢Ã»Óб£ ......
µÚÒ»²½.н¨Ò»¸öÄ£°åÎļþÒÔ.ftl½áβ¡£
IDAO.ftl
package com.media.dao;
import java.util.List;
import com.media.bean.${model_name};
import com.media.exceptions.DAOException;
/**
* ${model_name_cn}½Ó¿Ú
*
* @author ${author}
* @link ${link}
*
* @version $Revision: 1.00 $ $Date: ......
Ò»¡¢.net Server¶Ë
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Xml.Linq;
using System.Web.Services.Description;
namespace WebApplica ......