struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <>
Subject Re: use of s:head
Date Thu, 30 Aug 2007 07:26:07 GMT
Pedro Herrera wrote:
> What´s the meaning o s:head. In wich cases I use it ??

Basically, the tag will render appropriate HTML for the page's theme to 
include resources such as style sheets, javascript and do forth. The 
best way to see what it's going it to include it in a page and then use 
View Source to examine the markup produced.

The most important use case is when using the 'ajax' them (for the whole 
page or for any particular form tag within the page); it's the s:head 
tag that gets the required Javascript loaded.


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

View raw message