getAttribute() returns null for drop down list in jsp
<p>I am trying to pass value from database to drop down menu using getAttribute(). However, it returns null.</p>

<p>This is my jsp (updateLecturer.jsp) file: </p>

<pre><code>&lt;form action="updateLecturer" class="sky-form"&gt;
&lt;header&gt;Update Lecturer Information&lt;/header&gt;
&lt;center&gt;
&lt;fieldset&gt;

&lt;section&gt;
&lt;label class="select"&gt;
&lt;select name="selectLecturer" id="lecturerFullname"&gt;
&lt;option value="0" selected disabled&gt;Lecturers Name&lt;/option&gt;        
**&lt;option name="lecturerFullname"&gt;&lt;%=((LecturerBean)request.getAttribute("LecturerFullname"))%&gt;&lt;/option&gt;** 
&lt;/select&gt;

&lt;/label&gt;
&lt;/section&gt;

&lt;/center&gt;
&lt;footer&gt;
&lt;center&gt;&lt;button type="submit" class="button"&gt;Update&lt;/button&gt;&lt;/center&gt;
&lt;/footer&gt;
&lt;/form&gt;
</code></pre>

<p>This is my servlet UpdateLecturerServlet.java) :</p>

<pre><code>public void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, java.io.IOException {

                    String lecturerFullname = request.getParameter("LecturerFullame"); 
                    LecturerBean lecturer = new LecturerBean(); 
                    lecturer.setLecturerFullname(lecturerFullname); 

                    request.setAttribute("LecturerFullname",lecturerFullname); 

                    RequestDispatcher view = getServletContext().getRequestDispatcher("/updateLecturer.jsp"); 
                    view.forward(request,response);


    }
</code></pre>

<p>This is my UpdateLecturerDAO :</p>

<pre><code>static Connection currentCon = null;
static ResultSet rs = null;

public static LecturerBean selectlecturer(LecturerBean Lbean) {

    // preparing some objects for connection
    System.out.println("JIJIJI");
    Statement stmt = null;
    String lecturerFullname = Lbean.getLecturerFullname();



System.out.println("j444444");


String searchQuery = "select lecturerfullname from lecturer";

System.out.println("Your lecturer is " + lecturerFullname);
System.out.println("Query: " + searchQuery);

try {
    // connect to DB
    currentCon = JavaConnectionDB.getConnection();
    stmt = currentCon.createStatement();
    rs = stmt.executeQuery(searchQuery);
   // boolean more = rs.next();

    while(rs.next())
    {
    LecturerBean lecturer = new LecturerBean();
                lecturer.setLecturerFullname(rs.getString("LecturerFullname"));
                lecturer.add(lecturer);
    }


}

catch (Exception ex) {
    System.out.println("Select failed: An Exception has occurred! " + ex);
}
</code></pre>

<p>PLEASEEEE HELP :( thank you very much<a href="https://i.stack.imgur.com/ag2wn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ag2wn.png" alt=" Thats the result i got :( "></a></p>