0.1.5 • Published 8 years ago

jsp-renderer v0.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

jsp-renderer

Render JSP to HTML, simply remove Java code block and other things not supported, but support some necessary things like <%@include%>, <%=..%>, ${..}, <c:if>, etc.

Usage

Run:

npm test

Then open your browser to http://localhost:8080/page/test.jsp.

API

middleware(options)

Return express middleware.

Options:

  • jspRoot {String} root directory of JSP files
  • dataRoot {String} root directory of mock data
0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago