I use Tomcat 6. I am trying to write a custom tag. When I run this tag I get java.lang.ClassNotFoundException.
I am not sure what I am doing wrong here. Any help is appreciated.
Tag Class::
It'd be easier to help if you explicitly stated what class isn't being found.
Justin Howard
Ranch Hand
Joined: Feb 19, 2009
Posts: 162
posted
0
When I give doTag() in the tag class, when I run the jsp I get doStartTag() method is required error.
If I change that to doStartTag() method I get java.lang.ClassNotFoundException: org.apache.jsp.test_jsp
problem finding the compiled jsp.
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12612
posted
0
You know there's already date formatting stuff in JSTL, right? Weird name for a date formatting tag.
What DTD are you using in your web.xml?
Justin Howard
Ranch Hand
Joined: Feb 19, 2009
Posts: 162
posted
0
Thanks for the reply.
This is just one of the parameters for the tag. Once I get this working I want to build on it with more parameters and complex logic.
Thanks
Bear Bibeault
Author and opinionated walrus
Marshal