I am trying to allow users of my site to incorporate some of my sites content in their blog. I am letting them paste the following code in their site:
<script type="text/javascript" src="http://mysite.com/blog/mypostings.jsp?id=23330"> </script> I need my action class to send the following back to the javascript request. document.write('<div id="posts"><ul><li><a href="http://mysite.com/service.jsp?post=21377" target="_blank">Post Title</a></li></ul></div>'); How can I set up an action class to do this. can this be done with an action forward? Thanks for the help, Jeff