Struts2 Tiles in Google app engine
Posted
by
user365941
on Stack Overflow
See other posts from Stack Overflow
or by user365941
Published on 2012-06-09T14:12:54Z
Indexed on
2012/06/09
16:40 UTC
Read the original article
Hit count: 309
I am trying to build an java web application using struts2 and tiles in Google App Engine. Below is my tiles.xml file
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
"http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
<tiles-definitions>
<definition name="baseLayout" template="BaseLayout.jsp">
<put-attribute name="title" value="" />
<put-attribute name="header" value="Header.jsp" />
<put-attribute name="body" value="" />
<put-attribute name="footer" value="Footer.jsp" />
</definition>
<definition name="/welcome.tiles" extends="baseLayout">
<put-attribute name="title" value="Welcome" />
<put-attribute name="body" value="Welcome.jsp" />
</definition>
</tiles-definitions>
But when I run the app,I am not getting any error. it just prints "Header.jsp Welcome.jsp Footer.jsp". It does not show the actual jsp pages. Please advise on what needs to be done.
Thanks in advance
Regards
© Stack Overflow or respective owner