wood burning stoves 2.0*
The moose likes Struts and the fly likes Including JSPX in other JSPX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Including JSPX in other JSPX" Watch "Including JSPX in other JSPX" New topic
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: 60782
    
  65

Please be sure to ask Tiles questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Including JSPX in other JSPX
 
Similar Threads
JSP 2.0 document
Using checkbox on Spring 2.5 MVC ?
ajax call in jquery
Facelets and JSF
how check javabean giving to other component correct data