diff --git a/WT_WEEK_1/README.md b/WT_WEEK_1/README.md deleted file mode 100644 index 79c7cbf..0000000 --- a/WT_WEEK_1/README.md +++ /dev/null @@ -1,3 +0,0 @@ -## Web Techologies WEEK-1 - -This is a website build only using **HTML** and with few internal **CSS** here and there. build by [`AVidhanR`](https://linktr.ee/itsvidhanreddy)✨ diff --git a/WT_WEEK_1/alignment/left.html b/WT_WEEK_1/alignment/left.html deleted file mode 100644 index b788805..0000000 --- a/WT_WEEK_1/alignment/left.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - leftFrame - - -
- CSE

- ECE

- EEE

- MECH -
- - diff --git a/WT_WEEK_1/alignment/right.html b/WT_WEEK_1/alignment/right.html deleted file mode 100644 index f280e66..0000000 --- a/WT_WEEK_1/alignment/right.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - rightFrame - - -
-
-

Welcome to the Online BookStore!!!

-
-

"A Huge Collection Of Engineering E-Books"

-
- - diff --git a/WT_WEEK_1/alignment/top.html b/WT_WEEK_1/alignment/top.html deleted file mode 100644 index 4bb56b0..0000000 --- a/WT_WEEK_1/alignment/top.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - topFrame - - - - - -
- - Online BookStore
- Created & Maintained by MRCET -
-
- - - - - - - -
HOMELOGINREGISTRATIONCATALOGUE
- - diff --git a/WT_WEEK_1/catalogue.html b/WT_WEEK_1/catalogue.html deleted file mode 100644 index fbe0353..0000000 --- a/WT_WEEK_1/catalogue.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - Catalogue - - -
- - - - - - - - - - - - - -
Book: Web Technologies
- Author: Uttam K. Roy
- Publication:OxfordUniversityPress
531   
Book: PHP & MySQL Web Development
Author:Luke Welling & - LauraThompson
Publication:PEARSON
898   
-
- - diff --git a/WT_WEEK_1/dept/cse.html b/WT_WEEK_1/dept/cse.html deleted file mode 100644 index fe78a49..0000000 --- a/WT_WEEK_1/dept/cse.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - CSE - - -

Computer Science and Engineering

-

- -

- - diff --git a/WT_WEEK_1/dept/ece.html b/WT_WEEK_1/dept/ece.html deleted file mode 100644 index 24227a3..0000000 --- a/WT_WEEK_1/dept/ece.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - ECE - - -

Electronics and Communication Engineering

-

- -

- - diff --git a/WT_WEEK_1/dept/eee.html b/WT_WEEK_1/dept/eee.html deleted file mode 100644 index 023d679..0000000 --- a/WT_WEEK_1/dept/eee.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - EEE - - -

Electrical and Electronics Engineering

-

- -

- - diff --git a/WT_WEEK_1/dept/mech.html b/WT_WEEK_1/dept/mech.html deleted file mode 100644 index 1aa8ed0..0000000 --- a/WT_WEEK_1/dept/mech.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - MECH - - -

Mechanical Engineering

-

- -

- - diff --git a/WT_WEEK_1/images/books.png b/WT_WEEK_1/images/books.png deleted file mode 100644 index 30335b5..0000000 Binary files a/WT_WEEK_1/images/books.png and /dev/null differ diff --git a/WT_WEEK_1/images/iso_9000.png b/WT_WEEK_1/images/iso_9000.png deleted file mode 100644 index e60554b..0000000 Binary files a/WT_WEEK_1/images/iso_9000.png and /dev/null differ diff --git a/WT_WEEK_1/images/login.png b/WT_WEEK_1/images/login.png deleted file mode 100644 index 2bfa69c..0000000 Binary files a/WT_WEEK_1/images/login.png and /dev/null differ diff --git a/WT_WEEK_1/images/rec_logo.jpeg b/WT_WEEK_1/images/rec_logo.jpeg deleted file mode 100644 index 7c864b6..0000000 Binary files a/WT_WEEK_1/images/rec_logo.jpeg and /dev/null differ diff --git a/WT_WEEK_1/images/web_technologies.png b/WT_WEEK_1/images/web_technologies.png deleted file mode 100644 index 6b8f48f..0000000 Binary files a/WT_WEEK_1/images/web_technologies.png and /dev/null differ diff --git a/WT_WEEK_1/index.html b/WT_WEEK_1/index.html deleted file mode 100644 index 5510826..0000000 --- a/WT_WEEK_1/index.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - Home - - - - -
- - -
- - diff --git a/WT_WEEK_1/login.html b/WT_WEEK_1/login.html deleted file mode 100644 index 463bd03..0000000 --- a/WT_WEEK_1/login.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - Login - - -
-

Enter Login Details

-
- - - - - - - - - - - - - -
LoginID:
Password:
-
- - diff --git a/WT_WEEK_1/order.html b/WT_WEEK_1/order.html deleted file mode 100644 index 3714ad3..0000000 --- a/WT_WEEK_1/order.html +++ /dev/null @@ -1,11 +0,0 @@ - -order conformation - -
-

-Your order Is Conformed
-
-

THANK YOU...Visit Again

-
- - diff --git a/WT_WEEK_1/php.png b/WT_WEEK_1/php.png deleted file mode 100644 index c9a0aed..0000000 Binary files a/WT_WEEK_1/php.png and /dev/null differ diff --git a/WT_WEEK_1/registration.html b/WT_WEEK_1/registration.html deleted file mode 100644 index f11acc9..0000000 --- a/WT_WEEK_1/registration.html +++ /dev/null @@ -1,29 +0,0 @@ - - - Registration Form - -
- Registration Form
-
- First Name(Minimum 6 characters)* -

- Last Name*     -

- Email Address*    -
- (one e-mail id only):    - e.g. smith@hotmail.com

- Password(minimum 6 characters)*    -

- Address*    -

- Mobile No*    -
- Gender:male - female

- - -
-
- - diff --git a/WT_WEEK_2/README.md b/WT_WEEK_2/README.md deleted file mode 100644 index 8a270eb..0000000 --- a/WT_WEEK_2/README.md +++ /dev/null @@ -1,5 +0,0 @@ -## Web Technologies WEEK 2 - -- This website gives the example of inline, internal and external **CSS** -- Also covers the selectors concept, certain properties of anchor tag. -- Built by [`A Vidhan Reddy`](https://linktr.ee/itsvidhanreddy) diff --git a/WT_WEEK_2/images/cse.png b/WT_WEEK_2/images/cse.png deleted file mode 100644 index 94ab548..0000000 Binary files a/WT_WEEK_2/images/cse.png and /dev/null differ diff --git a/WT_WEEK_2/index.html b/WT_WEEK_2/index.html deleted file mode 100644 index bc9ab7f..0000000 --- a/WT_WEEK_2/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - Home - - - - -

- CSS (Inline, Internal and External) -

-

This paragraph is not styled

-

This paragraph is styled by class "left"

-

This paragraph is styled by class "center"

-

The paragraph is styled by class "right"

- This is normal bold
- This bold text is styled -

This is a normal link

-

This cursor, over this element is a plus sign

-

This cursor, over this element is a pointing hand

-

This cursor, over this element is a grasping hand

-

This cursor, over this element is a text bar

-

This cursor, over this element is a wait

-

This cursor, over this element is a question mark

- - diff --git a/WT_WEEK_2/style.css b/WT_WEEK_2/style.css deleted file mode 100644 index f59655d..0000000 --- a/WT_WEEK_2/style.css +++ /dev/null @@ -1,30 +0,0 @@ -.left { - text-align: left; - color: blue; - font-family: Cambria; - font-size: large; - text-indent: 20px; -} -.center { - text-align: center; - text-decoration: underline; - text-transform: uppercase; - color: burlywood; - letter-spacing: -3px; - word-spacing: 20px; - font-size: larger; -} -.right { - text-align: right; - color: white; - font-family: Tahoma; - font-size: 15pt; - text-decoration: overline; - font-style: italic; -} -#headline { - color: orange; - font-size: 22px; - font-family: arial; - text-decoration: underline; -} diff --git a/WT_WEEK_3/WEEK_3A/README.md b/WT_WEEK_3/WEEK_3A/README.md deleted file mode 100644 index 0d05f9b..0000000 --- a/WT_WEEK_3/WEEK_3A/README.md +++ /dev/null @@ -1,4 +0,0 @@ -## Factorial of a number - -- This website can find the factorial of a number which is implemented using `JavaScript` -- website built by [`A Vidhan Reddy`](https://linktr.ee/itsvidhanreddy) diff --git a/WT_WEEK_3/WEEK_3A/index.html b/WT_WEEK_3/WEEK_3A/index.html deleted file mode 100644 index 0afa03f..0000000 --- a/WT_WEEK_3/WEEK_3A/index.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - Factorial - - -
-

Click the button to calculate the factorial of a number

- -
- - - diff --git a/WT_WEEK_3/WEEK_3B/README.md b/WT_WEEK_3/WEEK_3B/README.md deleted file mode 100644 index 40bc210..0000000 --- a/WT_WEEK_3/WEEK_3B/README.md +++ /dev/null @@ -1,4 +0,0 @@ -## Multiplication table - -- This website can generate any table upto 10 limit and it is done using `JavaScript` -- website built by [`A Vidhan Reddy`](https://linktr.ee/itsvidhanreddy) diff --git a/WT_WEEK_3/WEEK_3B/index.html b/WT_WEEK_3/WEEK_3B/index.html deleted file mode 100644 index bdde5fa..0000000 --- a/WT_WEEK_3/WEEK_3B/index.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - Multiplication table - - - -

- Get the multiplication table for any positive number by clicking below - button. -

- - - diff --git a/WT_WEEK_4/README.md b/WT_WEEK_4/README.md deleted file mode 100644 index b31d6fe..0000000 --- a/WT_WEEK_4/README.md +++ /dev/null @@ -1,4 +0,0 @@ -## Countries with thier capitals - -- select the desired country and get the capital for it! -- website built by [`A Vidhan Reddy`](https://linktr.ee/itsvidhanreddy) diff --git a/WT_WEEK_4/index.html b/WT_WEEK_4/index.html deleted file mode 100644 index c95b48d..0000000 --- a/WT_WEEK_4/index.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - Countries - - - -
-

Select the country name to find its capital

-
- Select country : -

- Capital :  -
-
- - - diff --git a/WT_WEEK_5/README.md b/WT_WEEK_5/README.md deleted file mode 100644 index 6c860de..0000000 --- a/WT_WEEK_5/README.md +++ /dev/null @@ -1,4 +0,0 @@ -### Form validation - -- Form validation using the `RegEx` class and validated using `.test()` method -- website built by [`A Vidhan Reddy`](https://linktr.ee/itsvidhanreddy) diff --git a/WT_WEEK_5/index.html b/WT_WEEK_5/index.html deleted file mode 100644 index 8dbc35c..0000000 --- a/WT_WEEK_5/index.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - Registration Form - - - -
- Registration -
- First Name* -
- (minimum 6 characters)
- Last Name -
- Email Address* -
- (one e-mail id only):    - e.g. smith@hotmail.com

- Password* -
- (minimum 6 characters)

- Address* -
- Mobile No* -
- - - -
-
- - diff --git a/WT_WEEK_7/LogoutServlet.class b/WT_WEEK_7/LogoutServlet.class deleted file mode 100644 index ae2462a..0000000 Binary files a/WT_WEEK_7/LogoutServlet.class and /dev/null differ diff --git a/WT_WEEK_7/LogoutServlet.java b/WT_WEEK_7/LogoutServlet.java deleted file mode 100644 index d4c0965..0000000 --- a/WT_WEEK_7/LogoutServlet.java +++ /dev/null @@ -1,18 +0,0 @@ -import java.io.IOException; -import java.io.PrintWriter; -import jakarta.servlet.ServletException; -import jakarta.servlet.http.*; - -public class LogoutServlet extends HttpServlet { - protected void doPost(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - HttpSession session = request.getSession(); - long startTime = (long) session.getAttribute("startTime"); - long duration = System.currentTimeMillis() - startTime; - response.setContentType("text/html"); - PrintWriter out = response.getWriter(); - out.println("

Thank You " + session.getAttribute("name") + "

"); - out.println("

Your session duration was " + duration + " milliseconds.

"); - session.invalidate(); - } -} diff --git a/WT_WEEK_7/README.md b/WT_WEEK_7/README.md deleted file mode 100644 index e22ada7..0000000 --- a/WT_WEEK_7/README.md +++ /dev/null @@ -1,47 +0,0 @@ -### Greeting's Web Application - -- Firstly, create a `HTML` file named as `welcome_servlet.html` (The name of `HTML` file can be anything but, better to keep an easy one) add the necessary code in it. -- Secondly, create a `Java` file named as `WelcomeServlet.java` and `LogoutServlet.java`(This name should be absolute no changes, if you done any make sure to change in the `HTML` file too) add teh necessary code in them. -- Now, Start the Tomcat server but double clicking `Tomcat10.exe` and leave the cmd window be. -- **Path to find Tomcat10.exe is** [`Program Files\Apache Software Foundation\Tomcat 10.1\bin`]() -- After that, double click the `startup.bat` for our benefit. -- Place the `welcome_servlet.html` in this path [`Program Files\Apache Software Foundation\Tomcat 10.1\webapps\examples`]() - -- Now, compile the `WelcomeServlet.java`, `LogoutServlet.java` and then the class files are generated `WelcomeServlet.class`, `LogoutServlet.class` place these four file in (classes folder) this path [`Program Files\Apache Software Foundation\Tomcat 10.1\webapps\examples\WEB-INF\classes`]() - -- Update the existing `web.xml` available in the path `` with the below data - -```xml - - WelcomeServlet - WelcomeServlet - - - LogoutServlet - LogoutServlet - - - LogoutServlet - /LogoutServlet - - - WelcomeServlet - /WelcomeServlet - - - LogoutServlet - LogoutServlet - - - LogoutServlet - /LogoutServlet - -``` - -- Let's execute the program by going to the tomcat server by typing [`http://localhost:8080`]() in the browser address bar. -- Now in the address bar replace it with this url [`http://localhost:8080/examples/welcome_servlet.html`]() -- That's it now you can access the web application with ease. - -Note : - -- Donot close the cmd window that appeared when you clicked the `Tomcat10.exe` diff --git a/WT_WEEK_7/WelcomeServlet.class b/WT_WEEK_7/WelcomeServlet.class deleted file mode 100644 index 3fcbc40..0000000 Binary files a/WT_WEEK_7/WelcomeServlet.class and /dev/null differ diff --git a/WT_WEEK_7/WelcomeServlet.java b/WT_WEEK_7/WelcomeServlet.java deleted file mode 100644 index d17dd12..0000000 --- a/WT_WEEK_7/WelcomeServlet.java +++ /dev/null @@ -1,23 +0,0 @@ -import java.io.IOException; -import java.io.PrintWriter; -import jakarta.servlet.ServletException; -import jakarta.servlet.http.*; - -public class WelcomeServlet extends HttpServlet { - protected void doPost(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - response.setContentType("text/html"); - PrintWriter out = response.getWriter(); - String name = request.getParameter("name"); - - HttpSession session = request.getSession(); - session.setAttribute("name", name); - session.setAttribute("startTime", System.currentTimeMillis()); - - out.println("

Hello " + name + "

"); - out.println("

Session started at " + session.getAttribute("startTime") + "

"); - out.println("
"); - out.println(""); - out.println("
"); - } -} diff --git a/WT_WEEK_7/welcome_servlet.html b/WT_WEEK_7/welcome_servlet.html deleted file mode 100644 index c7f61d3..0000000 --- a/WT_WEEK_7/welcome_servlet.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - WelcomeServlet - - -

Enter Your Name:

-
- - -
- - diff --git a/WT_WEEK_8/CalculatorServlet.class b/WT_WEEK_8/CalculatorServlet.class deleted file mode 100644 index 30c680e..0000000 Binary files a/WT_WEEK_8/CalculatorServlet.class and /dev/null differ diff --git a/WT_WEEK_8/CalculatorServlet.java b/WT_WEEK_8/CalculatorServlet.java deleted file mode 100644 index ff5e9f1..0000000 --- a/WT_WEEK_8/CalculatorServlet.java +++ /dev/null @@ -1,38 +0,0 @@ -import java.io.IOException; -import java.io.PrintWriter; -import jakarta.servlet.ServletException; -import jakarta.servlet.http.*; - -public class CalculatorServlet extends HttpServlet { - protected void doPost(HttpServletRequest request, HttpServletResponse response) - throws ServletException, IOException { - double num1 = Double.parseDouble(request.getParameter("number1")); - double num2 = Double.parseDouble(request.getParameter("number2")); - String operator = request.getParameter("operator"); - double result = 0; - - switch (operator) { - case "+": - result = num1 + num2; - break; - case "-": - result = num1 - num2; - break; - case "*": - result = num1 * num2; - break; - case "/": - if (num2 != 0) { - result = num1 / num2; - } else { - result = Double.NaN; // Handle division by zero - } - break; - case "%": - result = num1 % num2; - break; - } - request.setAttribute("result", result); - request.getRequestDispatcher("result.jsp").forward(request, response); - } -} diff --git a/WT_WEEK_8/README.md b/WT_WEEK_8/README.md deleted file mode 100644 index 8586ab1..0000000 --- a/WT_WEEK_8/README.md +++ /dev/null @@ -1,30 +0,0 @@ -### Calculator Web Application - -- Firstly, create a `HTML` file named as `calculator_servlet.html` (The name of `HTML` file can be anything but, better to keep an easy one) add the necessary code in it. -- Secondly, a `JSP` file named as `result.jsp` and add the necessary code in it. -- Now, create a `Java` file named as `CalculatorServlet.java` (This name should be absolute with no changes, if you done any make sure to change in the `HTML` file too) add the necessary code in it. -- Now, Start the Tomcat server but double clicking `Tomcat10.exe` and leave the cmd window be. -- **Path to find Tomcat10.exe is** [`Program Files\Apache Software Foundation\Tomcat 10.1\bin`]() -- After that, double click the `startup.bat` for our benefit. -- Place the `calculator_servlet.html` in this path [`Program Files\Apache Software Foundation\Tomcat 10.1\webapps\examples`]() -- Now, compile the `CalculatorServlet.java` and then a class file is generated `CalculatorServlet.class` place these two file in (classes folder) this path [`Program Files\Apache Software Foundation\Tomcat 10.1\webapps\examples\WEB-INF\classes`]() -- Update the existing `web.xml` available in the path `` with the below data - -```xml - - CalculatorServlet - CalculatorServlet - - - CalculatorServlet - /CalculatorServlet - -``` - -- Let's execute the program by going to the tomcat server by typing [`http://localhost:8080`]() in the browser address bar. -- Now in the address bar replace it with this url [`http://localhost:8080/examples/calculator_servlet.html`]() -- That's it now you can access the web application with ease. - -Note : - -- Donot close the cmd window that appeared when you clicked the `Tomcat10.exe` diff --git a/WT_WEEK_8/calculator_servlet.html b/WT_WEEK_8/calculator_servlet.html deleted file mode 100644 index 7a6cb81..0000000 --- a/WT_WEEK_8/calculator_servlet.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - Calculator - - -

Calculator

-
- - - - -
- - diff --git a/WT_WEEK_8/result.jsp b/WT_WEEK_8/result.jsp deleted file mode 100644 index c2c0b09..0000000 --- a/WT_WEEK_8/result.jsp +++ /dev/null @@ -1,10 +0,0 @@ -<%@page contentType="text/html" pageEncoding="UTF-8"%> - - - - Result - - -

Result: <%= request.getAttribute("result") %>

- - diff --git a/WT_WEEK_9/README.md b/WT_WEEK_9/README.md new file mode 100644 index 0000000..76b4c0c --- /dev/null +++ b/WT_WEEK_9/README.md @@ -0,0 +1 @@ +### Week 9