On 11/22/06, Don Brown <[EMAIL PROTECTED]> wrote:
The goal is to map the com.company.actions.member.ViewAction to
http://company.com/member/view.action

To do this, we need to process the ViewAction class name by extracting
the part before Action and lowercasing the first character.

Why not follow the same convention as the Action class?

http://company.com/member/View.action

works just the same.

Anyone who wants lowercase actions could just style the class with a
lowercase name. Java doesn't care about the case of a classname. It's
just a Sun convention.

* http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html#367

If the Sun convention is that the initial letter of a class name is
upper case, then perhaps we should follow suit, and adopt the
convention that action names should be styled like class names.

-Ted.

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

Reply via email to