Link to home
Start Free TrialLog in
Avatar of jaggernat
jaggernat

asked on

ajax in jsp

hi experts

new to ajax.
couple of questions.

In my application , i am loading an xml file in javascript and navigating the xml file with xpath. Does ajax do the same?

or How does Ajax differ?

How do i use ajax with jsp, or jstl or struts tags?

I am using jsp, struts, java. can i replace something with ajax?

thanks
J
SOLUTION
Avatar of DireOrbAnt
DireOrbAnt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jaggernat
jaggernat

ASKER

>>>>The server-side part is the response to the AJAX call

so if i am returning an object from the back end to jsp (something like a "valueobject" containing values), how do i represent that object in xml format so that i can use it in AJAX javascript.

for example, in my jsp , i would have a
<jsp:useBean  id="object"  scope="session" /> //using this tag i am getting an object (with values)

how do i make use of this object in AJAX (in the jsp).


thanks




also , are any of you using ajax with jsp in your project.Some sample code would greatly help

thanks