Author: Marija čurić

Unit testing with Stripes

I’ll describe here how to do unit testing on ActionBeans when working with Stripes technology. More specifically, I’ll focus on testing approach using MockRoundtrips.
Stripes comes with large set of mock objects which implement interfaces in Servlet specification. We’ll focus on two of them: MockServletContext and MockRoundtrip.

Java code inside JSP page

Java Server pages technology allows us to combine HTML (or some other) output and Java code in a single JSP file. Although mixing Java code with HTML output generally isn’t very good development approach, there are situations when you can’t avoid it. Here are some of our guidelines for better code organization.

Got a project for us?
Let's talk.