On 03 May 2011, at 10:20, Wicket wrote:

> Hi,
> 
> When serving json I have built a WebService that responds with json and takes 
> json as request.
> 
> @WebMethod
> @WebResult( name = "JsonResponse" )
> public String onJsonRequest( @WebParam( name = "JsonRequest"  ) String 
> jsonRequest );
> 
> I was wondering if I could handle this entirely in Wicket? Have a WebPage 
> that parsed the JsonRequets and returned JsonResponse.
> I know how to return Json reponse from the page using application/json.
> 
> But how will I handle the request? The myhomepage.com/json?request={"some 
> json code"} is not looking very good.

Sounds like you want a servlet instead.  Why do you want to do this in Wicket?  
Wicket gives you nothing that you could use for handling or generating JSON.  
Wicket is not the tool for the job.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to