title: MVC Architecture issue
body: <p>I have been reading a lot on MVC but really don't know if i am clear on the concepts of MVC or not
  recently developed an application what i did is
  1)on jsp load called a function
  2)using AJAX called a servlet and servlet is there performing all the logic
  3)servlet called a java bean and a java class to perform some logic and return result
  4)based on the result returned form the class i am displaying an image say if result is 1 then image A ,if 0 then Image b
  5)on servlets POST method i am using out.println()-->to write the complete output
  6)the function on jsp after returning the call will set the innetHTML of required div by the output generated by the servlet</p>
  
  <p>now say the output servlet is producing is the table</p>
  
  <hr>
  
  <p>instance name|instance state</p>
  
  <hr>
  
  <p>now if i want at some time to change the display for this table to say</p>
  
  <hr>
  
  <p>instance state|instance name</p>
  
  <hr>
  
  <p>to do the above mentioned change i have to recompile my servlet and redeploy the war</p>
  
  <p>is it really a MVC?
  and someone suggested me to use JSON store object of a bean containing data as JSON and then return the JSON object to the jsp
  and at jsp using this object contruct the table!</p>
  
  <p>any pointers on this will be of great help!! </p>