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 Servlets 4a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Servlets 4a" Watch "Servlets 4a" New topic
Author

Servlets 4a

bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
For this assignment, we need to have two servlets sharing data. The data that they share, does it need to be persistent so that when the server is restarted, I don't lose any of the videos that have been added? I know we haven't gotten to databases yet, so I guess what I am asking is do we need to use File I/O to store the videos.
Bill
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9053
    
  12
The short answer is "no". As long as it persists in memory, that is sufficient.

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
One more question on this assignment,
In the HTML form, your checkboxes have different names like this:

Shouldn't the checkbox names be the same and the vaules be different. That is the typical way to have checkboxes I believe. So I thought it should look like this:

Bill
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9053
    
  12
In the video rental store they may carry VHS, DVD or VHS & DVD.
That is why the html is the way it is.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets 4a