View Full Version : How to send a request to a servlet using Extjs

3 May 2010, 5:40 AM

How to send a request to a servlet using extjs.
Can we do this by using Ajax request. i tried this and able to send parameters thru. Ajax but at servlet I am opening a window at client for storing the file, but that window is not opening.
If I use that servlet with a normal html file sending a request to servlet thru a form submit action then window poped up.
Is there a difference between a Normal form submit request in html and Ajax request. is there a similar way in Extjs too.

Actually I am writing a file downloading application from server using servlet.


3 May 2010, 7:07 AM
If I understood you correctly you are looking for something like this (http://www.extjs.com/forum/showthread.php?80639-Ext.LinkButton-A-button-class-which-renders-an-lt-a-gt-element.&highlight=LinkButton)