title: Using a function from one jsp in another jsp
body: <p>I have a jsp file were the db connection is created and queries can be executed.
  I want to call these functions (of connecting to a database and executing query) from another jsp simply to add new record to a database and to stay on a same page.</p>
  
  <p>I read here about an "import" tag but i don't have any packages. Also i'm not allowed to use JSTL.</p>
  
  <p>Little help?</p>
  
  <p>Thanks for considering my question.</p>