File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Unit Testing JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Unit Testing JSP" Watch "Unit Testing JSP" New topic
Author

Unit Testing JSP

Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Hi All,
Can anybody tell any good tutorial or any example on unit testing JSP using Cactus and JUnit. I will be greatful if u will provide me with an example or any link on internet. Please reply as soon as possible.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31385
    
184

Ali,
The cactus site has a good tutorial on how to do this.
If you are interested in buying a book, "Junit in Action" is excellent. There are many examples of how to use cactus to test different types of things. (servlet, filter, database, ...)


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unit Testing JSP