Women in Technology

Hear us Roar



Article:
  Designing JSP Custom Tag Libraries
Subject:   help trying tu run it
Date:   2004-06-25 00:29:12
From:   sjsobol
Response to: help trying tu run it

I forgot to add this...


I use Apache to serve HTML/PHP. I am using Jetty to serve JSP files and servlets from the same directory as the HTML and PHP files. In my case, the example given by Sue required me to put the TLD file in the top directory of the website, not under WEB-INF. So it depends on what your specific setup is.

Full Threads Newest First

Showing messages 1 through 2 of 2.

  • help trying to run it
    2004-06-29 18:00:41  jeepzy3 [View]

    I made the corrections posted by sjsobol, moved the TLD file to the top level(was previously getting an error as well), but still can't seem to get this to work.

    I am getting error:
    org.apache.jasper.JasperException: /hello.jsp(7,16) Unable to load class hello

    hello.jsp
    <%@ taglib uri="/oreillySample.tld" prefix="sample" %>
    <html>
    <head>
    <title>Your Standard Hello World Demo</title>
    </head>
    <body bgcolor="#ffffff">
    <hr />
    <sample:hello name="Sue"/>
    <hr />
    </body>
    </html>

    Any ideas of what else I can check? -- thanks
    • help trying to run it
      2004-06-29 18:02:44  jeepzy3 [View]

      Forgot to mention... I am running jakarta-tomcat-4.1.27.