welcome
JSPChecker is a source-code checker for JSPs. It parses JSP / HTML pages for usage of particular tags and scripts such as HTML FORM, Javascript, in-page Java, scriptlets, and custom regular expressions either through an ANT task or command-line tool. The custom expression configuration allows you to check for any regular expression pattern. It also allows the checking of the absence of one expression within the results of another - for example, checking that all input tags have a name attribute, or checking that all pages have a DOCTYPE tag. It is the use of custom regular expressions that makes this tool powerful for maintaining JSP files on large projects. See the SourceForge.net site for downloads, project details and to make suggestions for improvements or new functionality.latest news
March 18, 2005 - Version 1.1 of JSPChecker is now available for download from Sourceforge.net. The major change is the addition of an output formatter (in xml or plain) with an xsl file which can be merged with the xml to produce a html report. November 25, 2004 - Version 1.0 of JSPChecker is now available for download from SourceForge.net. See the download link on the left.There is also now a mailing list - jspchecker-users@lists.sourceforge.net
future plans
Ideas for features to be added in future releases include checks for:- Page length
- Line length
- GUI for creating / updating the configuration more easily
- GUI tool for the checker itself
Installation
Download from SourceForge using the link on the left. Choose from the normal distribution zip or the src zip.Installing from the binary distribution zip
- Unzip the file.
- Make sure the jars included are available in the classpath (depending on how you wish to run it - ANT vs command-line)
- See the instructions below for usage
Installing from the source zip
- Unzip the source file.
- You should have the following directories: src, lib, test, testdata
- The build.xml file at the root level is an ANT script that contains targets for compiling, testing and building the jspChecker.jar distribution
- Run the 'dist' target to create the distribution. This will be placed in build\dist
See the usage page for details on how to run JSPChecker.