learn java
The moose likes JSP and the fly likes Generating javadoc for JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Generating javadoc for JSP" Watch "Generating javadoc for JSP" New topic

Generating javadoc for JSP

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Dear Friends, Pardon my ignorance!
I tried to generate javadoc for two JSP pages in a seperate directory using the command javadoc -private *.jsp. However only one html file named constant-values.html was generated with nos sigficant values in it.
Is it possible to generate javadoc for JSP pages? As I generate jabadoc for servlets and JSPs are compiled in servlets at runtime, I think there should be a way in my IDE (NetBeans) to do that or simply from command-propmt would also do for me.
Any hint here?

Ashik Uzzaman
Senior Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8920

I understand that javadocs can be generated for java source files only. So when JSP are converted to servlet, get hold of the source and run javadoc tool on those files.

It is sorta covered in the JavaRanch Style Guide.
subject: Generating javadoc for JSP