Name | Modified | Size | Downloads / Week |
---|---|---|---|
shpfj-1.0 | 2010-10-27 | ||
readme.txt | 2010-10-27 | 1.0 kB | |
SHPFJ-version-1.0.jar | 2010-10-27 | 8.6 kB | |
Totals: 3 Items | 9.6 kB | 0 |
Static Html Parser for Jersey The framework basicaly parses static html files. To this moment Jersey could send back html content, but the html tags are written in code JAVA. The SHPFJ separates the code from the static html files. There are some annotations which you use in the html file when you have to deal with dynamic content in the html file. Annotations used in html files: 1.) Openning annotations @dIMG stands for a dynamic image tag. @dA stands for a dynamic link tag. @dTR stands for a dynamic row (TR) tag in a table @dTD stand for a dynamic data (TD) tag in a table 2.) Enclosing annotations @dETR stands for the enclosing row(TR) tag in a table @dETD stands for the enclosing data (TD) tag in a table Pro vs Con in SHPFJ 1.) PRO You can separate enteirly the static html file from the JAVA code. Support dynamic content merging with static html. 2.) Con You expose the static html file for the internet Can support images in the static html file.