File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes testing dostart and doend tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "testing dostart and doend tag" Watch "testing dostart and doend tag" New topic

testing dostart and doend tag

sangineni phaninder

Joined: Oct 28, 2006
Posts: 6
can some one send a sample code on testing dostart and doend methods"
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32820

What do you have so far? What are you stuck on?

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
And how should we know what "dostart" and "doend" are?

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

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


-Cameron McKenzie

I agree. Here's the link:
subject: testing dostart and doend tag
It's not a secret anymore!