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

      0  

    Default Answered: Ext.Ajax.request

    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:

    Ext.Ajax.request({
    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 sencha.io, the ajax request returns 'MyJSPfile' code in 'answerAsText' instead of the my jsp file result.

    Any idea what could be the problem?

    Kind Regards,
    Carlos

  2. Sencha.io'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 appid.senchafy.com/MyJSPfile.jsp then you will get back the contents of your JSP file.

  3. #2
    Sencha - IO Dev Team
    Join Date
    Apr 2011
    Posts
    84
    Answers
    27
    Vote Rating
    5
    jason.cline is on a distinguished road

      0  

    Default


    Sencha.io'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 appid.senchafy.com/MyJSPfile.jsp then you will get back the contents of your JSP file.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi