• Post Reply Bookmark Topic Watch Topic
  • New Topic

dynamic dropdown menu using JSTL  RSS feed

 
Mong Mongzzz
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. Ive tried to make a dynamic dropdown menu using JSTL for the first time its giving me a hard time. but i think i almost got it but i got this error :
javax.el.PropertyNotFoundException: Property 'lecturerFullname' not found on type java.lang.String

So what did i do wrong? Here is my code :

updateLecturer.jsp:




UpdateLecturerServlet.java:





SelectLecturerDAO.java :



LecturerBean:





im just trying to display lecturer's full name in dropdown manu retrieve from database. Thank you in advance
 
Howard Watson
Ranch Hand
Posts: 67
1
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A syntax error here: <c:forEach items="$(lecturerFullname)" var="i">
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!