Well, i did as you told me but now i have this err:
Error encountered processing a 
template: /layouts/Default.jsporg.apache.jasper.JasperException: 
org.apache.turbine.services.TurbineServices.getInstance()
Lorg/apache/turbine/services/ServiceManager;

 

Gabriel Moreno <[EMAIL PROTECTED]>:

> Default.jsp should look like:
> <%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='turbine' %>
> 
> <html>
> <head>
>         <turbine:screen section="head" />
> </head>
> <body>
>  <table width="100%">
>    <tr>
>      <td align="left" valign="top">
>       <turbine:screen section="body" />
>      </td>
>    </tr>
>  </table>
> 
> </body>
> </html>
> 
> Index.jsp should be like:
> <%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='turbine' %>
>  
> <turbine:head>
>         <TITLE>Index.jsp</TITLE>
> </turbine:head>
>  
> <turbine:body>
> Hello.
> </turbine:body>
> 
> 
> 
> On Mon, 2003-07-28 at 20:07, Alex wrote:
> > I have the following Default.jsp file:
> > 
> > <jsp:useBean id="screen_placeholder" 
> > class="org.apache.turbine.services.jsp.util.JspScreenPlaceholder"
> scope="request"/> 
> > <table width="100%">
> >   <tr>
> >     <td align="left" valign="top">
> >       <%=screen_placeholder%>
> >     </td>
> >   </tr>
> > </table>
> > 
> > and Index.jsp file:
> > 
> > <html>
> > <head>
> > <title>Index.jsp</title>
> > </head>
> > <body>
> > 
> > Hello.
> > 
> > </body>
> > </html>
> > 
> > As i understand the template service should replace screen_placeholder
> with Index.jsp 
> > screen template as it's done in velocity sample.
> > 
> > Gabriel Moreno <[EMAIL PROTECTED]>:
> > 
> > > If you send a minimal layout and template to reproduce the error you're
> > > getting, I could probably help you.
> > > 
> > > On Mon, 2003-07-28 at 16:27, Alex wrote:
> > > > Hello ,
> > > > 
> > > > I did the same but i get on my screen this:
> > > > 
> > > >  [EMAIL PROTECTED]
> > > > 
> > > > but why?
> > > >  
> > > > Monday, July 28, 2003, 7:04:50 PM, Gabriel wrote:
> > > > 
> > > > GM> I changed this:
> > > > GM> 
> > > >
> > > 
> >
> 
services.VelocityService.classname=org.apache.turbine.services.velocity.TurbineVelocitySe
> > > > rvice
> > > > 
> > > > GM> to:
> > > > GM>
> > >
> services.JspService.classname=org.apache.turbine.services.jsp.TurbineJspService
> > > > 
> > > > GM> I also set template.homepage=Index.jsp
> > > > 
> > > > 
> > > > GM> On Fri, 2003-07-25 at 06:34, Alex wrote:
> > > > >> please, tell me how to configure JspService and
> > > > >> TemplateService to enable JSP templates?
> > > > >> 
> > > > >> Thanks!
> > > > >> 
> > > > >>
> ---------------------------------------------------------------------
> > > > >> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > >> For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > 
> > > > 
> > > > GM>
> ---------------------------------------------------------------------
> > > > GM> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > > GM> For additional commands, e-mail:
> [EMAIL PROTECTED]
> > > > 
> > > > 
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to