Hi Cedric,

I just verify : i use tomcat 3.2.3 and i have no pb with tiles examples.
I think the web server can run tiles but i cant manage to run my helloword
app by myself :-(
I wonder what could happend cause i manage to run the same helloword app
using struts template :
<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>

<template:insert template='template.jsp'>
        <template:put name='title' content='Templates' direct='true'/>  
        <template:put name='header' content='header.jsp' />  
        <template:put name='body' content='helloBody.jsp'/>
        <template:put name='menu' content='menu.jsp'/>
        <template:put name='footer' content='footer.jsp' />
</template:insert>

it works fine and i tried usin direct="true" in my tiles app with no result.

I wonder if i'll be using tile or just template...

the pb with tempate and perhaps with tiles too is my menu can become larger.
Can i have a scrollbar or can i use another way to see all the menu even if
a node is really long?

-----Message d'origine-----
De: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
Date: vendredi 11 janvier 2002 18:46
�: Struts Users Mailing List
Objet: Re: First try using Tiles -> what appends ?



  Hi Alexandre,

  The problem comes from the web server having some trouble to convert a
String
to an Object ;-(.

  This problem was already encountered with old web server, but it seems you
use
Tomcat3.2.3. I also use Tomcat 3.2.3, and all work fine for me !
  Have you tried examples coming with Tiles ? Do they work for you ? Check
if you
really use Tomcat 3.2.3.

  Cedric

DUPRAT Alexandre wrote:

> Hi,
>
> I'm trying using tiles for the first time in order to mix struts-menu and
> tiles (or template with is similar if i understand the good way).
>
> my first try is using the classicLayout.jsp for tiles tutorial and my
index
> page lookin like :
>
> <%@ taglib uri="/WEB-INF/tiles.tld" prefix="tiles" %>
>
> <tiles:insert page="/layout/classicLayout.jsp" flush="true">
>         <tiles:put name="title"  value="My first page"  />
>         <tiles:put name="header" value="header.jsp" />
>         <tiles:put name="footer" value="footer.jsp" />
>         <tiles:put name="menu"   value="menu.jsp" />
>         <tiles:put name="body"   value="helloBody.jsp" />
> </tiles:insert>
>
> i this exception i do not understand cause im not familiair with tiles :
>
> org.apache.jasper.compiler.CompileException:
> D:\Tomcat\jakarta-tomcat-3.2.3\webapps\tiles-tutor\index_tiles.jsp(3,1)
> Impossible de convertir une cha�ne (String) � java.lang.Object pour
> l'attribut value
>         at
>
org.apache.jasper.compiler.TagBeginGenerator.convertString(TagBeginGenerator
> .java:268)
>         at
>
org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat
> or.java, Compiled Code)
>         at
>
org.apache.jasper.compiler.TagBeginGenerator.generateServiceMethodStatements
> (TagBeginGenerator.java:288)
>         at
>
org.apache.jasper.compiler.TagBeginGenerator.generate(TagBeginGenerator.java
> :357)
>         at
>
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
> spParseEventListener.java, Compiled Code)
>         at
>
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
> stener.java, Compiled Code)
>         at
>
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
> ventListener.java:175)
>         at org.apache.jasper.compiler.Compiler.compile(Compiler.java,
> Compiled Code)
>         at
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
>         at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
>         at
org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:258)
>         at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:268)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
>         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java,
> Compiled Code)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>         at org.apache.tomcat.core.Handler.service(Handler.java:287)
>         at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>         at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
> 2)
>         at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
>         at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
>         at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
> Compiled Code)
>         at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
> Compiled Code)
>         at java.lang.Thread.run(Thread.java:479)
>
> Need help if somebody ever saw such an error.
> Thanks in advance.
>
> Alexandre Duprat
> SOPRA. Direction France Sud. Bordeaux
> tel : 05 57 26 00 91
> [EMAIL PROTECTED]
>
> +----------------------------------------------------------------+
> | Ce courrier ainsi que les fichiers joints sont confidentiels.  |
> | Si vous avez recu ce courrier par erreur, veuillez en informer |
> | l'administrateur du systeme : [EMAIL PROTECTED]               |
> |                          ---------                             |
> | Ce message confirme que le courrier a passe le controle        |
> | antivirus du relais de messagerie Internet avec succes.        |
> +----------------------------------------------------------------+
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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



+----------------------------------------------------------------+
| Ce courrier ainsi que les fichiers joints sont confidentiels.  |
| Si vous avez recu ce courrier par erreur, veuillez en informer |
| l'administrateur du syst�me : [EMAIL PROTECTED]               |
|                          ---------                             |
| Ce message confirme que le courrier a pass� le contr�le        |
| antivirus du relais de messagerie Internet avec succ�s.        |
+----------------------------------------------------------------+

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

Reply via email to