I am trying to add HTML content into a div on page load. This HTML content is coming from a struts action class variable. I have tested that the I get the HTML content passed to the resultant jsp file but the problem is that I don't get how to add it inside a particular div from struts action class variable.
I want to append it to topcontblock div shown below:
<div class="main nobg">
<div class="topcontblock" id="contentBlock">
//my html content here
</div>
</div>
I am really stuck on this. Any help would be greatly appreciated.