Date rxsj1;
DateFormat dateFormat;
dateFormat = new SimpleDateFormat( "yyyy-mm-dd",Locale.ENGLISH );
dateFormat.setLenient( false );
rxsj1=dateFormat.parse( rxsj );
直接取值不知行不行?
可以的话,有问题
1.class simpledateformat not found in class add_0002ejsp_jsp at line46
2.variable locale not found in class add_0002ejsp_jsp at line46
3.incompatible types:found:java.util.date,required:java.sql.date at line 48