Netbeans ex. of mvc model 2 db connections

Reply

Join Date: Aug 2007
Posts: 238
Reputation: ceyesuma is an unknown quantity at this point 
Solved Threads: 0
ceyesuma ceyesuma is offline Offline
Posting Whiz in Training

Netbeans ex. of mvc model 2 db connections

 
0
  #1
Sep 11th, 2009

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...t^_and^_db.zip

named school_project_and_db.zip

………………………………………………………………………………………………………………………………………………………………………………………………


………………………………………………………………………………………………………………………………………………………………………………………………

Description:

Code Description:

………………………………………………………………………………………………………………………………………………………………………………………………
Last edited by peter_budo; Sep 11th, 2009 at 6:52 am. Reason: Keep It Organized - Avoid using an excessive amount of [bbcode] to alter font styles or to draw more attention to your post.
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC