File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes HTML tag in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HTML tag in Struts" Watch "HTML tag in Struts" New topic
Author

HTML tag in Struts

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

What is the use of saying <html:html xhtml="true"> ?? What effect does this have? Please help guys!

Thanks in advance.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
Text from Apache site

Render HTML tags as XHTML

Using this tag in a page tells all other html taglib tags to render themselves as XHTML 1.0. This is useful when composing pages with JSP includes or Tiles. <html:html xhtml="true"> has a similar effect. This tag has no attributes; you use it like this: <html:xhtml/>.

Note: Included pages do not inherit the rendering style of the including page. Each JSP fragment or Tile must use this tag to render as XHTML.
 
wood burning stoves
 
subject: HTML tag in Struts
 
Similar Threads
Salary for Technical Architect
Google Mail
WA #1.....word association
How can i get Servlet RI source code?
The best puzzle(IIM Indore)