I finally had look on what you done so far. Many of the JSP pages with DB connectivity can be combine into one servlet and that will reduce size of the whole project. For example login process with retrieving user info you do (assuming we have correct username and password)
index.jsp=>as.jsp(to check username&password)=>try.jsp(to retrieve user group data and display events)=>Questionforvote/fillquestion.jsp
simplified version should be
- index.jsp
- loginServlet.class
- setup db connection
- check if user exist
- user doesn't exist
- set error message
- set session attributes
- return back to index.jsp that will display error message from session
- user does exist
- get events available for user
- store events in the session
- redirect to next page
- events.jsp
Any questions?
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
Offline 6,656 posts
since Dec 2004