Ok, I've upgraded to tiles and have the following...

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>

<tiles:insert page="../template.jsp" flush="true">
  <tiles:put name="header" value="../header.html" />
  <tiles:put name="mainmenu" value="../mainmenu.html" />
  <tiles:put name="message" value="../message.html" /> 
  <tiles:put name="content" value="assessmentcontent.jsp" />
  <tiles:put name="footer" value="../footer.html" />
</tiles:insert> 

the only problem is that I get exception page not found for te files.  Is there
any way around this to get my pages to load from this directory:

http://localhost:8080/WebApp/

when I'm here:

http://localhost:8080/WebApp/assessment/

Can I use <%=request.getContextPath()%> or something like that within
my tiles file?

Many thanks,
Jon.

*---------------------------------------------*
 Jonathan Holloway,               
 Dept. Of Computer Science,       
 Aberystwyth University, 
 Ceredigion,                      
 West Wales,                      
 SY23 3DV.                        
                                  
 07968 902140                     
 http://users.aber.ac.uk/jph8     
*---------------------------------------------*

Reply via email to