mvc « Query « JPA Q&A





1. servlet and jsp sending query result following MVC framework    stackoverflow.com

in order to separate java code and html code and be more faithful to MVC framework i am coding like that; in the servlet i put the following:

net.sf.hibernate.Session s = null;
 ...