All base types of non-byte types can be converted to strings through the string.valueof () method
Comparison of non-basic types requires the use of the Equals method
Get parameter values for form submission
1:string name = Request.getparameter (' name ');
Gets the array value of the form submission
1:string[] NameList = request.getparametervalues (' listname ');
Passing parameters to a page
1:request.setattribute (' var ', value);
Session action
1: session.setAttribute('var',value);
2: session.getAttribute('var');
3: session.removeAttribute('var');
Split a string into arrays
1:string[] col= mystr.split (', ');
To determine the length of an array
1:mylist.length;
Converts a string to an integral type
1:integer.parseint (STR);
Output passing values in a JSP page
1: <bean:write name='Obj' property='Id' /> //对象的某个属性
2: <bean:write name='name' />
Map Action Method
1: Map condition= new HashMap();
2: condition.put('name', value);
3: condition.get('name');