added junit DB test template

little changes in jsp pages