Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Static Code Analyzer for JSP files  RSS feed

 
Zen San
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any tool which does code analysis on JSP files like PMD/checkstyle does on Java.

Thanks In Advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. This question belongs in the JSP forum
2. Note that JSP gets turned into a java file you can find in the work directory so you can apply any java tool to it.
 
Zen San
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill - Let me exploring the work directory and figure out further. Thanks for the response. And sorry about posting this query in WebServices forum. Being away from ranch for a while I was lost - how to move my question to appropriate forum and had to leave it webservices forum. Shall make sure does not happen again. Thanks again.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think any of the existing Java tools will help check JSP code that way - the Java code generated by the servlet container is just too different from the original JSP. It can easily be 20 times as large as the JSP because of all the code inserted of the JSP->Java compiler, and it'll be very hard to discern the original JSP in between all that code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!