Hi every body..
I am developing an application. To check the code standards i am running
pmd which i have integrated with my
IDE.
On each of the
servlet i am using try catch as follows
well it means that my all case statements are in try catch block.
Problem 1st
But when i ran PMD for this file....it gives an error saying
"Avoid using catch-all blocks; except in 'main()'."
well i am not getting the meaning of this result.
does it mean that for each case i should put try-catch seperately...??
can any body guide me please.
Problem 2nd
In finally block i am using out.close() to free the resources.
if use
System.out.close() ..... will it have the same effect or using
out.close() is necessary.
Thanks.