jsp « Test « JPA Q&A





1. Testing jpa part    coderanch.com

2. 1000...00 times to test hibernate in jsp,some question to me    forum.hibernate.org

here is my jsp code(code runs ok): press.jsp Code: <%@ page contentType="text/html;charset=GBK" %> <%@ page language="java" %> <%@ page import="javax.naming.*" %> <%@ page import="javax.sql.*" %> <%@ page import="java.sql.*" %> <%@ page import="net.sf.hibernate.SessionFactory" %> <%@ page import="net.sf.hibernate.Session" %> <%@ page import="net.sf.hibernate.Transaction" %> <%! javax.sql.DataSource ds; SessionFactory sf; Session objSession; Transaction tx; %> <% ...