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

´«ÖDz©¿ÍjavaÅàѵ javaweb»ù´¡Ö®±àÂë

Ò»Ö±ÒÔÀ´£¬java¶ÔÓÚÎÒ¶¼ÊÇÐÂÊÂÎ¶ÔÓÚÐÂÊÂÎïµÄ½ÓÊÜ·½Ê½Ò²Ò»Ö±Ï°¹ß´ÓdzÈëÉѭÐò½¥½ø¡£
µ«ÊǽñÌ죬ÕÅТÏêÀÏʦ¸øÎÒÃÇÉÏÁËÉú¶¯µÄÒ»¿Î£¬Ò»¸ö³ÌÐòÔ±×îÖØÒªµÄÄÜÁ¦¾ÍÊÇѧϰÄÜÁ¦£¬ÒòΪ
¼ÆËã»úÁìÓòµÄ¼¼ÊõÆä¸üг¬¿ì£¬Ä¿Ç°ËùÕÆÎÕµÄ֪ʶºÜÓпÉÄܶÌʱ¼äÄڻᱻÌÔÌ­£¬¶øÇÒ»á³öÏÖ¸üºÃ
¸ü¼ò½àµÄÓïÑÔ£¬ÄÇô¸ÃÔõôȥÕÆÎÕÄØ¡£ÕÅÀÏʦÈÏΪ£¬¶ÔÓÚÐÂÊÂÎ¿ÉÒÔÏȴÆä¿ò¼Ü£¬È»ºóÔÙÌí¼Ó
ÆäϸСµÄ²¿¼þ£¬¼´ÏȽ¨Á¢Æä˼Ï룬ȻºóʵÏÖϸ½Ú£¡£¡
¸Ð¾õµß¸²ÁË×Ô¼ºÒ»Ö±Ò»À´µÄѧϰ·½·¨£¬Äѹܴӻù´¡°àÀϱϾÍһֱǿµ÷ѧϰjava£¬±ØÐëÏȽ¨Á¢Æä˼Ï룬
¿ÉÒÔʱ¶¹¦°ë¡£
ÒÔºóµÄѧϰ¹ý³ÌÖУ¬Å¼»á³¢ÊÔÕâÖÖ·½Ê½£¬¼ÓÓ͹þ£¡
ÈçºÎ½â¾öÂÒÂëÎÊÌ⣿
Ô­Ôò£º±àÂëΨһÐÔ!
 
ÎÞÂÛÊÇÔÙ¿Í»§¶Ë£¬»¹ÊÇ·þÎñ¶Ë¡£ÎÞÂÛÊÇ·¢ËÍÊý¾Ý£¬»¹ÊǽÓÊÕÊý¾Ý¡£
Ö»Òª±£Ö¤´ÓÍ·µ½Î²¶¼ÒÔͬһÖÖ±àÂë±í±àÂ룬ÄÇô¾Í²»»á³öÏÖÂÒÂ룡
servlet³ÌÐòÈçÏ£º£¨ÔÙ³ÌÐòÀïÓÃÁËJSP£¬´¿´âÊÇΪÁËÁ·Ï°½ñÌìµÄѧϰÄÚÈÝ  ºÇºÇ.Õâ¶Î´úÂë
    ÊÇÔÙTomcat·þÎñÆ÷ÏÂÔËÐеģ©
package today.may.two;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class JspDemo extends HttpServlet {
 public void service(HttpServletRequest req, HttpServletResponse resp)
   throws ServletException, IOException {
  resp.setContentType("text/html;charset=utf-8");
  
  PrintWriter out=resp.getWriter();
  //»ñµÃÇëÇó·½Ê½
  String method=req.getMethod();
  
  //ÔÙjava³ÌÐòÀïǶÌ×JSP
  out.println("<%@ page language=\"java\"+" +
      " import=\"java.util.*\" pageEncoding=\"UTF-8\"%>");
  
  out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
  
  out.println("<html>");
  out.println("</html>");
  out.println("<body>");
  out.print("ÇëÇó·½Ê½Îª"+method+"&l


Ïà¹ØÎĵµ£º

ÓÃJava¶ÁÈ¡pdfÖеÄÊý¾Ý

ÓÃJava¼òµ¥µÄ¶ÁÈ¡pdfÎļþÖеÄÊý¾Ý£ºµÚÒ»²½£ºÏÂÔØPDFBox-0.7.2.jar¡£Ìṩһ¸öÏÂÔصØÖ·£ºhttp://pdfhome.hope.com.cn/Resource.aspx?CID=63844604-5253-4ae1- b023-258c9e324061&RID=20cd8f94-1cee-40b6-a3df-0ef024f8e0d2½âѹºó£¬°ÑlibÎļþϵÄPDFBox-0.7.2.jar£¬PDFBox-0.7.2-log4j.jar·Åµ½Äãclasspath·¾¶Ï¡££¨ÎÒ°ÑÔ´ ......

the art and science of java ¶ÁÊé±Ê¼Ç1

   Õ⼸ÌìÈÏÕæµÄ¿´ÁËÕâ±¾Ê飬ÒòΪÊÇÈ«Ó¢Îĵģ¬ËùÒÔ»¹ÊǸоõ°ÑÒ»±¾ºÃÊé¸øÔãÌ£ÁË¡£¡£¡£
   ÏÖÔÚдЩ±Ê¼Ç¡£
   £­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­
   ½éÉÜ£º
    
£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£­£ ......

java·´Éäµ÷Ó÷½·¨

TestRef.java
¡¡¡¡import java.lang.reflect.Method;
¡¡¡¡import java.lang.reflect.InvocationTargetException;
¡¡¡¡/**
¡¡¡¡* Created by IntelliJ IDEA.
¡¡¡¡* File: TestRef.java
¡¡¡¡* User: String
¡¡¡¡* Date: 2010-3-29 14:48:44 ......

java servlet°ïÖú2

Java Servlet API˵Ã÷Îĵµ£¨2.1a°æ£©£¨¶þ£©
API¶ÔÏóµÄ˵Ã÷\r
      ÕâÒ»²¿·Ö°üº¬Á˶ÔJava Servlet APIµÄÈ«²¿ÀàºÍ½Ó¿ÚµÄÏêϸ˵Ã÷¡£Õâ¸ö˵Ã÷ÓëJavadoc API²î²»¶à£¬µ«ÊÇÕâ·ÝÎĵµÌṩÁ˸ü¶àµÄÐÅÏ¢¡£
API°üº¬ÁËÁ½¸öÈí¼þ°ü£¬Ê®¶þ¸ö½Ó¿ÚºÍ¾Å¸öÀà¡£
Èí¼þ°ü£ºjavax.serv ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ