title: Illogical jsp error
body: <p>I want to dispaly a result parameter which return from servlet to jsp after an event happen.
  so when i add new user for example a result parameter  returns with value that the user has been added successfully , and i want to display the result in jsp page. 
  i make like this in jsp page</p>
  
  <pre><code>&lt;%String result = String.valueOf(request.getAttribute("result"));%&gt;
   &lt;%if (result != null){%&gt;
   &lt;%= result%&gt;
  &lt;%}%&gt;
  </code></pre>
  
  <p><strong>THE PROBLEM</strong> is that every time i open the page for the first time result prints as null to the browser even i write if not null print result value, where is the problem ? can someone help/</p>