[opencms-dev] JSP link error?
TOH CZ
cz_toh at yahoo.com
Sat Feb 27 20:27:49 CET 2010
Hi all, I am developing a simple user registration page. The page is sent to another JSP page to be checked for errors once
the submit button is clicked. This was developed using normal JSP outside OpenCMS and is working outside of it
I have changed the coding from normal JSP to OpenCMS compliant based on examples I found elsewhere as follows:
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<form action="<cms:link>RegistrationCheck.jsp</cms:link>" method="post">
However, attemptign to test the page in open CMS results in:
org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/CIS320Project/RegistrationCheck.jsp".
at org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsResourceNotFoundException.java:79)
at org.opencms.db.CmsDbContext.throwException(CmsDbContext.java:238)
at org.opencms.db.CmsDbContext.report(CmsDbContext.java:212)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4035)
at org.opencms.file.CmsObject.readResource(CmsObject.java:3525)
at org.opencms.file.CmsObject.readResource(CmsObject.java:3492)
at org.opencms.file.CmsObject.readDefaultFile(CmsObject.java:2694)
at org.opencms.main.OpenCmsCore.initResource(OpenCmsCore.java:1350)
at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:1487)
at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:153)
at org.opencms.main.OpenCmsServlet.doPost(OpenCmsServlet.java:166)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
Caused by: org.opencms.file.CmsVfsResourceNotFoundException: Unable to read resource "/CIS320Project/RegistrationCheck.jsp".
at org.opencms.db.generic.CmsVfsDriver.readResource(CmsVfsDriver.java:1951)
at org.opencms.db.CmsDriverManager.readResource(CmsDriverManager.java:6524)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:5854)
at org.opencms.db.CmsSecurityManager.readResource(CmsSecurityManager.java:4033)
... 21 more
Running OpenCMS 7.5.2, Apache Tomcat 6.0 and MySQL server 5.1
Both files are in the same folder
Is anyone able to explain where I went wrong here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100227/69d011e4/attachment.htm>
More information about the opencms-dev
mailing list