i am using ajax to refresh a part of the page . iam stuck somewhere in between .
i have a controller which processes the request coming from the javascript .
after the processing is done i want to send back the response to the javascript to load the appropriate content without refreshing.
this is what i have done
Calendar.jsp
on click of the javascript:loadContent the javascript is called from where i goes to the controller
here is the code for the controller
now how to send back the reponse .. i want to get a new
jsp as a response . i am using apache tiles . so probably only the body part is to be refreshed. any help will be appreciated