0.1.5 • Published 7 years ago

jsp-renderer v0.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 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

7 years ago

0.1.4

7 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago