From 1b7c7e5bdcdc519eca431e37b313899464860043 Mon Sep 17 00:00:00 2001 From: JonathanWalsh Date: Mon, 14 Mar 2011 01:01:12 -0700 Subject: [PATCH] --- README.md | 62 +++++++++++++++++++++++++++---------------------------- 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index aafd8fd..549f214 100644 --- a/README.md +++ b/README.md @@ -36,15 +36,14 @@ List of features * JDK1.5 and higher even for Google Closure Compiler. ## Installation Granule Tag Library ## -1. Download the binary distribution of Granule Tag Library by following this URL: http://code.google.com/p/granule/downloads/list (granuleNNN.zip) and unpack the compressed file. +1. Download the binary distribution of Granule Tag Library by following this URL: [http://code.google.com/p/granule/downloads/list] http://code.google.com/p/granule/downloads/list (granuleNNN.zip) and unpack the compressed file. 2. Copy granuleNNN.jar in the distribution’s ‘lib’ directory to your web applications WEB-NF\lib directory. -3. To use the granule compress tag, you must include taglib directive {{{<%@ taglib uri="http://granule.com/tags" prefix="g" %> }}}at the top of each JSP that uses this library. +3. To use the granule compress tag, you must include taglib directive <%@ taglib uri="http://granule.com/tags" prefix="g" %> at the top of each JSP that uses this library. -4. Copy the {{{ and }}} declarations from web.xml (look below) from compressed file into your /WEB-INF/web.xml -{{{ - +4. Copy the and declarations from web.xml (look below) from compressed file into your /WEB-INF/web.xml + CompressServlet com.granule.CompressServlet 1 @@ -57,36 +56,35 @@ List of features CompressServlet /combined.css -}}} 5. Put tags around the lists of script decorations (JS or CSS). For example - -{{{ - - - - -... -
- - - - -... -}}} + + + + + + ... +
+ + + + + ... + 6. Done. Run your web application and check output html source. It should convert CSS and JS declarations similar to this. -{{{ - + +