Leos,

> My problem is, that there is no single line in documentation
> describing, how to open URL with jsp. Doc for ServletTestCase
> relies on fact, that you are instantiating servlet class,
> which will not work with jsp. And JspTestCase seems to me
> focused on tag library, and there is no way to execute jsp.

>From what you have described you are looking for a functional test environment, not a 
>unit test environment. HTTPUnit might be more in line with your requirements. Cactus 
>is designed to test the components of a web application --  mostly servlets, filters, 
>tags. If you are just wanting to test that a JSP gets executed/built properly, use 
>HTTPUnit. 

What you have described, however, suggests that you have at least some business logic 
in your view (JSP) and might want to consider moving that functionality up the 
hierarchy a bit. 

As far as your needs are concerned, read the following for more info:

http://jakarta.apache.org/cactus/mockobjects.html

-= J


 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to