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

jspÖÐJSTLÎÊÌâ - Java / Web ¿ª·¢

jspÔ´Âë:

[size=14px]<%@ page contentType="text/html;charset=GB2312" %>
<%@ taglib prefix="c" uri="../ROOT/WEB-INF/tld/c.tld" %>
<html>
<body>
<c:out value="hello----------hello" />
</body>
</html>[/size]


ÔÚä¯ÀÀÆ÷ÊäÈëURLºó³öÏÖ:
  exception: org.apache.jasper.JasperException:Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
  ----------
  root cause: java.lang.ClassNotFoundException: org.apache.taglibs.standard.tlv.JstlCoreTLV

JSTLÖеÄstandard.jarºÍjstl.jarÎÒ¶¼ÒÑ¿½±´µ½webapps/ROOT/WEB-INF/libÖÐ;
½âѹstandard·¢ÏÖÆäorg.apache.taglibs.standard.tlvÎļþ¼ÐÖÐÓÐJstlCoreTLV.class;
½«org.apache.taglibs.standard.tlv.JstlCoreTLV.class¿½±´µ½webapps/ROOT/WEB-INF/classesÎļþ¼ÐÖÐ----ºÇºÇ,´íÎóÒÀ¾É

ÕâÎҾͲ»Ã÷°×Ô­ÒòÁË,»¹ÇëÖ¸½ÌÒ»¶þ,ÏÈÔÚÕâÀïл¹ý.
 


×ÊÔ´±êÖ¾·û£¨Universal Resource Identifier, ¼ò³Æ"URI"£©ÓÃÓÚ×ÊÔ´¶¨Î»,ÎÒµÄtldÎļþ¶¼´æ·ÅÓÚwebapps/ROOT/tldÎʼþ¼ÐÖÐ,ÓëÖ®ÎÞ¹Ø.

¾­±¾ÈËÌõ·ÖÂÆÎö,N´ÎÊÔÑéºó,ÔÙ½«jstl.jarºÍstandard.jar¿½±´µ½CATALINA_HOME/libÎļþ¼ÐÖÐ.OK!

ÆäʵÁ½¸ölibÎļþ¼ÐÖеÄ.jar¿É±»¼ÓÔصķ¶Î§²»Í¬,Èç´Ë¶øÒÑ.



Ïà¹ØÎÊ´ð£º

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

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

java socket email ÎÊÌâ - Java / Java SE

ÎÒÔÚ javaºËÐļ¼ÊõÉÏ ¿´ÁËÒ»¸ö ÀûÓà Java socket emailµÄÀý×Ó ¿ÉÊÇÔõôҲ ²»³É¹¦ Ϊʲô£¿
Ô´Âë
Java code:

package cn.com.test.email;
import java.awt.GridBagLayout;
import java.awt.event.Action ......

myeclipse+mysqlµÄÅäÖÃÎÊÌâ - Java / Eclipse

ÎÒÊǸöÐÂÊÖ£¬Íû¸ßÊÖ½â´ð
ÎÒÏÖÔÚÒѾ­°²×°ÁËmysql£¬Ò²ÓÐmysqlµÄjdbc¡£µ«ÎÒÔõôÅäÖú󣬲ÅÄÜÔÚMyEclipseÀï²Ù×÷mysqlÄØ£¿Çë¸ßÊÖ˵Ïêϸµã
´ò¿ªMyeclipse----window---open perspective---MyEclipse database explorer-- ......

jspºÍtomcatÎÊÌ⣬¿ì·èÁË - Java / Java EE

ÎÒдÁ˸öjspÒ³Ã棬Ȼºó¸Ä¶¯ÁËһϣ¬¸Ä¶¯µÄÄÚÈݾÍÊÇÔÚjspÒ³ÃæµÄjsº¯ÊýÀï¼ÓÁ˸öalert()Óï¾ä£¬µ«ÊÇÎÒ·ÃÎÊÕâ¸öÒ³Ãæʱ£¬ËÀ»î¶¼ÊÇÔ­À´Ò³ÃæµÄÄÚÈÝ£¬ÎÒ¼ÓÁ˺ܶàalertº¯Êý»¹ÊÇû¸Ä¶¯Ç°µÄÒ³ÃæÄÚÈÝ£»tomcatÖØÆôÁË£¬Ò²ÖØв¿ÊðÕâ ......

javaÖд«Öµ - Java / Web ¿ª·¢

ÔõôÑù½«id´«¹ýÈ¥°¡£¿£¿£¿ÊǼòµ¥µÄ´«¡£¡£¡£ÔÚµØÖ·À¸ÖÐдidºÅ
LZ ºÃÓÄĬ£¡²»ÖªµÀÄãµÄÒâ˼£¿

ÊÇÏë°ÑID ´«µ½ACTION ? ͨ¹ýURl id=?

²»¹»Ïêϸ ±ðÈ˲»ÖªµÀÔõÑù°ïÄã

../XXXXX.do?id=XXXX&id2=XXXXX

......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ