Re: Using JUnit for a Webpage to be designed in JSP
Monday, April 7, 2003 05:40 PM
The code to access the database should not be in the JSP. It should be in a java class. This java class can be tested with JUnit. Take a look at mockobjects.com to see how to simulate the database.