| Author |
Ajax in Websphere
|
Lee Sha
Ranch Hand
Joined: Nov 02, 2007
Posts: 66
|
|
Hi, I am planning to user Ajax framework in my currect application running on Websphere. Do I have to import any libraries to make it work or can anyone tell me how I can set up my environment for using Ajax.
|
Never tired...
SCJP SCWCD INS21 INS22 INS23 Salesforce Dev401
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
Lee, AJAX is a concept. While you could hand code it, you more likely want to use a library/framework. Which will require a separate jar.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
|
Ajax is a client-side mechanism. There is nothing that you need to do on the server to enable it.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Lee Sha
Ranch Hand
Joined: Nov 02, 2007
Posts: 66
|
|
|
I tried this out and it is working fine only when the servlet returns a text response. For XML response, I am not able to parse it. I guess, the javascript does not recognize it. Can anyone help me in this regard?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56179
|
|
An XML response is a text response. Ajax will parse the XML document for you. The parsed DOM is available via the responseXML property. [ February 22, 2008: Message edited by: Bear Bibeault ]
|
 |
Lee Sha
Ranch Hand
Joined: Nov 02, 2007
Posts: 66
|
|
|
Great!!! Thanks. I got started off with my first AJAX implementation...
|
 |
 |
|
|
subject: Ajax in Websphere
|
|
|