BCSL-057


(a) Create four pages for the website viz Login, Category, Item
List and Feedback; all the four pages should have same Heading, Footer and Menu
division but different Content division. The Menu division should be linked to
these pages. The content division of the four pages should display information
as given below:
(i) The content
division of login page should display the form containing the fields as shown
in the figure above, viz. Username, Password and a SUBMIT button.
(ii) The Category
page should display four categories – Mobile Phone, Laptops, iPads and Storage
Devices
(iii) The Item List displays four item names related to a category (you
are requested to restrict item names to four in every category)
(iv) Feedback
page displays a form asking for the name of the person, product of interest,
comment and a Submit Feedback button using this CSS.
(b) Create an external CSS that give different background colour
to each area. You may choose the format of other elements as per your choice.
(c) Create a JavaScript program that checks if any of the field in
Login form is left blank when a user clicks Submit button, if so an error
message is displayed and the user is taken back to Login page.
(d) You must implement the following using jsp pages, servlets,
java classes, database(s), etc. in the pages as described under:
(i) If a user
presses Submit button in Login form after filling both login name and password,
then this information should be checked from the Login table in the database
having similar structure (you must create this table as well as create some
data against which you check a Login). On successful login the category page
may be displayed. (Please note that you can directly display category page from
the Menu division without Login)
(ii) When
you select any one category displayed in the category page then it should show
related four items in the content division of the Item List page. In case you
select Item List from the Menu then it should display items of any category of
your choice.
(iii) The information submitted through feedback
form must be stored in a database.
****************************************************************
Note: Answer
with Dotcom Books
www.dotcombooks4u.com
(Last 5 year
solved question paper with Assignment solutions)
9825183881
***************************************************************
No comments:
Post a Comment