File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 2380
    
    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 OCPJP7 OCPWCD5
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Video servlet assignment