Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Static Code Analyzer for JSP files

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic