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

¹ØÓÚjspµÄһЩСÎÊÌâ - Web ¿ª·¢ / JavaScript

ÎÊÌâ1.
 ÈçºÎͨ¹ýRandomAccessFileÀàµÄseek()·½·¨½«Ö¸ÕëÒƶ¯µ½Îļþĩ⣬ÔÙÓÃwriteChars(String s)½«Êý¾ÝдÈëij¸öÎĵµÎļþ
ÎÊÌâ2.
 StringTokenizerÊÇʲô¶«Î÷£¬¸ÉÂïÓõģ¿

  ÓÉÓÚСµÜ³õѧjsp£¬¶ÔºÜ¶à¶«Î÷¶¼²»¶®£¬Âé·³´ó¸ç´ó½ãϸÐĽâ´ð£¡Ð»Ð»@£¡
 {{


Ïà¹ØÎÊ´ð£º

jspÔõô»ñµÃÒ³ÃæµÄÍêÕûµØÖ·

°üÀ¨²ÎÊý
String path = request.getContextPath();
String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/"; ......

JSP´æÈëÊý¾Ý¿â

ÎÒÊÇÓÃSTRUTS £¬×öÁËÒ»¸öJSPÒ³Ã棬Ìá½»ºóûÓдæÈëÊý¾Ý¿â¡£
JSP´úÂëÈçÏ£º
aa.jsp´úÂë
<%@ page contentType="text/html;charset=gb2312" language="java"%>
<%@ taglib uri=" ......

JSP ¶à±í¹ØÁªÎÊÌâ

´ó¼ÒºÃ,ÎÒÏÖÔÚÓиöÏîÄ¿,³öÏֺܶà¶à±í¹ØÁªµÄÇé¿ö,ÄÇÎÒÔÚListÖÐÒªÏÔʾµÄÄÚÈÝÊǸù¾Ýÿ¸ö²éѯÓï¾äµÄ½á¹ûÀ´È·¶¨ÁеÄÊýÁ¿.
±ÈÈç:
Óû§ID,Óû§ÐÕÃû,²¿ÃÅÃû,ÊÇ·ñÍ£ÓÃ
1.      ÕÅÈý    ²Æ ......

JSPÖÐÔËÐÐJavabean³ö´íÎÊÌâ

ÎÒ°ÑjavabeanµÄÔ´´úÂëSetGetPropertytest.Java·ÅÔÚC:\tomcat\webapps\mywork\WEB-

INF\classes\comÖÐ ÊDz»ÊÇÎҵİü´´½¨´íÁË»¹ÊÇ£¿ÒªÊǽ¨´íÁË,Ë­ÄܸæËßÎÒÔõô½¨Âð? лл´ó¼Ò

Ç°À´°ï棬ͬʱף´ó¼ÒÖÐÇï¿ ......

JSPÒ³Ãæ±íµ¥Ìá½»ÎÊÌ⣿

<script language="javaScript">
function select()
{
document.selectpages.selectnum.value=document.selectpages.selectpage.value;
document.selectpages.submit();
}
&l ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ