aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes AJAX without struts. Is it possible? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "AJAX without struts. Is it possible?" Watch "AJAX without struts. Is it possible?" New topic
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: 15376
    
    6
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: 60057
    
  65

Ajax and Struts are completely independent.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by 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: 15376
    
    6
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AJAX without struts. Is it possible?
 
Similar Threads
How to use post method with ajax
Toolkit for AJAX?
open a pdf report in a new window
Record inserted successfully problem
Need help on basic struts