struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernandes Celinio SGCF" <>
Subject RE: component vs s:include
Date Fri, 02 Jan 2009 14:05:04 GMT
To answer your question I am quoting the book "Practical Apache Struts 2 Web 2.0 Projects"
by Ian Roughley :
Using the component tag is similar to using an include tag of either the Struts 2 or JSP variety.
The difference is conceptual, in that the component tag is meant to be a user interface widget
rather than already preformatted text. As such, it includes the Struts 2-specific theme attribute,
as well as the JavaScript event attributes, CSS attributes, and HTML attributes found on the
other Struts 2 tags.

Celinio Fernandes

-----Message d'origine-----
De : François Rouxel [] 
Envoyé : mercredi 31 décembre 2008 23:04
À : Struts Users Mailing List
Objet : s:component vs s:include

Struts 2.x

Can anybody tell me the difference between s:component and s:include ?

thanks a lot

happy new year



To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message