This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes Find errors in JSPs using PMD? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Find errors in JSPs using PMD?" Watch "Find errors in JSPs using PMD?" New topic
Author

Find errors in JSPs using PMD?

srinivas mallabathula
Greenhorn

Joined: Apr 12, 2011
Posts: 7
I have used PMD for finding errors of java files in Eclipse IDE. But PMD is not working for finding errors in JSP files.Is there any way to find errors in JSPs?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

http://pmd.sourceforge.net/jspsupport.html
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30361
    
150

The biggest restriction is that your JSP must be properly formed. However if you had a good modern JSP, it wouldn't have Java code in the first place and wouldn't need PMD to run against. Catch 22.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
wood burning stoves
 
subject: Find errors in JSPs using PMD?