943,822 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 794
  • JSP RSS
Sep 11th, 2009
0

Netbeans ex. of mvc model 2 db connections

Expand Post »

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:

JSP Syntax (Toggle Plain Text)
  1.  
………………………………………………………………………………………………………………………………………………………………………………………………

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.
Similar Threads
Reputation Points: 7
Solved Threads: 2
Posting Pro
ceyesuma is offline Offline
524 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: problem with back button in jsf
Next Thread in JSP Forum Timeline: Code to expire username and Password





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC