Threaded View

  1. #1
    Sencha User
    Join Date
    Feb 2013
    Vote Rating
    wefferch is on a distinguished road


    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.

Thread Participants: 1

Tags for this Thread