File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Cattle Drive and the fly likes Assign Servlet 4a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Assign Servlet 4a" Watch "Assign Servlet 4a" New topic

Assign Servlet 4a

Amber Woods
Ranch Hand

Joined: Mar 28, 2001
Posts: 111
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

Joined: Jul 22, 2000
Posts: 9044
Yes, you should check. "... just post the error message and say use the back button to fill out form correctly" is sufficient.

"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:
subject: Assign Servlet 4a
Similar Threads
Clear bean values onLoad
have problem with multiple forms on a jsp
Should we use ActionForms on the way back?
help needed with jsp:getProperty
Validation question