Is there any reason one would use write() over print() when writing output
using a JspWriter?

The reason I ask, is that the write() method is not implemented by
MockObjects and the print() method is. I have ported the URLTag over to
WebWork 2 and have some JUnit tests to go along with it, but I had to change
to using the print() statement.

Here's the line in question:

pageContext.getOut().write(result);

If print() can be used, I'll submit both the URLTag and the associated JUnit
test.

Thanks,

-Brock


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to