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 Assign Servlet 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 "Assign Servlet 4a" Watch "Assign Servlet 4a" New topic
Author

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
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Assign Servlet 4a