Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

JSP/Servlet MVC

 
Hus En
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI, im doing a student information system and im using JSP Servlet, MVC concept.. i have an attendance form which lecturers can upload student attendance to the database. on the attendance page i have a listbox having batch number, depending on the selected batch number im generating a table dynamically filled with all the students in the particular batch. in the table i have student ID, Student Name, and a CHECK BOX to tick if the student is present. my problem is, i want to send the record of the student to database immediately when user checks the check box. i would be really grateful if you could provide me any help regarding this scenario. thanks everyone
 
Bear Bibeault
Marshal
Posts: 67451
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For that you will need to use JavaScript and Ajax.
 
Saif Asif
Ranch Hand
Posts: 440
Hibernate Eclipse IDE Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Hus En ,

Use Ajax to achieve this.
 
Hus En
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks its done...
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic