Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating javadoc for JSP

 
Ashik Uzzaman
Ranch Hand
Posts: 2373
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic