In My struts2 and hibernate3.0 application when I am login to application in day 1st time enter username and password the server side application is installed is give me exception as follows:
message
description The server encountered an internal error () that prevented it from fulfilling this request.
java.lang.IllegalStateException: Cannot call sendError() after the response has been committed
org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:451)
org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:876)
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:567)
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
when I am restart a
tomcat server from my server this exception is not shown to me. why this exception is occured
my login code is follows:
Login.jsp
My
LoginAction java class is:
My
Login Bean java class is:
My
LoginDAOImpl java class is:
My
LoginDAO interface java class is:
My
Struts.xml file is as:
My
web.xml file is as: