File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet 4B assignment, formulation questions

 
Peter Gragert
Ranch Hand
Posts: 424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Trailboss
Pie
Posts: 21187
Firefox Browser IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Peter Gragert
Ranch Hand
Posts: 424
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic