Just wondering, do I need to check to see that something was entered for each field from the form on addvideo.html in my AddVideoServlet or do I just assume something was entered for the fields? If I do need to check how should I handle it (take what they allready entered put it back in the form and put a line at the top with the error messages or just post the error message and say use the back button to fill out form correctly or somethingelse entirely)??
"Happiness is a way to Travel, <b>Not</b> a Destination" -- Unknown
Marilyn de Queiroz
posted 15 years ago
Yes, you should check. "... just post the error message and say use the back button to fill out form correctly" 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