RE: Custom Tag Can't Compile problem.

2001-08-29 Thread Blanchard Andrew H (CPOCEUR)
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

RE: Custom Tag Can't Compile problem.

2001-08-29 Thread Blanchard Andrew H (CPOCEUR)
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

RE: Custom Tag Can't Compile problem.

2001-08-29 Thread Blanchard Andrew H (CPOCEUR)
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();

TC 4.0 - IllegalStateException: Cannot create a session after the response has been committed

2001-08-22 Thread Blanchard Andrew H (CPOCEUR)
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