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

Java°ü³ö´í

´´½¨ÁËÁ½¸öÀ࣬µÚÒ»¸öÀà²úÉúÒ»¸ö°ü£¬µ÷ÊÔÄÜÔËÐУ»µÚ¶þ¸öÀàµ÷ÓõÚÒ»¸öÀà²úÉúµÄ°ü£¬µ«ÔËÐгö´í£¬Çë¸ßÊÖÖ¸µãÒ»ÏÂ
OutputSessionInfo.java
package ch05;

import java.io.*;
import javax.servlet.http.*;
import java.util.Date;

public class OutputSessionInfo
{
  public static void printSessionInfo(PrintWriter out,HttpSession session)
  {
      out.println(" <table>");
     
      out.println(" <tr>");
      out.println(" <td>»á»°µÄ״̬ </td>");
      if(session.isNew())
      {
        out.println(" <td>еĻỰ </td>");
       
      }
      else
      {
        out.println(" <td>¾ÉµÄ»á»° </td>");
      }
      out.println(" </tr>");
     
      out.println(" <tr>");
      out.println(" <td>»á»°ID£º </td>");
      out.println(" <td>"+session.getId()+" </td>");
      out.println(" </tr


Ïà¹ØÎÊ´ð£º

ÔÚjspÖÐÓÃsessionÔõôʵÏÖ¹ºÂò¹¦ÄÜ - Java / Web ¿ª·¢

ÎÒÏë×ö¹»¹ºÎï³µÓÃsession µ«ÊDz»ÖªµÀÔõô»ñÈ¡¹ºÂòÊýÁ¿ Ë­ÓоßÌåµÄ´úÂëÂð Ï£ÍûÄܸîÉá

ÏÂÃæÊǹºÎï³µµÄºËÐÄ´úÂë 
ÓÐÁËÕâ¸ö ¾ÍÓ¦¸ÃÄܹ»×ö³öÀ´°É
Java code:

public void doPost(HttpServletRequest reque ......

mapxtreme for java ÈçºÎÔÚͼ²ã»­Ïߣ¿

²éAPI£¬¿´µ½FeatrueFactoryÓÐÕâ¸ö·½·¨
public Feature createPolyLine(double[][] thePoints,
                              R ......

Java Lucene ÖÐimportµÄÎÊÌâ

ÎÒÏëʹÓÃLuceneµÄ´úÂ룬·¢ÏÖÒªimportÒ»ÅúÎļþ£º
============
import org.apache.lucene.analysis.standard.StandardAnalyzer;

import org.apache.lucene.document.Document;
¡­¡­¡­¡­¡­¡­
===== ......

java¶ÁȡͼƬ

Java code:

import java.awt.image.*;
import java.awt.*;
import java.io.*;
import javax.imageio.*;
public class ImageByte {
/**
* ת»»ImageÊý¾ÝΪbyteÊý×é
*
* @param image ......

java»ù´¡ÎÊÌâ

Âé·³´ó¼Ò±êÃ÷ÏÂÏÂÃæµÄ½Ó¿ÚÊÇ£ºÓÐÐòΨһ²»Öظ´µÄ»¹ÊÇÎÞÐòΨһ¿ÉÖظ´µÄÄØ
  È磺Set£º´æ´¢¶ÔÏóÔªËØ£¬²»ÐèÒª±£³ÖÌض¨Ë³Ðò£¬²»Öظ´
  List£º
  Map£º
  Vector£º
  HashSet£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ