我需要在Java+JSP(1)中记录一个(相当大的)项目。别让我开始)。
对于中间层(ALL。Java类),我只使用doXEGEN来生成.html和.pdf文档,但是我的主管要求我对JSP页面的文档进行文档化和集成。
Afaik Not Doxygen和JavaDoc直接适用于此工作。我错了吗?
我唯一能想到的方法是在JSP页面中插入EDCOX1 0,然后编译.jsp in .java文件,然后应用DoXEGEN…但有点太复杂了…
您的建议看起来像是我要做什么才能让用doxygen编写的javascript文档:)
JSPDOC就是为此而创建的
JSPDOC能够浏览JSP的集合。原理与JavaDoc非常相似,您可以向每个JSP添加一个注释部分,如下所示:
directory2.jsp
System
List all jsp files with category and summary
10/08/01 us Gilbert Brault
creation
10/25/01 us Gilbert Brault
adapted pharos:foreach switch itCounter to Integer (was int before)
if refresh set or new session, list all jsp files of the server and parse them
List files according to the following criteria
creation order (item #) column
file name (no case sensitive)
category of processing
display modification date and allow ordering by dates
Schneider-Electric 2001
*/
您可以使用三种服务浏览此收藏集:-目录->列出所有带注释的JSP-文档->提供JSP结构的摘要,包括上述文档-jspskleton:呈现HTML并将JSP嵌入为文本
参见:http://jspdoc.sourceforge.net/