posted 20 years ago
Yes I am still learning about session management. Well I have split things up into beans and JSP. When the user views the page, the values need to come from the database. Note that I commented out the session.invalidate() method at the end of the registration servlet because I thought it might be interrupting the session. It still does the same thing either way.
I'm now getting a JSP run-time error, its complaining about the iterator, here's the error followed by the code. Note that on the homepage.jsp I'm calling all of the fields, but they will be called from separate JSP's ultimately..
Here's the error:
C:\bea\user_projects\infologic1\.\myserver\.wlnotdelete\extract\myserver_freelance_freelance\jsp_servlet\__homepage.java:205: 'catch' without 'try'
(No more information available, probably caused by another error)
C:\bea\user_projects\infologic1\.\myserver\.wlnotdelete\extract\myserver_freelance_freelance\jsp_servlet\__homepage.java:152: 'try' without 'catch' or 'finally'
(No more information available, probably caused by another error)
C:\bea\user_projects\infologic1\.\myserver\.wlnotdelete\extract\myserver_freelance_freelance\jsp_servlet\__homepage.java:215: '}' expected
(No more information available, probably caused by another error)
C:\bea\user_projects\infologic1\.\myserver\.wlnotdelete\extract\myserver_freelance_freelance\jsp_servlet\__homepage.java:176: cannot resolve symbol
probably occurred due to an error in /homepage.jsp line 12:
Iterator iterator = showUserBeans.iterator();