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

Çójsp¸ßÊÖ°ï°ïæ

ÎÒ¸Õѧjsp£¬ÕÒÁËÒ»¸öÍøÕ¾ÏëÅäÖúû·¾³£¬È»ºó¸Ä¸Ä£¬¿ÉÊÇÓöµ½Ò»¸öÎÊÌ⣬²»¶®Ôõô½â¾ö¡£Çë´ó¼Ò°ï°ïÎÒ£¡
ÎÊÌâÈçÏ£ºÎÒ×°µÄ»·¾³ÊÇ£ºeclipse+MyEclipse5.5+sql2000+tomcat5.5ÔËÐкó³öÏÖ£º
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Cannot open connection
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.JDBCConnectionException: Cannot open connection
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:406)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:686)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:656)
org.apache.jsp.index_jsp._jspService(index_jsp.java:45)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
org.apache.jasper.servlet.JspServ


Ïà¹ØÎĵµ£º

JSP ÉÏ´«ºÍÏÂÔØÎļþ

×¼±¸Ìõ¼þ£º
ÔÚJboss4.2.2GA¸ùĿ¼Ï²¿ÊðÅäÖÃÎļþ£ºconstants.xml
<?xml version="1.0" encoding="UTF-8"?>
<constants>
<init-constants>
<context-param>
<name>path.upload.dcm</name>
<value>//192.168.1.37/upload/oaw/</value>
</context-para ......

JSPÒ³ÃæÎÞ·¨½âÎöEL±í´ïʽ

      ×î½üÊÕµ½Ò»¸öÏîÄ¿µÄÔ´´úÂ룬²¿ÊðÒÔºó´ò¿ªÒ³Ãæ·¢ÏÖJSPÒ³ÃæÖеÄEL±í´ïʽ¶¼Ã»ÓнâÎö£¬¶¼ÊÇÔ­ÑùÏÔʾ¡£
ÉÏÍøËÑË÷ÁËÒ»ÏÂÔ­Òò£¬Ô­À´ÊÇServlet°æ±¾µÄÎÊÌâ¡£Ô­À´ServletÖпÉÒÔÉ趨ÊÇ·ñ½âÎöEL±í´ïʽ£¬Ö»ÓÐ2.4°æ±¾µÄServletĬÈÏÊǽâÎöEL±í´ïʽµÄ£¬¶øÆäËû°æ±¾ÊÇĬÈϲ»½âÎöEL±í´ïʽ£¬²éÁËһϳÌÐò£ ......

[ת¡¿Ñ§Ï°jspÐĵÃ

jspѧϰÐĵÃ
    ѧϰJSP¼¼ÊõÒ²¿ì°ëÄê¶àÁ˰ɣ¬×Ô¼ºÒ²¶¯ÊÖ±àдÁËһЩ¼òµ¥µÄ¶¯Ì¬ÍøÒ³°É¡£ÖÚËùÖÜÖª¶¯Ì¬ÍøÒ³Èý´ó¼¼ÊõASP£¬JSP£¬PHP»ù±¾ÉÏÊÇÈý·ÖÌìÏ£¬µ±È»»¹ÓÐÆäËûÓïÑÔÏñRuby£¬PythonµÈÒ²Õ¼¾Ý²»Ð¡µÄ·Ý¶î¡£
   ѧϰJSP¹ý³ÌÖÐÎҸд¥×îÉîµÄÊÇÈçϼ¸µã£º
  1.JSPÊÇÒ»ÖÖ±íʾ²ãµÄ¼¼Êõ
 &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ