遇到的错误

1.Cannot call sendRedirect() after the response has been committedsession

解决:response.sendRedirect("index.jsp");后面加上return;
2.

Element type "bean" must be followed by either attribute specifications, ">" or "/>".  


在这里其余内容就省了,错在,<bean id="bpcsU1gblDAO"class="dao.jk.bpcs.impl.BpcsU1gblDaoImpl">
      <property name="sessionFactory" ref="sessionFactory"/>
jsp

之间是有空格的Element type bean must be followed by either attribute specifications,  or /. - 比目鱼 - 比目鱼的博客
 </bean>
spa