jsp显示excel文件的问题

我在jsp上想显示excel,原来的做法:
<input type="button" name="" value="导出excel" onclick="exportEXL(this)">

function exportEXL(obj){
obj.form.action='c:\\test.xls'
obj.form.target='_blank'
obj.form.submit();
}
没有问题,系统是2000,但是在xp下就提示页面错误:无法访问。
请知道解决之道的高手指点一下~~~~谢谢