`
hongshenghome
  • 浏览: 24730 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表

格式化数字

NumberFormat formatter = new DecimalFormat("#0.00"); double money = 100550000.755; System.out.println(formatter.format(money));

json jar

springmvc json jar
  修改tomcat/conf/server.xml 中 如下加入URIEncoding="UTF-8"   <Connector URIEncoding="UTF-8" connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>

hibernate

http://www.iteye.com/problems/57074

springmvc问题

http://www.iteye.com/problems/71099

springmvc

http://www.blogjava.net/maverick1003/articles/236575.html   jstl 标签使用

springmvc

spring mvc 3.0 实现文件上传功能     spring mvc 支持web应用程序的文件上传功能,是由spring内置的即插即用的MultipartResolver来实现的,这些解析器都定义在org.springframework.web.multipart包里。下面将使用CommonsMultipartResolver解析器来实现 ...

eclipse

错误Server Tomcat v6.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.修改 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml文件。<servers><server hostname="localhost" id=&q ...

springmvc

@ModelAttribute spring 此注解 有什么具体作用 spring 此注解 有什么具体作用public String submit(@ModelAttribute("customer") Customer customer,   BindingResult result) {  customerService.editCustomer(customer);  return "/outer/customer/success"; }customer是实体类 通过 SpringMVC 的 SessionAttributes Ann ...

springmvc

http://www.iteye.com/problems/65175

jdk api

Java api 全集 【API JDK1.6中文版】 J2SE DK & API下载-------------------------http://java.sun.com/j2se/1.3/download.htmlhttp://java.sun.com/j2se/1.4.2/download.htmlhttp://java.sun.com/javase/downloads/index_jdk5.jsphttp://java.sun.com/javase/downloads/index.jspJ2EE DK & API下载 -------------------------h ...

动态select 选择

    博客分类:
  • js
var yearstrselArr = document.getElementById("yearstr").options; for(var i=0;i<yearstrselArr.length;i++){ if(yearstrselArr[i].value=="<!--yearstr-->"){  yearstrselArr[i].selected = true; }
驱动器:*  1. Oracle:  oracle.jdbc.driver.OracleDriver*  2. Access:  sun.jdbc.odbc.JdbcOdbcDriver*  3. SQL Server: com.microsoft.jdbc.sqlserver.SQLServerDriver      net.sourceforge.jtds.jdbc.Driver*  4. DB2:  com.ibm.db2.jdbc.app.DB2Driver *  5. Informix:  com.informix.jdbc.IfxDriver*  6. Sybase:  com.s ...

linux

备份数据库命令 exp 用户名/密码file=/home/test.dmp owner=用户

查看设置时间

date   查看系统时间   设置系统时间   # date --set “09/17/10 11:50" (月/日/年时:分:秒)
Global site tag (gtag.js) - Google Analytics