升级jdk1.4 呵呵
或者也许把jdk的api考到jdk1.3里
或者也许把jdk的api考到jdk1.3里
解决方案 »
- jsp提取系统时间
- 嵌入JSP中的CSS显示效果和在 HTML 中的不一样...为什么...
- 为什么我的网站第一次还是连不上呢,要刷新一次才行?
- 论SOA的开发(国内几乎没有人敢吃这第一只螃蟹) 讨论 散分~
- 请问struts架构中关于tiles文件中form bean null on action的问题
- JSP连接数据库access遇到问题。十万火急!
- 为什么jsp页面的汉字提交到form就编程乱码了?
- 求助:导入自定义标签的jar包 出现NoClassDefFoundError:JspException
- 一个mysql问题
- 介绍一些学习struts的书籍或资料!
- 很急--关于jsp中包的问题
- 请问如何用jsp开发管理信息系统
{
out = new Array("源字符串");
add = new Array("目标字符串");temp = "" + entry; // temporary holder
for (i=0;i<字符串长度;i++)
{
while (temp.indexOf(out[i])>-1)
{
pos= temp.indexOf(out[i]);
temp = "" + (temp.substring(0, pos) + add[i] + temp.substring((pos + out[i].length), temp.length));
}
}
document.form.Body.value = temp;
}
{
int intStart=0,intFind=0;
int intEnd=0; String strTemp1=str1;
String strTemp2=str2;
if (blnIgnoreCase)
{
strTemp1=strTemp1.toLowerCase();
strTemp2=strTemp2.toLowerCase();
} StringBuffer bufResult=new StringBuffer(strTemp1.length());
intFind= strTemp1.indexOf(strTemp2, intStart);
while(intFind>=0)
{
if (intFind>intStart)
{
bufResult.append(str1.substring(intStart,intFind));
}
bufResult.append(str3);
intStart = intFind+strTemp2.length();
intFind= strTemp1.indexOf(strTemp2, intStart);
} if (intStart<str1.length()) bufResult.append(strTemp1.substring(intStart));
return bufResult.toString() ;
}
{
int intStart=0,intFind=0;
int intEnd=0; String strTemp1=str1;
String strTemp2=str2;
if (blnIgnoreCase)
{
strTemp1=strTemp1.toLowerCase();
strTemp2=strTemp2.toLowerCase();
} StringBuffer bufResult=new StringBuffer(strTemp1.length());
intFind= strTemp1.indexOf(strTemp2, intStart);
while(intFind>=0)
{
if (intFind>intStart)
{
bufResult.append(str1.substring(intStart,intFind));
}
bufResult.append(str3);
intStart = intFind+strTemp2.length();
intFind= strTemp1.indexOf(strTemp2, intStart);
}
if (intStart<str1.length()) bufResult.append(strTemp1.substring(intStart));
return bufResult.toString() ;
}