aspose file tools*
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
Author

Logging and Unit test in Struts

Adolfo Gonzalez
Greenhorn

Joined: Feb 02, 2005
Posts: 11
Hi,

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

Thanks


IBM 285, SCJP
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 (http://jakarta.apache.org/cactus/ and http://logging.apache.org/log4j/) download the products, and follow the instructions for installing them and using them.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging and Unit test in Struts
 
Similar Threads
Logging and mail notficatin after test
LOG4J in Junit Tests
Singleton pattern
Unit Testing classes that aren't Activity/Service etc
Unit testing database connections in container