BCSL-057 (Web Programming Lab )
BCSL-057 Web Programming Lab (Assignments Solutions)
Course Code : BCSL-057
Course Title : Web Programming Lab
Assignment Number : BCA(V)/L-057/Assignment/2024-25
Maximum Marks : 50
Weightage : 25%
Last Date of Submission : 31stOctober,2024(For July, Session)
30thApril, 2025(For January, Session)
Q1. Design and implement...................................................if needed .
Ans.
Part (a) — Implementation of the Pages
- Home Page (Home.jsp)
This page will display the name of the mobile store, its objectives, and its address.
- Mobile List Page (MobileList.jsp)
This page will use JSP to connect to a database and display a list of mobile makes and their RAM size. Assume a database namedMobiles
with a tableMobile_ram
containing two fields:Mobile_make
andRAM_size
.
Assumptions for Database Table Mobile_ram
:
Mobile_make | RAM_size |
---|---|
Samsung | 2 |
Apple | 4 |
OnePlus | 8 |
Xiaomi | 6 |
Oppo | 3 |
- Comments Page (Comments.jsp)
This page will contain a form for users to leave comments. (No form processing or validation is required.)
Part (b) — External CSS File (styles.css)
The CSS file will ensure the same format for all three pages, and the top division background will be light green.
Assumptions:
- The database is named
Mobiles
and contains a table calledMobile_ram
with two columns:Mobile_make
andRAM_size
. - MySQL database is used, and the connection URL, username, and password will be configured accordingly in the JSP page.
#CODEWITHCHIRAYUThank You 😊
Comments
Post a Comment