1. #1
    Ext User
    Join Date
    May 2010
    Posts
    5
    Vote Rating
    0
    Krazycaptain is on a distinguished road

      0  

    Question How can i get a extjs button to communicate with servlet ?

    How can i get a extjs button to communicate with servlet ?


    I need to create a folder on the server on the click of a button.. I am thinking of passing the ctrl to servlet and then from servlet to server(UCM).. How can i achieve it..? Is there any alternate method to achieve this..

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Your solution is indeed correct.

    In Ext JS you have to do an Ext.Ajax.request() to the servlet (and how you program your servlet is up to you).

  3. #3
    Sencha User talha06's Avatar
    Join Date
    Jul 2009
    Location
    Turkey
    Posts
    303
    Vote Rating
    0
    talha06 is on a distinguished road

      0  

    Default


    Use button's handler function, then make a Ajax request with setting your servlet's url to the 'url' config of Ajax request.

Similar Threads

  1. Communicate Extjs
    By saadkhan in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 27 Feb 2010, 8:27 AM
  2. Communicate Extjs
    By saadkhan in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 27 Feb 2010, 7:21 AM
  3. How to Call Servlet on Click of Button
    By myworld100us in forum Ext GWT: Discussion
    Replies: 5
    Last Post: 11 Nov 2009, 7:22 AM
  4. EXTJS and Servlet ??
    By thara in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 9 Jan 2009, 12:45 AM

Thread Participants: 2

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar