Question : How do I get VisualWeb JSF form data into a database using Netbeans 6.7

Hi

I'm trying to use the VisualWeb JSF framework on Netbeans 6.7 for the first time. I have created a simple form, have a MySQL database (which I can read data from to populate the part of the form), but can't find guides on how to

1. Get the form data passed on to the next page (i.e. what needs to happened event wise when the Submit button is clicked). I have a Page2.jsp to go to from my Page1.jsp.

2. In the response handling scenario, how do I get the data in the form stored into the database?

As the goal of this is for me to learn how to use the VisualWeb JSF plugin to netbeans to see if it can speed up future developments. For reference the auto-generated JSP code has been included here.



 
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:


    
    
        
            
                
                    
                
                
                    
                        
                        
                        
                    
                
            
        
    

Answer : How do I get VisualWeb JSF form data into a database using Netbeans 6.7

Here is a complete step by step on using visualweb jsf and connecting to databases

http://www.netbeans.org/kb/60/web/intro.html
Random Solutions  
 
programming4us programming4us