jon         01/05/30 09:47:47

  Modified:    docs/howto jsp-howto.html
               xdocs/howto jsp-howto.xml
  Log:
  latest jsp howto stuff from Dave Polito <[EMAIL PROTECTED]>
  
  Revision  Changes    Path
  1.6       +5 -41     jakarta-turbine/docs/howto/jsp-howto.html
  
  Index: jsp-howto.html
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/docs/howto/jsp-howto.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- jsp-howto.html    2001/05/20 01:28:12     1.5
  +++ jsp-howto.html    2001/05/30 16:47:43     1.6
  @@ -180,11 +180,6 @@
   page.default=JspPage
   
   services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspService
  -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
   </pre></td>
         <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
       </tr>
  @@ -198,8 +193,8 @@
                                                   <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>
                                                       <div align="left">
       <table cellspacing="4" cellpadding="0" border="0">
  @@ -211,7 +206,7 @@
       <tr>
         <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
         <td bgcolor="#ffffff"><pre>
  -#layout.default=...
  +services.JspService.default.layout = DefaultLayout
   </pre></td>
         <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
       </tr>
  @@ -223,41 +218,10 @@
       </table>
       </div>
                                                   <p>
  -ADD the following entry into the properties file:
  +Place JSP pages in the &lt;app&gt;/templates/app/screens directory.
   </p>
  -                                                    <div align="left">
  -    <table cellspacing="4" cellpadding="0" border="0">
  -    <tr>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -    </tr>
  -    <tr>
  -      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#ffffff"><pre>
  -services.JspService.templates=/templates
  -</pre></td>
  -      <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
  -    </tr>
  -    <tr>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
  -      <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
  -    </tr>
  -    </table>
  -    </div>
  -                                                <p>
  -Place JSP pages in the &lt;app&gt;/templates/screens directory.
  -</p>
  -                                                <p>
  -Refer to the JSP pages in URLs as .../template/&lt;xxx&gt;.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/&lt;app&gt;/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/&lt;xxx&gt;.jsp
   </p>
                               </blockquote>
           </p>
  
  
  
  1.3       +5 -26     jakarta-turbine/xdocs/howto/jsp-howto.xml
  
  Index: jsp-howto.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine/xdocs/howto/jsp-howto.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jsp-howto.xml     2001/05/13 05:08:32     1.2
  +++ jsp-howto.xml     2001/05/30 16:47:46     1.3
  @@ -39,46 +39,25 @@
   page.default=JspPage
   
   services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspService
  -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 &lt;app&gt;/templates/app/screens directory.
   </p>
   
  -<source><![CDATA[
  -services.JspService.templates=/templates
  -]]></source>
  -
  -<p>
  -Place JSP pages in the &lt;app&gt;/templates/screens directory.
  -</p>
  -
  -<p>
  -Refer to the JSP pages in URLs as .../template/&lt;xxx&gt;.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/&lt;app&gt;/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/&lt;xxx&gt;.jsp
   </p>
   
   </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to