title: JSP: Using the same Java object across pages
body: <p>I have 2 jsp pages, index.jsp and viewer.jsp. viewer.jsp is inside an IFRAME in index.jsp.</p>
  
  <p>index.jsp needs to grab a list of domain names from a Java object <code>foo</code> and provide a drop down menu for the user. After the user picks one and submits it, viewer.jsp needs to read this domain name and use <code>foo</code> to extract all the the data it needs to display.</p>
  
  <p>How do I access <code>foo</code> across both pages? Is there a better way to construct this functionality?</p>
  
  <p>I haven't done JSP before (or web programming for that matter), so any help is appreciated. Thanks!</p>