This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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,, San Francisco, CA, USA.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

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.

jQuery in Action, 2nd edition
subject: Generating javadoc for JSP
Similar Threads
JSP's Conversion to a Servlet
Eclipse Error while generating a JavaDoc
Navigating to another page...
Documenting servlets
Java Libraries for building an HTML page