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.

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • 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

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

    Any ideas of what else I can check? -- thanks