I want to see how to include a
jsp page dynamically.The page to be included(callme.jsp) contains only 1
jsf component which is a Textfield.Now as per the documentation , in the parent page I have ,
<f:subview id="sv1">
<jsp:include page="callme.jsp" />
</f:subview>
I use sun
java studio creator 2 to make WAR and deploy that to
tomcat 5.0.On accessing the parent page I get error
com.sun.rave.web.ui.appbase.ApplicationException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Assertion Failed
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:316)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87 )
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
I think I have followed the proper way (or not?) to include page dynamically.Something missing?.