根目录下 window.location = encodeURI(encodeURI("${servletURL}?viewlet=导入测试.cpt&op=write"));
文件夹下是怎么操作的 ?
你的写法对的啊
==========
window.location = encodeURI(encodeURI("${servletURL}?viewlet=6.系统管理-库存预警设置/导入测试.cpt&op=write"));
window.location = encodeURI(encodeURI("${servletURL}?viewlet=6.系统管理-库存预警设置/预警值批量导入.cpt&op=write"));
如果还报错,你把6.去掉