JSP

网页应用程序开发

2012年12月07日周五

JSP教学11 会员系统的设计2

11.1 JavaBean介绍
11.2 使用JavaBean
11.3 Servlet类
11.4 使用Servlet

[阅读全文]

2012年12月03日周一

JSP实验10 会员系统的实现

1 建立系统框架
2 在线注册模块
3 会员登录模块

[阅读全文]

2012年11月30日周五

JSP教学10 会员系统的设计

10.1 需求描述
10.2 功能设计
10.3 数据库设计

[阅读全文]

2012年11月24日周六

JSP实验09 投票系统的实现

1 建立系统框架
2 投票功能模块
3 后台维护模块

[阅读全文]

2012年11月22日周四

JSP教学09 投票系统的设计

9.1 需求描述
9.2 功能设计
9.3 数据库设计

[阅读全文]

Velocity Template Error

  • 未知的异常
  • 系统已发生并记录了一项未知的异常。
Exception Velocity template error : standard
Message Invocation of method 'getCommentCount' in class org.apache.roller.weblogger.pojos.wrapper.WeblogEntryWrapper threw exception javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.10.v20211216-fe64cd39c3): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 54,517,631 milliseconds ago. The last packet sent successfully to the server was 54,517,631 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
Error Code: 0
Call: SELECT id, content, contenttype, email, name, notify, plugins, posttime, referrer, remotehost, status, url, useragent, entryid FROM roller_comment WHERE ((entryid = ?) AND (status = ?)) ORDER BY posttime ASC
bind => [2 parameters bound]
Query: ReadAllQuery(referenceClass=WeblogEntryComment sql="SELECT id, content, contenttype, email, name, notify, plugins, posttime, referrer, remotehost, status, url, useragent, entryid FROM roller_comment WHERE ((entryid = ?) AND (status = ?)) ORDER BY posttime ASC") at fauxcoly:_day|standard[line 30, column 41]
Type fauxcoly:Weblog
Exception org.apache.velocity.exception.MethodInvocationException