title: Assign Scriptlet variable to Jsp Textarea
body: <pre><code>&lt;% String qDescription = null;
  
  if (questionList == null || questionList.isEmpty()){
      System.out.println("Empty");
  }else{
      System.out.println("Retrieval successful");
  
  
          SurveyQuestionBean questionBean= (SurveyQuestionBean)questionList.get(0);
          qDescription = questionBean.getQuestionDescription();
          System.out.println("qDescription HERE: " + qDescription);
  
  }
  %&gt;
  &lt;td&gt;
      &lt;textarea name="q_description" id="q_description" class="mlselect" cols='100' rows='5' &gt;&lt;%=qDescription%&gt;&lt;/textarea&gt;
                          &lt;/td&gt;       
  </code></pre>
  
  <p>I am trying to display the qDescription variable from the Scriptlet to the textarea. The system.out println grabs the correct data, however when i do the assignment it displays null. i understand that Scriptlet is not advisable, but i have to implement it this way. Any help will be appreciated, thank you in advance.           </p>