I'm working on a project programmed in jsf, but no persistence layer, the queries are plain jdbc in beans. At apllication start the jdbc connection is instantiated and if the user ...
Following bean's database related code is working in simple Java application but when i use it within JSF page it is giving Java null pointer exception error.
Thanks in advance.
Bean class:-
Hello please help me with this:
I need know as manage connection in jsf.
I use JSF 1.1 and use JDBC.
My project has a structure MVC.
My connection is gets from a Datasource.
Question 1:
Should ...
I have a JSF page where I have input fields and values are being saved to database.
I would like to do insert and update.
What is the best approach to differentiate ...
I have 3 jsf pages, first one for inserting data,username&password,then see if the data does exist in the database, after that navigate will play a role of redirecting to either welcome ...
Hi I was doing some program My objective is to create a table in database with 5 fields . I have created buttons and corresponding text fields now i want those buttons to perform . I am not getting any idea to move forward . Please guide me I have copy pasted the program below If there is any mistake or ...
Hello, Sorry for crossposting, but I didn't know how to remove this topic from JSF forum. In my JSF application I add some data to the table: String s = (String) textField1.getText(); try { RowKey rk = wpisyDataProvider.appendRow(); myTableDataProvider.setCursorRow(rk); myTableDataProvider.setValue("MYTABLE.NAME", s); myTableDataProvider.commitChanges(); textField1.setText(""); } catch(Exception e) { error("Insert problem: " + e.getMessage()); } as long as the table doesn't contain AutoIncrement ...