27 May 2010 4:56 AM #1
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..
27 May 2010 5:07 AM #2
- Join Date
- Mar 2007
- The Netherlands
- Vote Rating
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).
28 May 2010 12:43 AM #3
Use button's handler function, then make a Ajax request with setting your servlet's url to the 'url' config of Ajax request.
By saadkhan in forum Ext 3.x: Help & DiscussionReplies: 5Last Post: 27 Feb 2010, 8:27 AM
By saadkhan in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 27 Feb 2010, 7:21 AM
By myworld100us in forum Ext GWT: DiscussionReplies: 5Last Post: 11 Nov 2009, 7:22 AM
By thara in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 9 Jan 2009, 12:45 AM