Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    xml parsing issue in Rpc call in case of special character

    Hi .
    I am facing one issue , Where Special Character appearing in request causing XML parser fatal error while making RPC call , I have handled this by making request String XML safe in View where we are making RPC call, after changing this i am not getting xml parser error .
    Once this is done it cause ClientMustReSbmit Exception . I have gone through GWT documentation and found its solution as catch ClientResubmit expection and return value from Controller . After changing this I am getting MAX_Post_Size limit exception . Post Size default size in Tomcat is 2 MB still it is causing issue .
    We are using Rest Ful web service with smart GWT and Tomcat server .

    please provide some suggestion on it , i will really appreciate if i will get some valuable suggestion to resolve this issue .




    #2
    The max post size can be configured in Tomcat.

    However the ClientMustResubmitException does not sound like it is being handled correctly. This happens if a server layer previous to the SmartGWT server framework simply throws away the request body, so SmartGWT server code receives an empty request. Just catching the exception and proceeding would not fix the problem.

    Comment

    Working...
    X