Hi everyone,

I have a problem concerning the URL/Path/directory where my JSP file is
stored that I cannot resolve after searching the archives. I am writing
a taglib that works fine if it is accessed via a JSP file from the
webapps root, i.e. the URL http://localhost:8080/testLib/test.jsp works
fine for example. If I place the JSP file that uses the taglib in a
subdirectory of the root directory  like in
http://localhost:8080/testLib/jsp/test.jsp I always get the following
error message:

org.apache.jasper.JasperException: Unable to compile class for JSP
Found 1 semantic error compiling
"C:/Java/ApplicationServer/jakarta-tomcat-3.2.1/work/localhost_8080%2FtestLib/_0002fjsp_0002ftest_0002ejsptest_jsp_0.java":

    65.                 DateHandler _jspx_th_test_datum_0 = new
DateHandler();
                        <--------->
*** Error: Type jsp/DateHandler was not found.

I have added a context element to server.xml defining my webapp and
jasper.log says that the Classpath is set to
{webapp-root}\WEB-INF\classes where the needed class is.

Any ideas what is going wrong here? Thanks for any help, - Martin.

Reply via email to