Thanks for the response Marty,

I am using Tomcat 4.1.24, and have no problem generally putting these
files into the /jsp folder, its only when I put them into the /jsp/prop
folder that there are problems.

Where can I find out what the rules are for folders to hold JSPs for
either struts, or tiles?  Does Tomcat implement this reserved folder
concept for WEB-INF/jsp ?

Thanks
 
Cameron


-----Original Message-----
From: Jones, Marty B. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2003 7:25 PM
To: Struts Users Mailing List
Subject: RE: Location of JSPs for TILES

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]


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

Reply via email to