You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vernon <ve...@gatewaytech.com> on 2003/04/22 00:28:43 UTC

Tiles: "Can't get definitions factory from context"

I try the JSP layout approach in my project after trying out the XML one. I 
get the error message. If my understanding is corret, no definiton factory 
is created with this approach. Does this indicate that the jsp:forward tag 
can't used?


The error messages:
~~~~~~~~~~~~~~~~~~~~~~~~~
Type Exception report

message

description The server encountered an internal error () that prevented it 
from fulfilling this request.

exception

org.apache.jasper.JasperException: Can't get definitions factory from 
context.
......

root cause

javax.servlet.ServletException: Can't get definitions factory from context.
at 
com.xxx.waf.controller.web.ActionServlet.routeAction(ActionServlet.java:100)
at com.xxx.waf.controller.web.ActionServlet.service(ActionServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
at 
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
at 
org.apache.jsp.validate_0002dsignon_jsp._jspService(validate_0002dsignon_jsp.java:59) 
 <---- here
....

In the validate_0002dsignon_jsp.java, line 59
~~~~~~~~~~~~~~~~~~~~~~~~~
      if (true) {
        pageContext.forward("verify-signon-action.do"); <--- line 59
        return;
      }

-- 
Vernon

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org