October 31st, 2002, 01:21 PM
Problem with tags
Hi. I'm having a problem with my TAG on a JSP page. It seems as if once there's a bug in my tag code, no matter what I do to change the code (including taking all the code out of the TAG so that it does nothing), the tag will never again work on my page. The funny thing is that it starts off working fine. But as I add to the tag and make an error in the java code, the tag never again works. It gives this error:
The thing is that I'm not casting any value. And even when the tag contains nothing in doInitBody() and doAfterBody(), I still get the error.
October 31st, 2002, 04:05 PM
It sounds like it might be an issue with your app server not refreshing resources when they change. I haven't done any tag development, though, so it could be something different.
What app server are you using?
November 1st, 2002, 09:54 AM
Im using Tomcat 4. something.
November 1st, 2002, 11:27 AM
Try setting the reloadable attribute in your <context> to "true".
This will be in your server.xml file.
November 1st, 2002, 11:30 AM
November 1st, 2002, 11:37 AM
Does the problem go away after you restart the app server? Temporarily, at least.
November 1st, 2002, 05:45 PM