• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

testing dostart and doend tag

 
sangineni phaninder
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"
can some one send a sample code on testing dostart and doend methods"
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34695
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you have so far? What are you stuck on?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And how should we know what "dostart" and "doend" are?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if you're looking for a JUnit test, or just some code that you can run and test on its own. Here's a little custom tag I use on my site:

There's a multimedia tutorial on my website that demonstrates how to create a custom tag, and incorporate it into a JSP. There is also a downloadable EAR/WAR file that you can deploy on your own:

Creating Custom Tag Libraries for use in JSP Pages

Cheers!

-Cameron McKenzie


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic