1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    1
    Vote Rating
    0
    IAmNew2Ext is on a distinguished road

      0  

    Question Unanswered: My First tryst with Ext JS

    Unanswered: My First tryst with Ext JS


    I am a newbie to Ext JS and Java/JBoss....thrown into an already coded project (said to be 90% done)....lots of people were fired....I might be too.....if I don't try to understand the code to fix bugs...... I am trying to understand/decipher the following code:

    Ext.Ajax.request({
    method: 'GET'
    ,url: 'get/appuser'
    ,success: this.resultHTTPSuccess.createDelegate(this)
    ,failure: this.resultHTTPFailure.createDelegate(this)
    ,scope: this
    ,params: { code: login }
    });
    },

    I have seen examples where the url points-to or calls xxxaction.php but how is this 'get/appuser' resolved.
    I don't see a appuser class in server,.....I am clueless.

    Any help is sincerely appreciated.

    Regards

  2. #2
    Ext JS Premium Member
    Join Date
    Jan 2008
    Location
    Germany, Berlin
    Posts
    135
    Answers
    21
    Vote Rating
    11
    fschaeffer will become famous soon enough

      0  

    Default


    Hello,

    there is for sure a routine which routes all requests to a dispatcher .... and there might be a .htaccess configuration in your apache which rewrites the requests.

    so if your webserver is configured to catch all requests a URL like /get/all could internally be rewritten to e.g. index.php?action=get&subaction=all

    Happy searching

  3. #3
    Sencha User mberrie's Avatar
    Join Date
    Feb 2011
    Location
    Bangkok, Thailand
    Posts
    506
    Answers
    26
    Vote Rating
    14
    mberrie will become famous soon enough mberrie will become famous soon enough

      0  

    Default


    Since you said the server is JBoss, try to find the web.xml file in the WEB-INF folder. The servlet mappings might be configured there.
    The application might very well use a web framework under the hood. In that case URL mappings could also be configured in a different place.

Thread Participants: 2

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