Hi again all. I have gotten my project to a point where I realized that I was naming my classes what I wanted, instead of finding out if there is any naming conventions for struts actions and forms. If anyone can point out any standardizations I would be appreciative. I suspect that standardizations will make it easier for me to use wildcards in my mappings and what not. [ January 23, 2007: Message edited by: A knibbs ]
Joined: Aug 23, 2006
Is there no standardization documentation or rules of thumb ?
I had started to type a response back when you first posted, but I guess I did not have time to finish my thoughts. Yes, I think it is important for your project to have a consistent naming convention, but I don't know of any global standards or recommendations. I can share an example of how I typically name my actions, forms and action classes:
I suspect that standardizations will make it easier for me to use wildcards in my mappings..
I am curious...I do not use a version of Struts that supports wildcards. It seems really useful in theory because a lot of my action mappings are almost exactly alike. The place where my actions differ the most is with the list of forwards. This makes me wonder about the reality of using wildcards in action mappings.