I think that the /jsp folder that you are specifying is a reserved folder
for some jsp containers.  We use /WEB-INF/pages/...

Hope this helps.

-----Original Message-----
From: Cameron Hickey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: Location of JSPs for TILES


I am having some problems getting TILES to work properly when I put my
JSPs into folders.  The error I get is:

Unable to compile class for JSP An error occurred at line: -1 in the jsp
file: null

Which I assume means that it cannot find the JSP file I have specified
in my tiles-defs.xml.  

If I have my files here:

        /WEB-INF/jsp/proptypelist.jsp

and this in the tiles-defs.xml

  <definition name="PropertyType.list" extends=".list">
        <put name="title"  value="List of Property Types" />
        <put name="body"   value="/WEB-INF/jsp/proptypelist.jsp" />
  </definition>

Then everything works fine.

BUT, if I put the same file a level deeper:

        /WEB-INF/jsp/prop/proptypelist.jsp

with def:

        <definition name="PropertyType.list" extends=".list">
        <put name="title"  value="List of Property Types" />
        <put name="body"   value="/WEB-INF/jsp/prop/proptypelist.jsp" />
        </definition>

then I get the error.

Any idea why this would be happening?

Are there limits to how deep or where the templates should be located
for use with TILES?  Is there a way to configure this?

Thanks for any assistance

Cameron Hickey


---------------------------------------------------------------------
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