You are on page 1of 4

INFORMATION AND COMMUNICATION TECHNOLOGY

DEPARTMENT
SESSION : SESSION 1 2023/2024
Vision:
“To be the Leading Edge TVET COURSE : DFP50283 – WEB DEVELOPMENT TECHNOLOGY
Institution”
CONTINUOUS ASSESSMENT : LABORATORY EXERCISE 1 Total Marks: 28
TOPIC 1: Introduction to Java Web Technologies

Oganize Servlets to build web application.


• Define servlet
TOPIC
• Explain the architecture of servlet
• Decribe Servlet Lifecycle
• Explain HTTP Servlets: HTTPServletRequest, HTTPServletResponse

CLO1: Construct a dynamic web application using Servlets, JSP and database within Java
CLO
EE platform. (P4, PLO3)
REG.
NAME
NUMBER

Instruction: Answer all question

QUESTION

Question 1
Build a servlet page related to your personal information by transforming from HTML page that
has been created in class. (P4)
(Please make sure the item in Part A is used to create the servlet)

Item in Personal Information

1. Name :
2. Matric Number:
3. Class :
4. Programme :
5. Phone Number :
6. Address (Permanent):
7. Address (Temporary):
8. PNM :
9. HPNM :
10. Grade for subject
a. Database Design
b. Web Design Technologies
11. Personal Picture
Question 2

Choose an existing webpage (university/hotel/school, etc.) and analyze its HTML code. Transform it into
servlet code.

REPORT

Part A (Define the HTML code)

1. Print the coding of HTML page. (Name your file: eg. Mechamato.html)
2. Print the output of HTML page.

Part B (Transform HTML code to Servlet code)

1. Build a servlet program based on HTML code in Part A.


2. Display the coding of the Servlet by printing the entire coding.
(Name your file: eg. Mechamato.java)
INFORMATION AND COMMUNICATION TECHNOLOGY
DEPARTMENT
SESSION : SESSION 1 2023/2024
Vision:
“To be the Leading_Edge TVET COURSE : DFP50283 – WEB DEVELOPMENT TECHNOLOGY
Institution”
CONTINUES ASSESSMENT : LABORATORY EXERCISE 1
TOPIC 1: Introduction to Java Web Technologies

Oganize Servlets to build web application.


• Define servlet
TOPIC
• Explain the architecture of servlet
• Decribe Servlet Lifecycle
• Explain HTTP Servlets: HTTPServletRequest, HTTPServletResponse

CLO1: Construct a dynamic web application using Servlets, JSP and database within
CLO
Java EE platform. (P4, PLO3)

ANSWER SCHEME / RUBRIC

Category 4 3 2 1 0 Score
1.HTML: Create and set Create and set Create and set Create and set No HTML
Create and set the HTML page the HTML the HTML the HTML set and
the HTML perfectly. page page partially page created.
programs. correctly. correctly. incorrectly.

2. HTML: All components Components Components Components No


Component and and and are added and component
arrangement in item(personal item(personal item(personal item(personal added into
HTML information) information) information) information) HTML
are added into are added into are added into into HTML
HTML HTML HTML incorrectly.
perfectly. correctly. partially
correctly.

3. Servlet: Create and set Create and set Create and set Create and set No Servlet
Create and set the Servlet page the Servlet the Servlet the Servlet set and
the Servlet with packages page with page with page with created.
programs with perfectly. packages packages packages
packages. correctly. partially incorrectly.
correctly.

4. Servlet: The servlet The servlet The servlet The servlet No servlet
Personal works perfectly. works works works to display
Information and correctly. partially incorrectly. personal
Existing Website correctly. information.

5. Creativity Was extremely Was well Was clever at Minimal Dull


clever and done and times; effort. Poor interface.
Category 4 3 2 1 0 Score
presented with interesting to incorporated layout/design.
originality. the audience; most of the Did not
Excellent added a few attributes; incorporate
layout/design original used a limited required
work touches to variety of attributes,
incorporating all enhance the appropriate graphics, did
required project; used a graphics. not resize
attributes, great good variety pictures,
variety of of appropriate inappropriate
appropriate graphics. graphics.
graphics that
enhanced the
pages.
6. Excellently Execute with Execute with Execute with No testing
Syntax/Runtime execute. minor error. several errors. major error. has been
Logic Error completed.

7. Printed Successfully Successfully Successfully Successfully No


Program executed executed executed executed submission
program. program. program. program. of printed
Program are Program are Program are Program are program.
easy to read, easy to read, easy to read, easy to read,
have comment have comment do not have do not have
and suitable part and certain comment and comment and
and follow the part and follow the follow the
writing rules. follow the writing rules. writing rules.
writing rules.

TOTAL MARK (28)

You might also like