A collection of snippets for common JSTL tags
Latest commit b97d9a3 Dec 9, 2010 @eentzel <%@ include %> snippet
Failed to load latest commit information.
jsp-mode <%@ include %> snippet Dec 10, 2010
README.md README should explicitly mention JSTL Mar 9, 2010


A collection of snippets I've found useful while editing JSP files using emacs & yasnippet mode. Covers a subset of the core JSTL tags. Assumes that you use a mode called "jsp-mode" to edit JSPs. If this isn't true, you can either rename the jsp-mode directory to the name of the mode you use, or you can put something like this in your .emacs (assuming you currently use nxhtml-mode to edit JSPs):

(define-derived-mode jsp-mode nxhtml-mode "JSP"
  "Major mode for editing .jsp files - identical to nxhtml-mode, but
  allows some mode hooks to run for jsp-mode but not html-mode")
(add-to-list 'auto-mode-alist '("\\.jsp$" . jsp-mode))

If you make any additions or improvements to these snippets, pull requests are welcome.