-
- <%
- // Java code to handle the game logic
- int randomNumber = (int) (Math.random() * 10) + 1;
- String message = "";
-
- if (request.getMethod().equals("POST")) {
- int userGuess = Integer.parseInt(request.getParameter("guess"));
- if (userGuess == randomNumber) {
- message = "Congratulations! You guessed the correct number.";
- } else {
- message = "Try again. The correct number is not " + userGuess + ".";
- }
- }
- %>
-
-
+
+
Section 1
+
This is the first section.
+
+
+
Section 2
+
This is the second section.
+
+
+
Section 3
+
This is the third section.
+
From 2f9dec8c2e5ede87fb7e3eaf675feb7e1cca5e6b Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Sun, 1 Oct 2023 20:34:29 +0530
Subject: [PATCH 08/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 52 +++++---------------------------
1 file changed, 7 insertions(+), 45 deletions(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index c8041d8..edb7dff 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -1,53 +1,15 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
-
-
-
Section 1
-
This is the first section.
-
-
-
Section 2
-
This is the second section.
-
-
-
Section 3
-
This is the third section.
-
+
Beautiful Images
+
From 2cfea9b872ca79c26141b42a393844b0dfd33e34 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Mon, 9 Oct 2023 22:25:45 +0530
Subject: [PATCH 09/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index edb7dff..98c935b 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -1,15 +1,17 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
-
Beautiful Images
+
+
Pink Page
+
-
Beautiful Images
-
+
Welcome to the Pink Page
+
This is a pink-colored page created using JSP.
From 359fe197c4d7fbb27f8283715921128a076e6c9d Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Mon, 9 Oct 2023 22:57:11 +0530
Subject: [PATCH 10/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 98c935b..41a2c6c 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 30634b8c9c07ce4ffe0fdbe9dd01ff38525e73a4 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Mon, 9 Oct 2023 23:07:57 +0530
Subject: [PATCH 11/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 41a2c6c..98c935b 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 1528b3e80fa12fa910717f95cbe383f9c1b1bc6c Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 08:40:52 +0530
Subject: [PATCH 12/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 98c935b..30d4768 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 38e2ceca634980f2fd623ac40bc14ce80a4c8dc4 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 08:50:23 +0530
Subject: [PATCH 13/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 30d4768..af04132 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 750c981e8799b63eac4b1a9158b8c4e1f84f3658 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 09:16:24 +0530
Subject: [PATCH 14/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index af04132..98c935b 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 955933ce79b64d0351c978601f39acef74b8bf65 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 19:31:24 +0530
Subject: [PATCH 15/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 98c935b..30d4768 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From b200a61ebf34e1129f03c5717ebbb5173d2320f7 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 19:55:28 +0530
Subject: [PATCH 16/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 30d4768..98c935b 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 653ae812907dbe485b6b3384bebfe77fbae43eee Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 20:03:10 +0530
Subject: [PATCH 17/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 98c935b..30d4768 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 67c3462707099d2ab342aee6674a0b6b0766940d Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 20:09:58 +0530
Subject: [PATCH 18/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 30d4768..98c935b 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,7 +6,7 @@
Pink Page
From 6e5e07d763605ff7dd7c3580c5f844cb254d29e0 Mon Sep 17 00:00:00 2001
From: SathishNirmalM <140427208+SathishNirmalM@users.noreply.github.com>
Date: Tue, 10 Oct 2023 20:23:36 +0530
Subject: [PATCH 19/21] Update index.jsp
---
webapp/src/main/webapp/index.jsp | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/webapp/src/main/webapp/index.jsp b/webapp/src/main/webapp/index.jsp
index 98c935b..b46241c 100644
--- a/webapp/src/main/webapp/index.jsp
+++ b/webapp/src/main/webapp/index.jsp
@@ -6,12 +6,11 @@
Pink Page
-
Welcome to the Pink Page
-
This is a pink-colored page created using JSP.
-
+
Welcome to the Page
+