开发中的知识点

1、关于各种类型的web项目根目录

    eclipse默认webcontent
    myeclipse默认webroot 
    maven默认webapp

2、将查询出来的数据进行处理(1.2->2  , -12.3->-13)

CEIL(ABS(?)*POWER(10,0))/POWER(10,0)*SIGN(?)

3、对于jsp页面中的报错,若想要多项保存为一个错误,需要进行以下处理(在struts1的环境下)

<font class="error_msg">
    <html:messages id="messageid">
        <c:if test="${not empty messageid}">
            <bean:write name="messageid"/><br>
        </c:if>
    </html:messages>
</font>
</div>

 4、json-lib依赖的包

  commons-beanutils-1.8.0.jar
  commons-collections-3.1.jar
  commons-lang-2.5.jar
  commons-logging-1.1.1.jar
  ezmorph-1.0.6.jar
  json-lib-2.4-jdk15.jar

 5、mysql处理结果随机显示

order by rand()
原文地址:https://www.cnblogs.com/tombsky/p/3965841.html