ÔÚJSPÎļþÉϲ»ÄÜÕýȷʹÓñêÇ©¿â
1¡¢ ÔÚJSPÎļþÉÏʹÓñêÇ©¿â
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
ʱ³öÏÖÎÊÌ⣬´íÎóÐÅÏ¢ÈçÏ£º
he absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
ÔÒò£ºTomcat5.0µÄ×é¼þ¿âÀïȱÁËÁ½¸ö°ü£¬jtsl1.2.jarºÍstanard.jar
½â¾ö·½·¨£º°ÑTomcatÉý¼¶µ½6.0
Ïà¹ØÎĵµ£º
jspÄÚÖöÔÏó
¡¡¡¡¶¨Ò壺¿ÉÒÔ²»¼ÓÉùÃ÷¾ÍÔÚJSPÒ³Ãæ½Å±¾£¨Java³ÌÐòƬºÍJava±í´ïʽ£©ÖÐʹÓõijÉÔ±±äÁ¿
¡¡¡¡JSP¹²ÓÐÒÔÏÂ9ÖÖ»ù±¾ÄÚÖÃ×é¼þ£¨¿ÉÓëASPµÄ6ÖÖÄÚ²¿×é¼þÏà¶ÔÓ¦£©£º
¡¡¡¡
ÄÚÖöÔÏó
´ú±íÄÚÈÝ
·¶Î§
request
´¥·¢·þÎñµ÷ÓõÄÇëÇó
request
response
¶ÔÇëÇóµÄÓ¦´ð
page
session
ΪÇëÇóµÄ¿Í»§´´½¨µÄsessio ......
I used Eclipse to try the google app engine demo project: guestbook.
when i create a *.jsp file in the WAR directory,the error information appear:
"Your Web Application Project must be configured to use a JDK in order to use JSPs."
solution:
It is because Eclipse put the JRE to the JRE directory ......
http://www.blogjava.net/19851985lili/articles/97664.html
ÄãµÄ´úÂë±¾ÉíÓÐÎÊÌ⣬һ°ãÀ´Ëµ£¬ÎÒÃÇÔÚʹÓÃStrutsʱ£¬Èç¹ûÒªÔÚJSPÒþʽµÄ´«Öµ¸øActionÓÐÁ½ÖÖÇé¿ö£º
1¡¢Òª´«µÄÖµÊÇfromBeanÖеÄÒ»¸ö×ֶΣ¬Äã˵µÄÇé¿öÓ¦¸Ã¾ÍÊÇÕâÖÖÇé¿ö£¬ÀýÈçÐèÒªÔÚEditÒ³ÃæÖб£´ætheID£¬ÔÚActionÖÐÖ´ÐÐUpdate²Ù×÷ʱ¸ù¾ÝIDÀ´¸üÐÂÊý¾Ý¿âµÄÖµ£¬Äã¿ÉÒ ......
package com.gc.tool;
import java.util.ArrayList;
import java.util.List;
public class MyPagination {
private int recordCount = 0;
private int pagesize = 0;
private int maxPage = 0;
&n ......
jsp:setProperty±êÇ©ÓÃÓÚÉèÖñ»¼ÓÔص½µ±Ç°Ò³ÃæÖеÄJavaBeanÖÐÊôÐÔµÄÖµ
¸ñʽ£º<jsp:setProperty name=? property=? value=?(»òparam=?) />
name£ºÄ³¸öJavaBeanµÄ¶ÔÏóÃû£¬ÓÃÓÚÖ¸¶¨¸øÄĸöJavaBeanÖеÄÊôÐÔ¸³Öµ
property£ºJavaBeanÖеÄij¸öÊôÐÔÃû£¬ÓÃÓÚÖ¸¶¨¸øµ±Ç°JavaBeanÖеÄÄĸöÊôÐÔ¸³Öµ
& ......