| Author |
AJAX without struts. Is it possible?
|
suresh pilakal babu
Ranch Hand
Joined: Jul 01, 2008
Posts: 31
|
|
Hi, Can I implement AJAX functionality without using struts? Thanks, Suresh.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
You can use Perl, C#, VB, CF, ASP, plain text files, etc. Pick anything you fancy. Eric
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56549
|
|
|
Ajax and Struts are completely independent.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
suresh pilakal babu
Ranch Hand
Joined: Jul 01, 2008
Posts: 31
|
|
var url="getuser.jsp" --------1 url=url+"?emp_id="+emp_value---------2 xmlHttp.onreadystatechange=stateChanged ----3 xmlHttp.open("GET",url,true)------4 xmlHttp.send(null)----5 could you please line #4 and #5; In #4 what is the use of 3rd parameter(true)? In #5 why sending null value?
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15362
|
|
Any basic article on Ajax will tell you what it means: http://developer.apple.com/internet/webcontent/xmlhttpreq.html Eric
|
 |
Veera Sundar
Greenhorn
Joined: Jun 08, 2007
Posts: 25
|
|
Yes. you can implement Ajax functionality with out using any frameworks at all, since both are not dependent. Have a look at this article: Implementing Ajax in Java web application using JQuery
|
Thanks,<br />Veera |<a href="http://veerasundar.com/blog" target="_blank" rel="nofollow">Blog</a>
|
 |
 |
|
|
subject: AJAX without struts. Is it possible?
|
|
|