It's not a secret anymore!
The moose likes JSP and the fly likes JQuery ajax call Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

JQuery ajax call

Maheshwari Kirthi
Greenhorn

Joined: Jan 24, 2011
Posts: 18
st',
success: function(data){
$('.result').html(data);
},
});

2. JSP has a div id name "Results" which will be displayed as a POPUP after the ajax call.
3. The EJB process does some DB query and has the results in a Java Object with get/set methods put in the request attribute.
4. I want to populate the resuts div with the data from the above mention java object which is available in the request scope.


Thanks in Advance,
Kirthi.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56205
    
  13

Please do not post the same question more than once.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: JQuery ajax call
 
Similar Threads
Is this even possible?
not able to pass request parameters when the JSON call is made from Open portal
JSP Ajax call
Replacing the contents of a div using an AJAX request made from the server-side?
Setting radio button value dynamically and rendering partially after ajax request