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

¡¾ÇóÖú¡¿JSPÎÊÌâ¡£¡£¡£

Function 1:

Grab content from Animenfo.com and generate corresponding tables in mysql.

1. Grab content from 
http://animenfo.com/statistic/top.php?type=anime

And the corresponding anime show links
Parse the HTML to generate the following

2. Create mySQL table with following columns:
Rank
Genres
Year Published
Title

Category
Description
ImageLink

3. (Optional): Save images at local server and change ImageLink to local path


You need to use JSP (NOT servlet, but JSP page can embed java code) to parse HTML and create table in database. So one JSP does everyone, you don¡¯t need other .java file. Some contents are within <td> label. Other contents for a particular record, you need look for them through the title link. For second step, you can use SQL language to create the table. Rank can be the primary key (re-number it if duplicated). The table needs to compatible with UTF-8 for character set.


ÕâÊDZðÈËÒªÇó×öµÄÒ»¸öС¹¤¾ßµÄ˵Ã÷Ê飬´ó¸ÅµÄÒâ˼ÎÒ¶¼¶Á¶®ÁË£¬µ«ÊÇÎÒ²»Ì«Ã÷°×Õâ¸ö¹¤¾ßµÄ×÷Óã¬Çë´ïÈËÀ´½âÊÍһϣ¬Ð¡µÜ²ËÄñÒ»¸ö¡£
{{


Ïà¹ØÎÊ´ð£º

JSP´æÈëÊý¾Ý¿â

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

jspÁ´½Ósql2000µÄÒÉÎÊ£¿



type Exception report


message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jas ......

Çójspµç×ÓÉÌÎñÍøÕ¾Ô´Âë - Java / Web ¿ª·¢

Ïë×öÒ»¸öjspµÄµç×ÓÉÌÎñÍøÕ¾£¬ÏëÕÒһЩԴ´úÂ룬ÇëÎÊÄǸöÍøÕ¾ÓкõÄ×ÊÔ´¡£Ð»Ð»£¡
ËÑË÷Ï塃 ¿ªÔ´µÄÒ²ÓÐ

csdn¾ÍÓÐÏàËÆµÄÔ´Â룬¥Ö÷ËÑÒ»ÏÂ

java ¿ªÔ´´óÈ«


¸ÄÄ£°åºÃÂ鷳Ŷ£¬»¹²»Èç×Ô¼ºÐ´¸öÁËÄØ

jf

¶¥Ò» ......

JSP/Servlet½»»¥ - Java / Web ¿ª·¢

JSPÒ³ÃæÖÐÓжà¸öradio°´Å¥
  JSPÒ³Ãæ½«²ÎÊýPOST¸øservlet
  
  ÒªÇóÈçÏÂ;
  1.Ñ¡ÔñÒ»¸öradio£¬µ÷ÓÃservlet servletÖиù¾Ý²ÎÊýµ÷ÓÃÆäËû½Ó¿Ú£¬³ý·ÇÑ¡ÖиÃradio²¢µã»÷JSPÖеÄʵР......

ÔÚJSPÒ³ÃæÖÐÔõô»ñµÃStruts2ÔÚactionÖÐÅäÖõÄrequest

ÔÚjspÒ³ÃæÖÐÔõô»ñµÃStruts2ÔÚactionÖÐÅäÖõÄrequest¡£
ÎÒÔÚºǫ́µÄÅäÖÃÈçÏ£º
List list = new ArrayList(); 
list.add(users);
ActionContext ct= ActionContext.getContext();
HttpServletRequest requ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ