-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
Is it possible to output JSON directly from ZK (I.e without resorting to a Servlet)?
I've created Richlet but it outputs the xhtml header <script> tags, etc.
I just want to output pure JSON.
Is that possible?
Just raw JSON data of any type.
I'm trying implement a JSON RPC server within ZK. So instead of outputting HTML to the browser file my controller would output raw JSON.
So, you want to write controller that can access ZK resources and output raw JSON, right?
Maybe, we can just use Servlet as controller and use Bridge to access ZK resources.
Check this: http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zkplus/embed/Bridge.html
Asked: 2012-07-13 06:04:41 +0800
Seen: 278 times
Last updated: Jul 20 '12