server.xml中的<host></host>中写入
<Context   path=""   docBase="E:\myweb"   debug="0"   reloadable="true"   crossContext="true"   /> 
//科学计数法的转换//
DecimalFormat df = newDecimalFormat("####.000");
df.format(要格式的值);  
/***************//  
DecimalFormat format = (DecimalFormat) NumberFormat.getPercentInstance();
format.applyPattern("#####0");
String temp = format.format(Double.MAX_VALUE);
System.out.println(temp); 
	posted on 2007-07-31 12:26 
Dong 阅读(230) 
评论(0)  编辑  收藏