Dave Brosius wrote:

Hi folks,

   I was wondering if you folks had a list of common coding mistakes that 
people do with regards to using Struts that could be found by analysing byte 
code? I am a developer on Findbugs (findbugs.sourceforge.net) and would like to 
add detectors for such, if they exist. Thanks!




A common one is to put properties in action subclasses at class level. (action is not thread safe like that, you have to pass in arguments to method).
You could enmerate declared actions by looking at the struts xml and check them out.


.V

--
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a community
My blog <http://www.sandrasf.com/adminBlog>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to