Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem in Custom Tag class  RSS feed

 
naresh govindaswmay
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have a problem in the classic custom tag.classes like TagSupport and SimpleTagSupport.... can not be visible for my class.please check it and let me know. I have enclosed my handler file and jsp files here.Also javax.servlet.http.jsp.JspException also is not visible in out class.for that,I have set J2EE.jar in the class path.Then also these files are not visible in me class.please help me out of this

*******Hanlder file-->ClassicTagHandler.java *******


Tld file -->

<-- JSP file -->


<--Error Message-->
E:\CustomTagDevelopment>ant
Buildfile: build.xml

compilesources:
[javac] Compiling 1 source file to E:\CustomTagDevelopment\WEB-INF\classes
[javac] E:\CustomTagDevelopment\WEB-INF\src\ClassicTagHandler.java:5: cannot find symbol
[javac] symbol: class TagSupport
[javac] public class ClassicTagHandler extends TagSupport
[javac] ^
[javac] 1 error

BUILD FAILED
E:\CustomTagDevelopment\build.xml:11: Compile failed; see the compiler error output for details.

Total time: 12 seconds

Thanks and regards
naresh govindaswamy



[BSouther: Added UBB CODE tags]
[ October 31, 2007: Message edited by: Ben Souther ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You forgot to import it :
import javax.servlet.jsp.tagext.*;
[ October 31, 2007: Message edited by: Christophe Verre ]
 
naresh govindaswmay
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Thanks a lot.before that i have imported wildcard of servlet package rite. why it is not taking.

Thanks and regards
naresh govindaswamy
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!