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]

Reply via email to