Good morning Antonio,
Under struts2 + tiles2, I know tiles.xml under WEB-INF will work.
But is there a way, that I can create
tiles_login_part1.xml
tiles_login_part2.xml
tiles_login_part3.xml
Sorry? What do you mean? You create it with a text editor...
The above file names are just examples.
Basically, I do *not* want to put all definitions within one tiles.xml
file.
login logics are in tiles_login.xml
browse logics are in tiles_browse.xml
...
...
Instead of saving all definitions in tiles.xml, I'd like to separate
them into different xml files.
and put under /WEB-INF/tiles/ directory.
How struts2 is able to recognize /WEB-INF/tiles/ please?
> See:
> http://tiles.apache.org/2.0/framework/tutorial/configuration.html
I'd like to save titles_login.xml, tiles_browse.xml.... into
"/WEB-INF/tiles/" directory, but I still do not see how
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
could help me?
Thanks,
Lu Ying