title: Rendering HTML : Serverside Vs Clientside
body: <p>I have a complex invoice page with orderitems etc details . I will be working with these kind of forms all time . When page is loaded I am using javacode(for loops etc) and writing html in that way . 
  Another thing I can do is return a json object and use javascript to build that form . What is better practice ?</p>
  
  <p>FYI I am only using Java , jsps , JQuery , json .</p>