1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    66
    Vote Rating
    0
    salmondavid888 is on a distinguished road

      0  

    Default How to call a servlet on click of a button

    How to call a servlet on click of a button


    Hi,
    i need to call a servlet on click of a button. that servlet generates an excel file and sends back to client. all this i am doing for getting browser provided save dialog box. plz help me how to call a servlet on click of button?

    Thanks!

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You could use Animal's LinkButton or my Ext.ux.Report to initiate the request and your server will need to set the Content-disposition response header to 'attachment'.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    66
    Vote Rating
    0
    salmondavid888 is on a distinguished road

      0  

    Default


    Hi Condor,
    please could you share me the code?

    Thanks!

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

Similar Threads

  1. how to call a URL on a button click?
    By coooolmagic in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 14 Nov 2010, 4:09 AM
  2. How can i get a extjs button to communicate with servlet ?
    By Krazycaptain in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 28 May 2010, 12:43 AM
  3. Ext Button Click Calls a servlet?
    By rohangpatil in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 27 May 2010, 10:51 PM
  4. 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
  5. how to call a function when click the east region arrow button
    By nelson_siu in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 12 Dec 2007, 5:49 PM

Thread Participants: 1

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