title: Pass two java List to GSON/JSON
body: <p>I want to pass two <code>List&lt;String&gt;</code> to Gson and catch them with <code>$.post</code> in my jQuery. Currently I have my first list in my servlet:</p>
  
  <pre><code>String json_list = gson.toJson(suggested_list);
  response.setContentType("application/json");
  response.setCharacterEncoding("UTF-8");
  response.getWriter().write(json_list);
  </code></pre>
  
  <p>and I get it with the $.post like this:</p>
  
  <pre><code>$(document).ready(function() {
      $(".word_sugest").click(function() {
      var physical_exam =  jQuery("textarea#examination").val();
          $.post("MyServlet", { examination : physical_exam},function(responseJson) {
          var $textarea = $('&lt;textarea rows="10" cols="20" id="words_suggested"&gt;').appendTo($('#words'));
          var areavalue = $('#words_suggested').val();    
              $.each(responseJson, function(key,value) {
              $('#words_suggested').val($('#words_suggested').val()+value+"\n");
              });
          });
      });
  });
  </code></pre>
  
  <p>How can I get another list with the same <code>$.post</code> Ajax-event? Can someone please help?</p>