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:

StrutsCatalogHtmlRewrite (last edited 2009-09-20 23:12:03 by localhost)