aspose file tools*
The moose likes JSF and the fly likes how bean classes- Error Uncaught exception created in one of the service methods of the servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how bean classes- Error Uncaught exception created in one of the service methods of the servlet" Watch "how bean classes- Error Uncaught exception created in one of the service methods of the servlet" New topic
Author

how bean classes- Error Uncaught exception created in one of the service methods of the servlet

Jenifer Rajakumar
Ranch Hand

Joined: Oct 31, 2013
Posts: 33
Hi

Iam new to development so please help me to solve my issue. i got idea to do but how i want to do i don't know. give some guides.


My task is ont text box will be there in that if i gave my name and click ok the name related firstname and last name i need to display in JSF datatable.

I completed UI part. now i want to do in bean classes. I kept onr *.XHTMl file and one DAO Class file Bean class i need to give how to write i don't know. iam developing alone. I got idea that in bean class i need to keep if condition if name is this display this this like that. help me

My XHTML file


My DAO class


Then Next what to do i don't know please help me to solve my issue. in bean class what i want to writ give some piece of code from that i will improve my knowledge.
Jenifer Rajakumar
Ranch Hand

Joined: Oct 31, 2013
Posts: 33
Hi
I have did some changes but correct are not i don't know iam getting error


My code was




Please check and guide me.
Jenifer Rajakumar
Ranch Hand

Joined: Oct 31, 2013
Posts: 33
I have solved the error in datatable i gave same id, now it was cleared

new error



 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how bean classes- Error Uncaught exception created in one of the service methods of the servlet
 
Similar Threads
Primefaces: How to insert an object attributes on a PanelGrid?
Issues with scope: JSF-Primefaces
Get the selected row in datatable [PRIMEFACES]
Datatable with column checkbox - Row Select
DataTable Sortby does not work