Announcement Announcement Module
Collapse
No announcement yet.
AWFC _finish throws XML invalid Character Exception Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AWFC _finish throws XML invalid Character Exception

    Hi Spring community,

    I'm fairly new to spring and playing currently around with the AbstractWizardFormController. It's nearly running perfect now, but with the last submit, which sends me to success.jsp it performs the wanted action, but instead of returning me to the success.jsp view I get the following error:

    Code:
    2005-10-15 02:13:13,668 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/power2].[jsp]] - Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException&#58; <h3>Validation error messages from TagLibraryValidator for c</h3><p>null&#58; org.xml.sax.SAXParseException&#58; An invalid XML character &#40;Unicode&#58; 0x0&#41; was found in the CDATA section.</p><h3>Validation error messages from TagLibraryValidator for fmt</h3><p>null&#58; org.xml.sax.SAXParseException&#58; An invalid XML character &#40;Unicode&#58; 0x0&#41; was found in the CDATA section.</p>
            at org.apache.jasper.compiler.DefaultErrorHandler.jspError&#40;DefaultErrorHandler.java&#58;50&#41;
            at org.apache.jasper.compiler.ErrorDispatcher.dispatch&#40;ErrorDispatcher.java&#58;407&#41;
            at org.apache.jasper.compiler.ErrorDispatcher.jspError&#40;ErrorDispatcher.java&#58;72&#41;
            at org.apache.jasper.compiler.Validator.validateXmlView&#40;Validator.java&#58;1549&#41;
            at org.apache.jasper.compiler.Validator.validate&#40;Validator.java&#58;1495&#41;
            at org.apache.jasper.compiler.Compiler.generateJava&#40;Compiler.java&#58;157&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;286&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;267&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;255&#41;
            at org.apache.jasper.JspCompilationContext.compile&#40;JspCompilationContext.java&#58;556&#41;
            at org.apache.jasper.servlet.JspServletWrapper.service&#40;JspServletWrapper.java&#58;293&#41;
            at org.apache.jasper.servlet.JspServlet.serviceJspFile&#40;JspServlet.java&#58;291&#41;
            at org.apache.jasper.servlet.JspServlet.service&#40;JspServlet.java&#58;241&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;802&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at org.apache.catalina.core.ApplicationDispatcher.invoke&#40;ApplicationDispatcher.java&#58;672&#41;
            at org.apache.catalina.core.ApplicationDispatcher.processRequest&#40;ApplicationDispatcher.java&#58;463&#41;
            at org.apache.catalina.core.ApplicationDispatcher.doForward&#40;ApplicationDispatcher.java&#58;398&#41;
            at org.apache.catalina.core.ApplicationDispatcher.forward&#40;ApplicationDispatcher.java&#58;301&#41;
            at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel&#40;InternalResourceView.java&#58;97&#41;
            at org.springframework.web.servlet.view.AbstractView.render&#40;AbstractView.java&#58;250&#41;
            at org.springframework.web.servlet.DispatcherServlet.render&#40;DispatcherServlet.java&#58;928&#41;
            at org.springframework.web.servlet.DispatcherServlet.doDispatch&#40;DispatcherServlet.java&#58;705&#41;
            at org.springframework.web.servlet.DispatcherServlet.doService&#40;DispatcherServlet.java&#58;625&#41;
            at org.springframework.web.servlet.FrameworkServlet.serviceWrapper&#40;FrameworkServlet.java&#58;386&#41;
            at org.springframework.web.servlet.FrameworkServlet.doPost&#40;FrameworkServlet.java&#58;355&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;709&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;802&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;292&#41;
            at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke&#40;FilterSecurityInterceptor.java&#58;84&#41;
            at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter&#40;SecurityEnforcementFilter.java&#58;182&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter&#40;AnonymousProcessingFilter.java&#58;153&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter&#40;RememberMeProcessingFilter.java&#58;114&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter&#40;BasicProcessingFilter.java&#58;206&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter&#40;AbstractProcessingFilter.java&#58;305&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter&#40;HttpSessionContextIntegrationFilter.java&#58;226&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.util.FilterChainProxy.doFilter&#40;FilterChainProxy.java&#58;173&#41;
            at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter&#40;FilterToBeanProxy.java&#58;125&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;202&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at org.apache.catalina.core.StandardWrapperValve.invoke&#40;StandardWrapperValve.java&#58;213&#41;
            at org.apache.catalina.core.StandardContextValve.invoke&#40;StandardContextValve.java&#58;178&#41;
            at org.apache.catalina.core.StandardHostValve.invoke&#40;StandardHostValve.java&#58;126&#41;
            at org.apache.catalina.valves.ErrorReportValve.invoke&#40;ErrorReportValve.java&#58;105&#41;
            at org.apache.catalina.core.StandardEngineValve.invoke&#40;StandardEngineValve.java&#58;107&#41;
            at org.apache.catalina.connector.CoyoteAdapter.service&#40;CoyoteAdapter.java&#58;148&#41;
            at org.apache.coyote.http11.Http11Processor.process&#40;Http11Processor.java&#58;856&#41;
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection&#40;Http11Protocol.java&#58;744&#41;
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket&#40;PoolTcpEndpoint.java&#58;527&#41;
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt&#40;LeaderFollowerWorkerThread.java&#58;80&#41;
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run&#40;ThreadPool.java&#58;684&#41;
            at java.lang.Thread.run&#40;Thread.java&#58;595&#41;
    2005-10-15 02&#58;13&#58;13,671 ERROR &#91;org.springframework.web.servlet.DispatcherServlet&#93; - Could not complete request
    org.apache.jasper.JasperException&#58; <h3>Validation error messages from TagLibraryValidator for c</h3><p>null&#58; org.xml.sax.SAXParseException&#58; An invalid XML character &#40;Unicode&#58; 0x0&#41; was found in the CDATA section.</p><h3>Validation error messages from TagLibraryValidator for fmt</h3><p>null&#58; org.xml.sax.SAXParseException&#58; An invalid XML character &#40;Unicode&#58; 0x0&#41; was found in the CDATA section.</p>
            at org.apache.jasper.compiler.DefaultErrorHandler.jspError&#40;DefaultErrorHandler.java&#58;50&#41;
            at org.apache.jasper.compiler.ErrorDispatcher.dispatch&#40;ErrorDispatcher.java&#58;407&#41;
            at org.apache.jasper.compiler.ErrorDispatcher.jspError&#40;ErrorDispatcher.java&#58;72&#41;
            at org.apache.jasper.compiler.Validator.validateXmlView&#40;Validator.java&#58;1549&#41;
            at org.apache.jasper.compiler.Validator.validate&#40;Validator.java&#58;1495&#41;
            at org.apache.jasper.compiler.Compiler.generateJava&#40;Compiler.java&#58;157&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;286&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;267&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;255&#41;
            at org.apache.jasper.JspCompilationContext.compile&#40;JspCompilationContext.java&#58;556&#41;
            at org.apache.jasper.servlet.JspServletWrapper.service&#40;JspServletWrapper.java&#58;293&#41;
            at org.apache.jasper.servlet.JspServlet.serviceJspFile&#40;JspServlet.java&#58;291&#41;
            at org.apache.jasper.servlet.JspServlet.service&#40;JspServlet.java&#58;241&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;802&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at org.apache.catalina.core.ApplicationDispatcher.invoke&#40;ApplicationDispatcher.java&#58;672&#41;
            at org.apache.catalina.core.ApplicationDispatcher.processRequest&#40;ApplicationDispatcher.java&#58;463&#41;
            at org.apache.catalina.core.ApplicationDispatcher.doForward&#40;ApplicationDispatcher.java&#58;398&#41;
            at org.apache.catalina.core.ApplicationDispatcher.forward&#40;ApplicationDispatcher.java&#58;301&#41;
            at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel&#40;InternalResourceView.java&#58;97&#41;
            at org.springframework.web.servlet.view.AbstractView.render&#40;AbstractView.java&#58;250&#41;
            at org.springframework.web.servlet.DispatcherServlet.render&#40;DispatcherServlet.java&#58;928&#41;
            at org.springframework.web.servlet.DispatcherServlet.doDispatch&#40;DispatcherServlet.java&#58;705&#41;
            at org.springframework.web.servlet.DispatcherServlet.doService&#40;DispatcherServlet.java&#58;625&#41;
            at org.springframework.web.servlet.FrameworkServlet.serviceWrapper&#40;FrameworkServlet.java&#58;386&#41;
            at org.springframework.web.servlet.FrameworkServlet.doPost&#40;FrameworkServlet.java&#58;355&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;709&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;802&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;292&#41;
            at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke&#40;FilterSecurityInterceptor.java&#58;84&#41;
            at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter&#40;SecurityEnforcementFilter.java&#58;182&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter&#40;AnonymousProcessingFilter.java&#58;153&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter&#40;RememberMeProcessingFilter.java&#58;114&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter&#40;BasicProcessingFilter.java&#58;206&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter&#40;AbstractProcessingFilter.java&#58;305&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter&#40;HttpSessionContextIntegrationFilter.java&#58;226&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.util.FilterChainProxy.doFilter&#40;FilterChainProxy.java&#58;173&#41;
            at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter&#40;FilterToBeanProxy.java&#58;125&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;202&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at org.apache.catalina.core.StandardWrapperValve.invoke&#40;StandardWrapperValve.java&#58;213&#41;
            at org.apache.catalina.core.StandardContextValve.invoke&#40;StandardContextValve.java&#58;178&#41;
            at org.apache.catalina.core.StandardHostValve.invoke&#40;StandardHostValve.java&#58;126&#41;
            at org.apache.catalina.valves.ErrorReportValve.invoke&#40;ErrorReportValve.java&#58;105&#41;
            at org.apache.catalina.core.StandardEngineValve.invoke&#40;StandardEngineValve.java&#58;107&#41;
            at org.apache.catalina.connector.CoyoteAdapter.service&#40;CoyoteAdapter.java&#58;148&#41;
            at org.apache.coyote.http11.Http11Processor.process&#40;Http11Processor.java&#58;856&#41;
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection&#40;Http11Protocol.java&#58;744&#41;
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket&#40;PoolTcpEndpoint.java&#58;527&#41;
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt&#40;LeaderFollowerWorkerThread.java&#58;80&#41;
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run&#40;ThreadPool.java&#58;684&#41;
            at java.lang.Thread.run&#40;Thread.java&#58;595&#41;
    2005-10-15 02&#58;13&#58;13,672 ERROR &#91;org.apache.catalina.core.ContainerBase.&#91;Catalina&#93;.&#91;localhost&#93;.&#91;/power2&#93;.&#91;power&#93;&#93; - Servlet.service&#40;&#41; for servlet power threw exception
    org.apache.jasper.JasperException&#58; <h3>Validation error messages from TagLibraryValidator for c</h3><p>null&#58; org.xml.sax.SAXParseException&#58; An invalid XML character &#40;Unicode&#58; 0x0&#41; was found in the CDATA section.</p><h3>Validation error messages from TagLibraryValidator for fmt</h3><p>null&#58; org.xml.sax.SAXParseException&#58; An invalid XML character &#40;Unicode&#58; 0x0&#41; was found in the CDATA section.</p>
            at org.apache.jasper.compiler.DefaultErrorHandler.jspError&#40;DefaultErrorHandler.java&#58;50&#41;
            at org.apache.jasper.compiler.ErrorDispatcher.dispatch&#40;ErrorDispatcher.java&#58;407&#41;
            at org.apache.jasper.compiler.ErrorDispatcher.jspError&#40;ErrorDispatcher.java&#58;72&#41;
            at org.apache.jasper.compiler.Validator.validateXmlView&#40;Validator.java&#58;1549&#41;
            at org.apache.jasper.compiler.Validator.validate&#40;Validator.java&#58;1495&#41;
            at org.apache.jasper.compiler.Compiler.generateJava&#40;Compiler.java&#58;157&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;286&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;267&#41;
            at org.apache.jasper.compiler.Compiler.compile&#40;Compiler.java&#58;255&#41;
            at org.apache.jasper.JspCompilationContext.compile&#40;JspCompilationContext.java&#58;556&#41;
            at org.apache.jasper.servlet.JspServletWrapper.service&#40;JspServletWrapper.java&#58;293&#41;
            at org.apache.jasper.servlet.JspServlet.serviceJspFile&#40;JspServlet.java&#58;291&#41;
            at org.apache.jasper.servlet.JspServlet.service&#40;JspServlet.java&#58;241&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;802&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at org.apache.catalina.core.ApplicationDispatcher.invoke&#40;ApplicationDispatcher.java&#58;672&#41;
            at org.apache.catalina.core.ApplicationDispatcher.processRequest&#40;ApplicationDispatcher.java&#58;463&#41;
            at org.apache.catalina.core.ApplicationDispatcher.doForward&#40;ApplicationDispatcher.java&#58;398&#41;
            at org.apache.catalina.core.ApplicationDispatcher.forward&#40;ApplicationDispatcher.java&#58;301&#41;
            at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel&#40;InternalResourceView.java&#58;97&#41;
            at org.springframework.web.servlet.view.AbstractView.render&#40;AbstractView.java&#58;250&#41;
            at org.springframework.web.servlet.DispatcherServlet.render&#40;DispatcherServlet.java&#58;928&#41;
            at org.springframework.web.servlet.DispatcherServlet.doDispatch&#40;DispatcherServlet.java&#58;705&#41;
            at org.springframework.web.servlet.DispatcherServlet.doService&#40;DispatcherServlet.java&#58;625&#41;
            at org.springframework.web.servlet.FrameworkServlet.serviceWrapper&#40;FrameworkServlet.java&#58;386&#41;
            at org.springframework.web.servlet.FrameworkServlet.doPost&#40;FrameworkServlet.java&#58;355&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;709&#41;
            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;802&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;292&#41;
            at net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke&#40;FilterSecurityInterceptor.java&#58;84&#41;
            at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter&#40;SecurityEnforcementFilter.java&#58;182&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter&#40;AnonymousProcessingFilter.java&#58;153&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter&#40;RememberMeProcessingFilter.java&#58;114&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter&#40;BasicProcessingFilter.java&#58;206&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.ui.AbstractProcessingFilter.doFilter&#40;AbstractProcessingFilter.java&#58;305&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter&#40;HttpSessionContextIntegrationFilter.java&#58;226&#41;
            at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter&#40;FilterChainProxy.java&#58;303&#41;
            at net.sf.acegisecurity.util.FilterChainProxy.doFilter&#40;FilterChainProxy.java&#58;173&#41;
            at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter&#40;FilterToBeanProxy.java&#58;125&#41;
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;202&#41;
            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
            at org.apache.catalina.core.StandardWrapperValve.invoke&#40;StandardWrapperValve.java&#58;213&#41;
            at org.apache.catalina.core.StandardContextValve.invoke&#40;StandardContextValve.java&#58;178&#41;
            at org.apache.catalina.core.StandardHostValve.invoke&#40;StandardHostValve.java&#58;126&#41;
            at org.apache.catalina.valves.ErrorReportValve.invoke&#40;ErrorReportValve.java&#58;105&#41;
            at org.apache.catalina.core.StandardEngineValve.invoke&#40;StandardEngineValve.java&#58;107&#41;
            at org.apache.catalina.connector.CoyoteAdapter.service&#40;CoyoteAdapter.java&#58;148&#41;
            at org.apache.coyote.http11.Http11Processor.process&#40;Http11Processor.java&#58;856&#41;
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection&#40;Http11Protocol.java&#58;744&#41;
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket&#40;PoolTcpEndpoint.java&#58;527&#41;
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt&#40;LeaderFollowerWorkerThread.java&#58;80&#41;
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run&#40;ThreadPool.java&#58;684&#41;
            at java.lang.Thread.run&#40;Thread.java&#58;595&#41;
    I really don't have a clue which XML he's trying to parse there. success.jsp doesn't even contain: "c</h3><p>null" or stuff like that.

    If it helps to sort out the problem here are my:

    success.jsp:


    Code:
    <%@ include file="/WEB-INF/jsp/include.jsp" %>
    <%@ include file="/WEB-INF/jsp/header.jsp" %>
    
    <h1><fmt&#58;message key="heading"/></h1>
    <p>
    <c&#58;if test="$&#123;!empty message&#125;">
      <span class="success-red"><c&#58;out value="$&#123;message&#125;"/></span>
    </c&#58;if>
    <a href="/listUsers.htm">Show userlist</a>
    <%@ include file="/WEB-INF/jsp/footer.jsp" %>
    FormController:

    Code:
    /**
     * @author ashaman
     * @date 14.10.2005
     */
    public class DeleteUserFormController extends AbstractWizardFormController &#123;
        /** Logger for this class and subclasses */
        protected final Log logger = LogFactory.getLog&#40;getClass&#40;&#41;&#41;;
        
    	private UserManager userManager;
    	
    	protected Object formBackingObject&#40;HttpServletRequest request&#41; throws ModelAndViewDefiningException &#123;
    		UserBean userBean = this.userManager.getUserById&#40;Integer.valueOf&#40;request.getParameter&#40;"userId"&#41;&#41;&#41;;
    		return userBean;
    	&#125;
    	
    	protected Map referenceData&#40;HttpServletRequest request, int page&#41; throws java.lang.Exception&#123;
    		logger.info&#40;"filling referenceData for " + page&#41;;
    		if &#40;page == 0&#41;&#123;
    			UserBean userBean = this.userManager.getUserById&#40;Integer.valueOf&#40;request.getParameter&#40;"userId"&#41;&#41;&#41;;
    			Map model = new HashMap&#40;&#41;;
    			model.put&#40;"message", "Do you really want to delete the user&#58; " 
    					  + userBean.getLogin&#40;&#41; + " RealName&#58; " 
    					  + userBean.getFirstName&#40;&#41; + " " 
    					  + userBean.getLastName&#40;&#41;&#41;;
    			return model;
    		&#125;
    		return null;
    	&#125;
    
    	protected ModelAndView processFinish&#40;
    			HttpServletRequest request, HttpServletResponse response, Object command, BindException errors&#41; 
    			throws Exception &#123;
    		UserBean userBean = &#40;UserBean&#41;command;
    		this.userManager.deleteUser&#40;userBean&#41;;
    		Map model = new HashMap&#40;&#41;;
    		model.put&#40;"message", "The user&#58; " + userBean.getLogin&#40;&#41; + " has been deleted"&#41;;
    		return new ModelAndView&#40;"success", model&#41;;
    	&#125;
    
    	public void setUserManager&#40;UserManager userManager&#41; &#123;
    		this.userManager = userManager;
    	&#125;
    	
    &#125;
    If you want, I can also post the bean configuration.
    Thanks in advance for any reply and suggestions!

    Cheers and good n8,
    Thomas

  • #2
    Embarassing. I found it finally. Since everything worked, except of the success view itself, I spent some time to delete and reuse tags in the success.jsp. Nothing helped...how could it?

    I found the problem when opening the .jsp with less instead of the eclipse editor. And there were my controlcodes at the end of the last line, which did cause me all the trouble.

    The good thing of the story, I read more of the documentation and learned more about the internal structure of AbstractWizardFormController than I would, if everything had just worked from scratch.

    Comment

    Working...
    X