File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Logging and Unit test in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Logging and Unit test in Struts" Watch "Logging and Unit test in Struts" New topic

Logging and Unit test in Struts

Adolfo Gonzalez

Joined: Feb 02, 2005
Posts: 11

I�m working on a J2EE web-project and I want to implement the common-logging and unit test.

I�m wonking with WSAD 5.1.2

Whichever information you have that it could help me, I�d really appreciate it


Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
There's really nothing special about integrating other open source products with a struts application. You would do it the same as with any other web application. In the case of Unit testing, you will want to use jakarta-Cactus, which integrates JUNIT into web applications. For logging, I'd use log4j.

Just go to websites ( and download the products, and follow the instructions for installing them and using them.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Logging and Unit test in Struts
It's not a secret anymore!