This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Video servlet  assignment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Video servlet  assignment" Watch "Video servlet  assignment" New topic

Video servlet assignment

K. Tsang

Joined: Sep 13, 2007
Posts: 2242

I got a query even though the assignment doesn't require it. In the video servlet, we are to add and list the videos using array list then require cookies to login in order to do the actions.

Now once all that is done, just curious, can the array list data be changed?
Assume I can get that particular index of the array list, I can then change it by using the add(index,data) method of ArrayList. Will this work?


Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9044
Yes, it is possible to add code to change the values in the ArrayList rather than only adding values.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: Video servlet assignment
Similar Threads
how to create array using linked list....
jdbc 3 problem with buttons
Servlet 4B assignment, formulation questions
setIndexedProperty errors after reposting form data
Need help to code small programme