The JSP compiler needs the full package name for your Tag.
In your TLD file you have:
tagclassTagManager/tagclass
You need
tagclasscom.xyz.TagManager/tagclass
Without the package name, the compiler is looking in the org.apache.jsp
package (which I assume is not the package you've compiled your
Do you mean the class TagManager is, in fact, NOT in a package at all? If
its not, your tagclassTagManager/tagclass is correct. Its my
understanding that it *should* work as long as the file TagManager.class
exists in /WEB-INF/classes/ (or is in the classpath). I have never tried to
compile
To be honest, I don't believe a Tag can be implemented as a singleton.
However, you could *use* a singleton class from within your custom-tag and
probably achieve the same effect. For example,
public int doEndTag() throws JspException {
MySingleton sing = MySingleton.getInstance();
I'm trying to get OpenSymphony Sitemesh 1.2 running under Tomcat 4.0. I've
tried beta 7 and dev beta 8. Anyway, I'm receiving the following exception:
java.lang.IllegalStateException: Cannot create a session after the response
has been committed
at