1. Page name:
Login Login
Registration Register
Users user
Creating Create
Modify Update
Remove Delete
Query Selete
controller Controllers
user name Username
Password Password
The JSP page is named lowercase, and it is recommended to use lowercase. such as: product_list.jsp or productlist.jsp
if the English is not very good, then use Pinyin first letter or complete Pinyin name: or take translation dictionary to check. (multiple words are suggested to be separated by "_"), generally do not exceed 20 bytes.
2. Attribute naming
ID: Connector naming method "Id-name"
Class: Connector naming method "Class-name" or "class_name"
Name: Camel-named "HelloWorld"
3. Form element naming must be prefixed
Label:lbl
Text:txt
Password:txt
Textarea:txt
File:txt
Radio:rad
Checkbox:chk
Submit:btn
Reset:btn
Button:btn
Hidden:hid
Do not forget to Beginner's mind, Fang must always.
JSP page and attribute naming conventions