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

Servlet 4B assignment, formulation questions

Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 424
Though 'all can be done' I have the following remark, question with respect to the formulation of Assignment Servlet 4b.
The graphics say:
-1- videologin.htm for login (thats ok) So we do.
-2- VideoLogin (servlet) says: you are loggen in (ok). Two buttons: Add a new video, list the videos (ok). So we push:Add a video
-3- AddVideoServlet (servlet) shows the inputfields for a video with a submit button (ok)
AND two buttons for add a video and list a video. Is 'add a video' at this place really what I want?
What is the difference between submit and add a video???
It means I would like to 'not see' the 'add a video' button.
We press submit
-4- AddVideoServlet(servlet) with message: Video added and two buttons. (ok)
But does this mean that the 'AddVideoServlet' should rememember how it is called?
Push list video button.
-5- ListVideoButton (servlet) shows available videos (ok)
But again with two buttons: add a video and list a video.
I would delete: list a video. Don't I see the list?

paul wheaton

Joined: Dec 14, 1998
Posts: 20972

You make excellent points!
My position on this is that I want to keep the assignments simple. By always having the same stuff at the bottom, I'm making less to code up, less for folks to understand and write, and most importantly, less to nitpick.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Peter Gragert
Ranch Hand

Joined: Jan 16, 2001
Posts: 424
Dear Paul,
Yes, doing like my questions above suggested, the code becomes more complicated. So I will do as the 'pictures' suggest.
So thats cleared, thanks!
I agree. Here's the link:
subject: Servlet 4B assignment, formulation questions
It's not a secret anymore!