Click here to Skip to main content
14,299,779 members
   

Database

 
AnswerRe: Run correctly from code VB.NET Pin
Richard MacCutchan23-Sep-18 22:13
protectorRichard MacCutchan23-Sep-18 22:13 
GeneralRe: Run correctly from code VB.NET Pin
Computechsoft23-Sep-18 22:34
memberComputechsoft23-Sep-18 22:34 
GeneralRe: Run correctly from code VB.NET Pin
Richard MacCutchan23-Sep-18 22:50
protectorRichard MacCutchan23-Sep-18 22:50 
GeneralRe: Run correctly from code VB.NET Pin
Computechsoft23-Sep-18 23:02
memberComputechsoft23-Sep-18 23:02 
GeneralRe: Run correctly from code VB.NET Pin
Richard MacCutchan23-Sep-18 23:11
protectorRichard MacCutchan23-Sep-18 23:11 
GeneralRe: Run correctly from code VB.NET Pin
Richard Deeming24-Sep-18 8:13
mveRichard Deeming24-Sep-18 8:13 
AnswerRe: Run correctly from code VB.NET Pin
thatraja23-Sep-18 23:21
protectorthatraja23-Sep-18 23:21 
QuestionHow to retrieve List content in JSP from Hibernate Query Language Pin
Mr ARUL SUJU D15-Sep-18 12:38
memberMr ARUL SUJU D15-Sep-18 12:38 
I Developed the program that retrieve the content from Database and store it in the List

 List<Student> studentList=session.createQuery("from Student s where s.lastName=:lastName and s.firstName=:firstName")
                                          .setString("lastName",lname)
                                            .setString("firstName",fname).list();
         for(Student studentinfo:studentList)
         {
             System.out.println(studentinfo);
         }
         model.addAttribute("result",studentList);
And i have passed the result to the JSP File

    ${result}
<c:forEach var="item" items="${result}">
    ${item}
</c:forEach>
I am getting the result like this

"Student{id=6, firstName='arul', lastName='suju', address='s;lda'}"

But i want print the value one by one,Can any one suggest better code in JSP

Questionstoring a byte[] array in MongoDB Pin
jkirkerx6-Sep-18 12:42
professionaljkirkerx6-Sep-18 12:42 
AnswerRe: storing a byte[] array in MongoDB [solved] Pin
jkirkerx7-Sep-18 6:53
professionaljkirkerx7-Sep-18 6:53 
GeneralRe: storing a byte[] array in MongoDB [solved] Pin
Nathan Minier11-Sep-18 3:09
professionalNathan Minier11-Sep-18 3:09 
GeneralRe: storing a byte[] array in MongoDB [solved] Pin
jkirkerx13-Sep-18 18:48
professionaljkirkerx13-Sep-18 18:48 
QuestionCreate View from another View Pin
jar86956-Sep-18 1:59
memberjar86956-Sep-18 1:59 
AnswerRe: Create View from another View Pin
Mycroft Holmes6-Sep-18 12:28
memberMycroft Holmes6-Sep-18 12:28 
QuestionUnable to Get the Proper Result : SQL Query Help Needed Pin
arulsuju29-Aug-18 12:14
memberarulsuju29-Aug-18 12:14 
SuggestionRe: Unable to Get the Proper Result : SQL Query Help Needed Pin
Richard Deeming30-Aug-18 1:37
mveRichard Deeming30-Aug-18 1:37 
AnswerRe: Unable to Get the Proper Result : SQL Query Help Needed Pin
Jochen Arndt30-Aug-18 2:04
mveJochen Arndt30-Aug-18 2:04 
QuestionMongoDB document or model planning, best Pin
jkirkerx23-Aug-18 13:38
professionaljkirkerx23-Aug-18 13:38 
AnswerRe: MongoDB document or model planning, best Pin
jschell23-Aug-18 14:35
memberjschell23-Aug-18 14:35 
GeneralRe: MongoDB document or model planning, best Pin
jkirkerx24-Aug-18 6:49
professionaljkirkerx24-Aug-18 6:49 
GeneralRe: MongoDB document or model planning, best Pin
jschell25-Aug-18 3:57
memberjschell25-Aug-18 3:57 
AnswerRe: MongoDB document or model planning, best Pin
lw@zi 23-Aug-18 20:45
professional lw@zi 23-Aug-18 20:45 
GeneralRe: MongoDB document or model planning, best Pin
jkirkerx24-Aug-18 6:50
professionaljkirkerx24-Aug-18 6:50 
GeneralRe: MongoDB document or model planning, best Pin
jschell25-Aug-18 4:00
memberjschell25-Aug-18 4:00 
AnswerRe: MongoDB document or model planning, best Pin
Nathan Minier24-Aug-18 1:31
professionalNathan Minier24-Aug-18 1:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.