我在使用 eID servlet 时遇到了一点问题。它现在搜索一个 .jnlp 文件来启动 servlet 它永远不会找到那个 .jnlp 文件,即使它已经在同一个映射中。我认为这与映射有关。我有一个 registercontroller 向他发送 register.jsp,它从 servlet 运行一点 javascript 代码而不是我下载的代码这个 servlet 包括我的 spring 视图的屏幕截图以获取结构:
http://dl.dropbox.com/u/608219/Naamloos.png
那么我的servlet给出的错误是:
exception: JNLP file error: http://localhost:8080/Burgerdemocratie/register/WEB-INF/views/eid/beid.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct..
java.io.FileNotFoundException: JNLP file error: http://localhost:8080/Burgerdemocratie/register/WEB-INF/views/eid/beid.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct.
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP file error: http://localhost:8080/Burgerdemocratie/register/WEB-INF/views/eid/beid.jnlp. Please make sure the file exists and check if "codebase" and "href" in the JNLP file are correct.
所以我真的认为这与映射有关,如果我错了,请纠正我。
有没有办法解决这个问题,让它找到 .jnlp 文件?
亲切的问候,