• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets 4a

 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9064
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The short answer is "no". As long as it persists in memory, that is sufficient.
 
bill bozeman
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9064
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the video rental store they may carry VHS, DVD or VHS & DVD.
That is why the html is the way it is.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic