jsp?还是javascript?jsp的话,用java.util 的Date对象的after(Date when) 或before(Date when) 可以知道前后顺序,javascript的可能麻烦一点,还不知道简单的办法!