tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick Semb Wever <...@apache.org>
Subject Re: Should JSPs have page directive?
Date Sun, 12 Aug 2012 08:20:44 GMT
On Sun, 2012-08-12 at 00:21 +0300, Andrey Botalov wrote:
> Usually JSPs start from page directive. Do files in usual Tiles 
> structure need them? 

Yes, jsps should look like they usually do.
encoding and content-type, if not set by your controller, is only needed
on the initial jsp. All jsps included as tiles attributes can use the
page directive if other of its attributes need to be declared (eg


"Friendship with the upright, with the truthful and with the well
informed is beneficial. Friendship with those who flatter, with those
who are meek and who compromise with principles, and with those who talk
cleverly is harmful." Confucius 

| http://github.com/finn-no | http://tech.finn.no |

View raw message