-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lloyd,

DIGLLOYD INC wrote:
| I think you're barking up the wrong tree here--use a Mock Object (a
| dummy) to stub out your app so it thinks it's calling the Servlet.
| After you've tested your app working, then revert to actually sending
| the request to Tomcat.

That's a great idea.

Han, how do you contact the servlet from your client? Do you use
straight HttpURLConnections?

If so, then you can use a library I wrote to test this sort of thing:
http://sourceforge.net/projects/tuc/

Hope that helps,
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgQwRwACgkQ9CaO5/Lv0PCZjgCggszeMR1gwOuwmNfbGZ/fTdsz
ZcgAnR2rLUeLSOzMbsXpbr+KeXLP7v5Z
=5a4D
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to