| Author |
Including JSPX in other JSPX
|
Eduards Sizovs
Greenhorn
Joined: Apr 25, 2009
Posts: 7
|
|
Hi there!
I am writing JSP using XML syntax (JSP 2.0) and recently have been added Tiles 2 support. I am using .jspx file extensions, so they are handled by the proper parser.
The problem is that both pages (tiles template and a jsp snippet itself generate their own <html> and <body> tags).
For example, my template:
And the snippet that is inserted as a 'body' attribute:
How to avoid multiple <html> and <body> tag generation?
Regards,
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56229
|
|
|
Please be sure to ask Tiles questions in the Struts forum. I have moved this post there for you.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eduards Sizovs
Greenhorn
Joined: Apr 25, 2009
Posts: 7
|
|
|
I appreciate it,
|
 |
Eduards Sizovs
Greenhorn
Joined: Apr 25, 2009
Posts: 7
|
|
Up!
Tile experts, please help!
|
 |
 |
|
|
subject: Including JSPX in other JSPX
|
|
|