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.
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.
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.