代码保存之后,以下语句多了空格,删掉即可:
service.setRealPath( " d: " );
urlMap.put( "
http://localhost:8080/index.jsp " , " /temp/index1.html " );
urlMap.put( "
http://www.yahoo.com.cn/ " , " /temp/index2.html " );
new FileOutputStream(file), " GBK " );
blogjava提供的编辑器功能一堆,华而不实,非常不好用,我试着重新编辑,结果无功而返。