Spring output not coming back to JS
Please let me know if any one has any idea abt fixing this.
Thanks in advance.
A little hard to say with the information provided but I suspect you're falling foul of the same origin policy. If your servers are running on different ports then they count as totally different from a security perspective.
You don't say how you're posting the data. If you're attempting to use Ajax then you may be inadvertently slipping into CORS territory (take a look on Wikipedia, Cross-Origin Resource Sharing, Mozilla also have a good guide to it). I suspect you'll find that IE and Opera won't send the request whereas Chrome, Safari and Firefox all will but they won't get the response.
Standard practice would be to forward requests destined for the Tomcat through the Apache.