我想用java实现压缩包中图片的预览,运行时服务器提示出现非法字符,相关代码如下:/**
  *删除zip中的文件
  *参数:文件清单数组,释放路径
  *返回值:如果删除成功返回0,否则返回-1
  */
 protected 
 long deletereleasezipfile(string[] listfilepath,string releasepath){
  long  arraylen,flagreturn;
  int k = 0;
  string temppath;  
  //存放zip文件清单的路径
  string[] patharray = new string[zippathcount];
  //删除文件
  arraylen = listfilepath.length;
  for(int i=0;i<(int)arraylen;i++){
   temppath = releasepath.replace(\\,/) + listfilepath[i];
   flagreturn = deletefile(temppath);
   if (flagreturn == -2){
    //什么都不作
   }else if (flagreturn == -3){
    patharray[k++] = temppath;
   }else if (flagreturn == -1){
    return -1;
   }
  }
其中temppath = releasepath.replace(\\,/) + listfilepath[i];提示\\为非法字符,请问应该怎么修改,