Hi,
I am not yet using Struts but I would like to apply some functionality of it
in a webapp I'm doing. ActionServlet logs messages if the debug value is >=
1. I'm thinking about writing the messages (maybe just certain warnings or
error messages ) to a log file (most possibly an AS/400 file), which is to be
cleared periodically , perhaps weekly. Any idea on how to do this?
I've seen the source of FastArrayList/FastHashMap and the author recommends
using ArrayList/Hashmap when accessing them within a single thread. I intend
to use the latter pair instead of Vector/Hashtable for maximum performance.
If I declare/define them inside a servlet's method, there'll be no
synchronization problem, right? What if I declare/define them in a
non-servlet class, say Action or ActionForm, would there be synchronization
issues?
Any help would be highly appreciated.
Thanks in advance.
-Dingdong

