title: calling a java servlet from javascript
body: <p>I am trying to create a web application using the MVC design pattern. For the GUI part I would like to use JavaScript. And for the controller Java Servlets.</p>
  
  <p>Now I have never really worked with JavaScript, so I'm having a hard time figuring out how to call a Java Servlet from JavaScript and how to get the response from the Servlet. </p>
  
  <p>Can anybody help me out?</p>