response.sendRedirect("d:\\other.doc");这句话有问题。
d:\\other.doc是无法在IE里打开的,
response.sendRedirect(java.lang.String location), 其中的location必须是一个能够代表URL的字符串,比如/index.html、http://www.sina.com.cn,
如果你想访问本地文件,那么要写成file:///d:/other.txt
文件类型也有限制,txt、html没问题,doc应该不行。
d:\\other.doc是无法在IE里打开的,
response.sendRedirect(java.lang.String location), 其中的location必须是一个能够代表URL的字符串,比如/index.html、http://www.sina.com.cn,
如果你想访问本地文件,那么要写成file:///d:/other.txt
文件类型也有限制,txt、html没问题,doc应该不行。
html这类的文件,系统都知道怎么处理文件句柄冲突的,这些非web的文件系统就不知道了
================================================================
把手机变成笔记本的理由:....请看http://wireless2k.com,还需要更多吗?
移动控制台1.1,免费推广,免费获取注册码中!
================================================================