• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

HELP REQUIRED

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,
I'm learning java currently and taking a course on servlets and jsp.I need your help ine of my assignments.
1.I've to write a servlet which displays a list of students and when i click on a student it shows a list of courses that student is taking and list of courses available.
2.In the same page the servlet should have facilities to add or remove a course for a particular student.I did this with sql tables and it worked fine.
I'm asked to hardcode the student list, and the courses list, and the student and course information in the servlet.
I've no idea how to do this ,which type of collections to use for add and delete.how to relate between students and courses.
Your help in this regard is greatly appreciated.
Thanks,
Gandhi
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please don't post the same message to more than one forum. All replies to the "Servlets and JSP" forum, please.
 
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic