| | |
Netbeans ex. of mvc model 2 db connections
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2007
Posts: 238
Reputation:
Solved Threads: 0
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)
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
- Example of MVC@ pattern using JSP and Servlet (JSP)
- MVC Architecture (JSP)
- PHP and MYSQL Connections (PHP)
- JSP database connectivity according to Model View Controller (MVC) Model 2 (JSP)
- MVC - Model View Controller (Java)
- Problem with JDBC driver config (JSP)
- Error messages in MVC-systems (Python)
- Php Mvc (PHP)
- java and using observable class (Java)
Other Threads in the JSP Forum
- Previous Thread: problem with back button in jsf
- Next Thread: Code to expire username and Password
| Thread Tools | Search this Thread |
apache backbutton combobox connection database development directorystructure dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 network parameters passing ping printinserverinsteadofclient redirect request.getparameter response servlet servletdopost()readxml sessions software ssl state_saving_method stocks sun tomcat tutorial update video web





