Finally fixed the JSP-Howto docs. Sorry about the delay. Dave Polito Index: jsp-howto.xml =================================================================== RCS file: /home/cvspublic/jakarta-turbine/xdocs/howto/jsp-howto.xml,v retrieving revision 1.2.2.1 diff -u -r1.2.2.1 jsp-howto.xml --- jsp-howto.xml 2001/05/14 07:48:59 1.2.2.1 +++ jsp-howto.xml 2001/05/29 21:45:54 @@ -39,46 +39,25 @@ page.default=JspPage services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspServ ice -services.TemplateService.template.service.name=TurbineTemplateService -services.TemplateService.default.extension=jsp -services.TemplateService.default.navigation=BaseJspNavigation -services.TemplateService.default.screen=BaseJspScreen -services.TemplateService.default.layout.template=/default.jsp ]]></source> <p> If you want to use "complete" JSP pages (rather than using Turbine's model of having separate files for the navigation components, etc.), -then you must delete (or comment out) the layout.default entry so that -no default layout is used: +then you must set the JspService.default.layout entry so that +DefaultLayout is used: </p> <source><![CDATA[ -#layout.default=... +services.JspService.default.layout = DefaultLayout ]]></source> <p> -ADD the following entry into the properties file: +Place JSP pages in the <app>/templates/app/screens directory. </p> -<source><![CDATA[ -services.JspService.templates=/templates -]]></source> - -<p> -Place JSP pages in the <app>/templates/screens directory. -</p> - -<p> -Refer to the JSP pages in URLs as .../template/<xxx>.jsp -</p> - <p> -Also, the servlet jar file (servlet-2.2-CVSHEAD-12-04-00.jar) that comes -with the TDK 1.1a11 and ends up in the ..webapps/<app>/WEB-INF/lib -directory seems to cause JSP page compile errors. If you remove it, the -servlet.jar file that is in the tdk/bin directory will be used instead, -and it should work. +Refer to the JSP pages in URLs as .../template/app/<xxx>.jsp </p> </section>
