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

¹ØÓÚÓÃJava³ÌÐòʵÏÖ8421ÂëȨÏÞ¹ÜÀí µÚËIJ¿·Ö

×Ô¶¨Òå±êÇ©£¬±êÇ©´¦ÀíÆ÷Àࣺ
PrivilegeTag.JavaÓÐȨÏÞµÄÀàÉè¼Æ£º
package com.qizhi.tags.bean;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.servlet.jsp.tagext.TagSupport;
import com.qizhi.entity.Roleright;
import com.qizhi.web.form.UserForm;
/**
 * <qz:privilege />±íʾ´¦ÀíÆ÷Àà
 */
public class PrivilegeTag extends TagSupport
{
 private String beanName="login";
 private String scope="session";
 private String operation="none";
 
 public void setBeanName(String beanName)
 {
  this.beanName = beanName;
 }
 public void setScope(String scope)
 {
  this.scope = scope;
 }
 public void setOperation(String operation)
 { 
  this.operation = operation;
    }
 
 public int doStartTag(){
         UserForm init_bean=null;
    if (scope == null || scope.equals(""))
              return SKIP_BODY;
          else
          {
              if (scope.trim().equals("session"))
              {
                  HttpSession session = pageContext.getSession();
                  init_bean = (UserForm)session.getAttribute(beanName);
                  if (init_bean == null)
               &nbs


Ïà¹ØÎĵµ£º

javaѧϰ±Ê¼Ç

×î½üѧϰjavaµÄIO²Ù×÷£¬ÏÖÕûÀíÈçÏÂ
1   ÊäÈëÊä³ö
  javaµÄ¿â½«³ÌÐòÓëÊäÈëÓйصÄÀà¶¼´ÓInputStream¼Ì³Ð£¬ÓëÊä³öÓйصÄÀà¶¼´ÓOutStream¼Ì³Ð¡£
ÒÔǰûÓÐÕÆÎÕµÄÏà¹ØÀà  SequenceInputStream ½«Á½¸ö»ò¸ü¶àµÄinputStream ת»»³Éµ¥¸ö¶ÔÏóʹÓá£
2 ÔöÌíÊôÐÔºÍÓÐÓõĽӿÚ
×°ÊÎÆ÷ £º ÀûÓòã´Î»¯¶ÔÏó¶¯Ì¬Í¸Ã÷ ......

3²½Ñ§»áJava Socket±à³Ì

Èý²½Ñ§»áJava Socket±à³Ì(1)
http://developer.51cto.com  2009-02-04 09:45  ØýÃû  Java8  ÎÒÒªÆÀÂÛ(0)
? ÕªÒª£ºËùνsocketͨ³£Ò²³Æ×÷"Ì×½Ó×Ö"£¬ÓÃÓÚÃèÊöIPµØÖ·ºÍ¶Ë¿Ú£¬ÊÇÒ»¸öͨÐÅÁ´µÄ¾ä±ú¡£Ó¦ÓóÌÐòͨ³£Í¨¹ý"Ì×½Ó×Ö"ÏòÍøÂç·¢³öÇëÇó»òÕßÓ¦´ðÍøÂçÇëÇó¡£±¾ÎĽ«Java Socket±à³Ì·ÖΪÈý¸öѧϰ²½Ö裬ÖðÒ ......

java¼¯³É¿ª·¢¹¤¾ßEclipseÓënetbeans±È½Ï


EclipseÓënetbeansʹÓÃÆÀ²â
½çÃæ
1 ÔÚ½çÃæÉÏnetbeans±È½ÏƯÁÁ,ÓѺá£µÃ·Ö 9
2 EclipseÓкÜÇ¿µÄ¶¨ÖÆÐУ¬Ã»netbeansÃÀ¹Û¡£ÊʺϸßÊÖ µÃ·Ö 8
¹¦ÄÜ
²»×ö±È½Ï
̸һЩ¸öÈË¿´·¨:ÔÚ¹¦ÄÜÉÏEclipseÖ§³Ö´óÁ¿µÄÀ©Õ¹,²»½ö½öÊÇÒ»¸ö java¿ª·¢¹¤¾ß,¸ü¿ÉÒÔÓÃÀ´¿ª·¢ c c++
phpµÈµÈ,¹¦ÄÜ¿ÉÒÔÎÞÏÞµÄÀ©Õ¹.netbeansÒ²Ö§³ÖÀ©Õ¹,¿ÉÒ²ÏÖÔ ......

javaÖÐÊý¾Ý¿âµÄ±¸·ÝÓ뻹ԭ

Ê×ÏÈ£¬ÉèÖÃmysqlµÄ»·¾³±äÁ¿£¨ÔÚpathÖÐÌí¼Ó%MYSQL_HOME%\bin£©£¬ÖØÆôµçÄÔ¡£
ÍêÕû´úÂ룺
    /**
     * @param args
     */
    public static void main(String[] args) {
        /*
  &nbs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ