WT 2
WT 2
Here are the important topics you should focus on for each unit:
1️⃣ Introduction
What is JSP (JavaServer Pages)?
JSP Architecture
Compilation phase
Formatting Dates
wt-imp 2
charAt() , indexOf() , slice() , substring() , replace()
screen.width , screen.height
screen.availWidth , screen.availHeight
screen.colorDepth , screen.pixelDepth
navigator.userAgent
navigator.platform
navigator.language
wt-imp 3
navigator.onLine
Image Preloading
UNIT 2
Here are the important topics from your 2nd Unit, structured like before:
Creating Objects
Built-in objects in JSP that developers can use without explicit declaration.
wt-imp 4
List of JSP Implicit Objects & Their Uses
Syntax:
<%!
int num = 10;
public int getNum() {
return num;
}
%>
Page Directive ( <%@ page %> ) → Defines page settings (language, session,
error handling)
Include Directive ( <%@ include %> ) → Inserts content from another file
Taglib Directive ( <%@ taglib %> ) → Imports tag libraries (like JSTL)
Example:
wt-imp 6
9️⃣ JSP Scriptlets
Used to write Java code inside JSP
Syntax:
<%
int a = 10;
int b = 20;
int sum = a + b;
%>
Sum: <%= sum %>
🔟 JSP Actions
Standard JSP Actions
Syntax: ${expression}
Common Uses:
<c:forEach> → Loops
<mytag:welcome />
wt-imp 8
Use HTTPS
This covers all the important topics from your 2nd unit! Let me know if you need
more details on any topic. 🚀🔥
UNIT 3
Here are the important topics from your 3rd unit, structured properly:
<script type="text/vbscript">
MsgBox "Welcome to VBScript!"
</script>
Event-Driven Script
Inside <head>
Inside <body>
Example:
wt-imp 9
<script type="text/vbscript">
Sub DisplayMessage()
MsgBox "This is VBScript!"
End Sub
</script>
<button onclick="DisplayMessage()">Click Me</button>
Strings
Boolean (True/False)
Date/Time
Example:
Dim num
num = 100
MsgBox TypeName(num) 'Outputs: Integer
Assigning Values
arr(0) = "Apple"
arr(1) = "Banana"
wt-imp 10
Dynamic Arrays
Dim dynArr()
ReDim dynArr(5) 'Resizes the array dynamically
Dim response
response = MsgBox("Do you want to continue?", vbYesNo, "Confirmatio
n")
If response = vbYes Then
MsgBox "You clicked Yes!"
Else
MsgBox "You clicked No!"
End If
Sub ShowMessage()
MsgBox "Hello from Subroutine!"
End Sub
Function AddNumbers(a, b)
AddNumbers = a + b
wt-imp 11
End Function
MsgBox AddNumbers(5, 10) 'Outputs: 15
Dim i
For i = 1 To 5
MsgBox "Loop iteration: " & i
Next
Do While Loop
Syntax:
Dim x
x=1
Do While x <= 3
MsgBox "Count: " & x
wt-imp 12
x=x+1
Loop
Do Until Loop
Syntax:
Dim y
y=1
Do Until y > 3
MsgBox "Count: " & y
y=y+1
Loop
Example:
Dim grade
grade = "B"
Content updates
Bug fixing
SEO optimization
Security updates
Mobile Responsiveness
SEO Score
Security Issues
wt-imp 14
1. Choose a Hosting Provider (GoDaddy, Bluehost, Hostinger, etc.)
This covers all the important topics from your 3rd unit! 🎯 Let me know if you
need more explanations. 🚀🔥
UNIT 4
Here are the important topics from your 4th unit, structured properly:
wt-imp 15
Scalability → Allows distributed architecture.
Platform & Language Independence → Uses open standards like HTTP, XML,
JSON.
RESTful Web Services → Uses HTTP Methods, JSON/XML, and follows REST
principles.
Key Components:
wt-imp 16
SOAP Message (Structured XML message).
Example WSDL:
<definitions name="CalculatorService">
<message name="AddRequest">
<part name="num1" type="xsd:int"/>
<part name="num2" type="xsd:int"/>
</message>
</definitions>
wt-imp 17
Example SOAP Message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/e
nvelope/">
<soapenv:Header/>
<soapenv:Body>
<AddNumbers>
<num1>10</num1>
<num2>20</num2>
</AddNumbers>
</soapenv:Body>
</soapenv:Envelope>
GET https://api.example.com/users/1
🔟 REST Principles
Statelessness → Each request from a client contains all the information
needed.
wt-imp 18
Uniform Interface → Uses standard HTTP methods (GET, POST, PUT,
DELETE).
This covers all the important topics from your 4th unit! 🎯 Let me know if you
need more explanations. 🚀🔥
wt-imp 19