Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Including JSPX in other JSPX

 
Eduards Sizovs
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64685
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Tiles questions in the Struts forum. I have moved this post there for you.
 
Eduards Sizovs
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I appreciate it,
 
Eduards Sizovs
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up!

Tile experts, please help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic