Hi, I'm trying to add simple import usage to my jsp pages. I've got menu.html (virtual url mapped to controller) and I'm trying to add it to index.html (which is also virtual url). <c:import url="menu.html" /> doesn't work.
Help
Hi, I'm trying to add simple import usage to my jsp pages. I've got menu.html (virtual url mapped to controller) and I'm trying to add it to index.html (which is also virtual url). <c:import url="menu.html" /> doesn't work.
Help
<c:import url="menu.html" /> will import a real file, on disk. If you want to compose your pages from many dynamic elements, you need to have a look at a templating solution, like Tiles. Tiles does integrate well with Spring : http://static.springframework.org/sp...tml#view-tiles
Projects :
http://molekulair.trock.ch
I also like Sitemesh ....
http://www.opensymphony.com/sitemesh/
Thanks for help, I'm reading about tiles and sitemesh now![]()
No need to update Sitemesh - works great as-is.
%