我得到了含有与Click事件中的一个按钮小的XPage:重定向显示了错误“无法创建页面”
context.redirectToPage("http://server:8080/AWM.nsf/viewAllDocuments.xsp", false);
当我按一下按钮我geht以下错误消息:
Error while executing JavaScript action expression Script interpreter error, line=1, col=9: [TypeError] Exception occurred calling method XSPContext.redirectToPage(string, boolean)
com.ibm.xsp.page.PageNotFoundException: Could not create the page /http://server:8080/AWM.nsf/viewAllDocuments.xsp because the class xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments could not
be found. Please check your spelling.
com.ibm.xsp.page.PageNotFoundException: Could not create the page /http://server:8080/AWM.nsf/viewAllDocuments.xsp because the class xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments could not
be found. Please check your spelling. Could not create the page /http://server.de:8080/AWM.nsf/viewAllDocuments.xsp because the class
xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments could not be found. Please check your spelling. Cannot find class xsp.http_003a._002fserver_003a8080.awm.nsf.ViewAllDocuments in NSF
我试图重建数据库并做了一个干净的,但没有改变。 xpage viewAllDocuments.xsp存在,如果我复制错误消息的路径并尝试直接打开该页面,那么工作。
有人可以在这里给我提示吗?
这就是它!使用没有第二个参数的同样的重定向工作! – 2013-04-29 12:08:32