There are no limits that I know of - remember relative URLs are built from the initial 
template's location.  Sometimes that can mess you up if you have several folders.  
Using the base tag can help.  

Cal 

http://www.calandva.com/            Last update 08/01/03

-----Original Message-----
From: Cameron Hickey [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 12:23
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]

  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary 
and confidential information intended only for the use of the recipient(s) named 
above.  If you are not the intended recipient, you may not print, distribute, or copy 
this message or any attachments.  If you have received this communication in error, 
please notify the sender by return e-mail and delete this message and any attachments 
from your computer.

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

Reply via email to