Antonio Petrelli <[EMAIL PROTECTED]> wrote: Mehdi Bahribayli ha scritto: >> >> >> >> >> > I. I have already tried that. I get an exception: > javax.servlet.jsp.JspException: Invalid attribute type: java.lang.String >
This could be possibly a bug, I will investigate it. > II. I think you have misunderstood what I wanted to say. I think there is no > need for /subviews/welcome.jspf because it is used just once and there is no > need to put the contenet in a separate file. I think both > /subviews/welcome.jspf and /views/welcome.jsp are one and same thing and > should be integrated into one file. (5 elements instead of 6 elements) Probably now I understood: you need something like: <%-- The code contained in /subviews/welcome-body.jspf --%> Try it, I read the code and it seems that nothing prevents you from using it. Ciao Antonio --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] I used: <tiles:insert name="tiles:master"> <tiles:put name="body"> <%-- The code contained in /subviews/welcome-body.jspf --%> </tiles:put> </tiles:insert> but I get: javax.servlet.jsp.JspException: Invalid attribute type: java.lang.String again. (no mater which 'type' attribute I use with 'put' and 'insert') --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.