StrutsCatalog: Use <html:rewrite> to reference stylesheets and other HTML assets.

The html:link rewrite accepts a context-relative URL, and also encodes it if necessary, so resources subject to container managed security can be retrieved.

  <LINK REL='stylesheet' HREF='<html:rewrite page="/path/to/CSS"/>' TYPE='text/css'> 

TedHusted


Comments: