title: passing Java object to another JSP
body: <p>is there any way that i can declare an instance of a Java Object in one JSP file, and call this instance in another JSP file?</p>
  
  <p>for example:
  in 1.jsp:</p>
  
  <pre><code>&lt;%
    Obj o = new Obj();
  %&gt;
  </code></pre>
  
  <p>and in 2.jsp:</p>
  
  <pre><code>&lt;@%include file = "1.jsp"&gt;
  &lt;%
    o.toString();
  %&gt;
  </code></pre>
  
  <p>(of course, the above example does not work. it's just to clearify what i was talking about).</p>
  
  <p>Thank you!</p>