Best ways to unit test servlet MVC-1 oriented code

B

Berlin Brown

I am working with a large application that uses older 'Servlet'
oriented style of development. Basically, everything piece is a
servlet or connected to some kind of filter.

We could rewrite so that all the 'request.getParameter' and other
servlet calls are far from the actual business logic but it isnt and I
can't change it.

I tried junit cactus but I have redirects (302? 303) responses and
cactus didnt like that. Actually httpunit didnt like redirects.

I was going to try httpunit, but (see above) httpunit doesnt like
redirects.

Anybody have any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top