aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Video servlet  assignment" Watch "Video servlet  assignment" New topic
Author

Video servlet assignment

K. Tsang
Bartender

Joined: Sep 13, 2007
Posts: 1958
    
    7

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?

Thanks.


K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
Marilyn de Queiroz
Sheriff

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


JavaBeginnersFaq
"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: http://aspose.com/file-tools
 
subject: Video servlet assignment
 
Similar Threads
Servlet 4B assignment, formulation questions
setIndexedProperty errors after reposting form data
Need help to code small programme
jdbc 3 problem with buttons
how to create array using linked list....