illegalstateexception « Struts « JPA Q&A





1. IllegalStateException problem    stackoverflow.com

I'm facing a problem with java.lang.IllegalStateException... I don't know why it's thrown during the execution of the code... I'm pasting my code below... I'm using the Hibernate and Struts frameworks...

package dao;

import com.opensymphony.xwork2.ActionSupport;
import java.io.PrintWriter;
import ...