Topic
The topic of this question is: school_http-Netbeans ex. Of MVC model 2 db connections
Hello and Thank you in advance for any assistance.
………………………………………………………………………………………………………………………………………………………………………………………………
System:
System info: Netbeans6.7.1,jsf1.2,MySQL
………………………………………………………………………………………………………………………………………………………………………………………………
Purpose:
The purpose of this post is: Understand why attached program compiles but after the initial login the server won’t find any .jsp
………………………………………………………………………………………………………………………………………………………………………………………………
Functionality:
The functionality of this code is: The tutorial will show simple example of a school login system, where after submitting correct user ID and password user is redirected to the next page in accordance with user group assignment
· student - will see his personal details
· teacher - will see his name on the top of the page with table of all students (user ID, first name, last name, email address and phone number)
administrator - will see his name on the top of the page with tables of all teachers and all students (user ID, first name, last name, email address and phone number)
http://www.daniweb.com/forums/thread141776.html
the program builds and the index page displays the user Id and password entry but then there are errors.
………………………………………………………………………………………………………………………………………………………………………………………………
Question:
My question concerning this code is: For this program to work. Is there additional mapping needed in the faces-config.xml file?
………………………………………………………………………………………………………………………………………………………………………………………………
errors:
The errors related to this code are:
password 12345678 uid 12345678
redirected to: error page.
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
Sun GlassFish Enterprise Server v2.1
………………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………………
errors:
netbeans build -school(run)
compile-jsps:
Incrementally deploying school_localhost:4848_server
Completed incremental distribution of school
run-deploy:
Browsing:http://localhost:8080/school/
run-display-browser:
run:
BUILD SUCCESSFUL (total time: 6 seconds)
………………………………………………………………………………………………………………………………………………………………………………………………
Description:
Code description:
………………………………………………………………………………………………………………………………………………………………………………………………
Thanks again.
-ceyesuma
………………………………………………………………………………………………………………………………………………………………………………………………
Note:
Note:
The Program can be found and database can be found at:
http://cid-b5cb457363230793.skydrive.live.com/self.aspx/.Public/school^_project^_and^_db.zip
named school_project_and_db.zip
………………………………………………………………………………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………………………………………………………………………………
Description:
Code Description:
………………………………………………………………………………………………………………………………………………………………………………………………