now supports JSON betweend servlet and client (jsp)