I am working on an EmployeeTest web app. I have been trying to modify my web app so that I can continually display all of the rows each time a new row is added (display all of the added employees so far). My web app is attached (EmployeeTest). Remove the .txt extensions from each file except for the departments.txt file. I am using Java 6 and Tomcat 6.
I am able to successfully run the web app if I comment out my attempted modifications. The files I need help with are confirmation.jsp and HiringServlet.java. The code I need help with in each of these files is located between a set of 2 comment lines in each of these files, so it is very easy to locate. The code I have attempted is commented out, so you should be able to successfully run the web app without making any initial changes.
In my many attempts to reach success, I have created a separate (very small) web app (Display_Names) which does continually add all of the rows so far. I have also attached the Display_Names web app. If someone can even point out the reason why my Display_Names web app works and compare it to my EmployeeTest web app, that may be enough to set me on the right track.
I really need some assistance with this. I have been trying to get it to work for over a week, and I am still not able to see what I am doing wrong. Any help is extremely appreciated! Thank you in advance.