Results 1 to 2 of 2

Thread: Ext.Ajax.request

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Feb 2013
    Vote Rating

    Default Answered: Ext.Ajax.request

    Hi Experts

    My Ajax request is working fine on my dev environment (Tomcat v7.0 on my local computer).
    After deploying to sencha io the Ajax request does not work.
    This is how my Ajax request looks like:

    url: 'MyJSPfile.jsp',
    params: {
    k: key
    success: function (response) {
    var answerAsText = response.responseText;

    When executed on my local computer my ajax request correctly returns the result of 'MyJSPfile' in
    'answerAsText'. After deploying my app to, the ajax request returns 'MyJSPfile' code in 'answerAsText' instead of the my jsp file result.

    Any idea what could be the problem?

    Kind Regards,

  2.'s app hosting service is only for static application resources: html, css, js, images etc. So any php, jsp or other files will be returned as text. If you request then you will get back the contents of your JSP file.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts