Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harshitrv/java-server-pages
https://github.com/harshitrv/java-server-pages
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/harshitrv/java-server-pages
- Owner: HarshitRV
- Created: 2021-12-29T11:59:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-08T13:48:16.000Z (over 2 years ago)
- Last Synced: 2023-03-10T01:40:55.957Z (over 1 year ago)
- Language: Java
- Size: 31.3 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changeBg/index.html
Awesome Lists containing this project
README
# JSP Programs (JAVA SERVER PAGES)
This repository is the collection of JSP Programs that has been done While Learning JSP at college as well as the collection of the program that were done while solving the daily Challenges.This repo has divided into three main categories that covers:-
1. Learning Programs:- This section contains all the programs that contain HTML and JSP codes, which can be easly shown on the web.
2. Backend JSP:- This section only contails the Core JSP programs which is Backend codes of all the forms which are in the Learning Programs section.
3. JSP Folders Description:- This section have information of the Folders which contain some amazing programs after learing JSP from College and Other Sources.
Apache Tomcat software is used to run the JSP codes in HTML.
# Our Discord's!
**[
Join us at (HackerSpace)](https://discord.gg/5PNFxQF2nz)**
**[
Join us at (h̲a̲c̲k̲e̲r̲s̲ ̲s̲e̲r̲v̲e̲r̲)](https://discord.gg/5uZjRKHmJQ)**
# Apache Tomcat
The Apache Tomcat software is an open source implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the Jakarta EE platform.
Without Apache Tomcat you cannot run your jsp codes.
This is the official website (https://tomcat.apache.org) of the Apache Tomcat from where you can download the software as per your requirment.
How to install Apache Tomcat on your devices.
1. **[Installation On Windows](https://github.com/HarshitRV/Java-Server-Pages/wiki/Tomcat-Window-Installation)**
2. **[Installation On Linux/Mac]()**
# JSP College Programs
|Folders |Description |
|----------------------------------------------------|----------------------------------------|
|1. **[fullName](fullName)**| Prints the full name on the page.|
|2. **[sum](sum)**| Calculated sum of two numbers.|
|3. **[changeBg](changeBg)**| Changes the background color of the pages on change of form value using JS.|
|4. **[sessionHandling](sessionHandling)**| This is the external jsp file of form4show that how we can change the external jsp Text color.|
|5. **[get-creative](get-creative)**| This Folder contains a todo-list program made from jsp.|# Learning
| Programs |Description |
|----------------------------------------------------|----------------------------------------|
|1. **[check.jsp:](learning/check.jsp)**| Program to check wheather web page is working on localhost or not.|
|2. **[jsp_inside_html.jsp:](learning/jsp_inside_html.jsp)**| Program to show how to write JSP codes in html.|
|3. **[if_else.jsp:](learning/if_else.jsp)**| Program to show how to use if else in html using jsp by checking wheather the number is even or odd.|
|4. **[for_loop.jsp:](learning/for_loop.jsp)**| Program to show how to use for loop inside html using jsp.|
|5. **[form1.jsp:](learning/forms/form1.jsp)**| Program to show how to make a form with html and jsp & use of action attribute in form.|
|6. **[form2.jsp:](learning/forms/form2.jsp)**| Program to check weather the number is even or odd in the form |
|7. **[form3.jsp:](learning/forms/form3.jsp)**| Program to show that how we can change the external jsp background color.|
|8. **[form4.jsp:](learning/forms/form4.jsp)**| Program to show that how we can change the external jsp Text color.|
|9. **[form5.jsp:](learning/forms/form5.jsp)**| Program to show that how to check the login id or password is correct or not.|
|10. **[form6.jsp:](learning/forms/form6.jsp)**| Program to make a dynamic table. |
|11. **[form7.jsp:](learning/forms/form7.jsp)**| Program to print row and column number in each cell of the dynamic table.|
|12. **[form8.jsp:](learning/forms/form8.jsp)**| Program to show that how to redirect page as per the login id and password is correct or not.|
|13. **[pageredirect.jsp:](learning/forms/pageredirect.jsp)**| Program to show how to redirect a page in jsp.|# Miscellaneous Programs
|Programs |Description |
|----------------------------------------------------|----------------------------------------|
|1. **[code1.jsp](learning/forms/jsp_files/code1.jsp)**| This is the external jsp file of form1 which show's how to write jsp externally.|
|2. **[code2.jsp](learning/forms/jsp_files/code2.jsp)**| This is the external jsp file of form1 which check's weather the number is even or odd in the form.|
|3. **[code3.jsp](learning/forms/jsp_files/code3.jsp)**| This is the external jsp file of form3 show that how we can change the external jsp background color.|
|4. **[code4.jsp](learning/forms/jsp_files/code4.jsp)**| This is the external jsp file of form4show that how we can change the external jsp Text color.|
|5. **[code5.jsp](learning/forms/jsp_files/code5.jsp)**| This is the external jsp file of form5 show that how to check the login id or password is correct or not.|
|6. **[code6.jsp](learning/forms/jsp_files/code6.jsp)**| This is the external jsp file of form6 which make's a dynamic table.|
|7. **[code7.jsp](learning/forms/jsp_files/code7.jsp)**| This is the external jsp file of form7 which print's row and column number in each cell of the dynamic table.|
|8. **[code8.jsp](learning/forms/jsp_files/code8.jsp)**| This is the external jsp file of form8 which show's that how to redirect page as per the login id and password is correct or not.|
|9. **[invalid.jsp](learning/forms/jsp_files/invalid.jsp)**| This is the external jsp file of form8 which show's what will happen when the login is invalid.|
|10. **[success.jsp](learning/forms/jsp_files/success.jsp)**| This is the external jsp file of form8 which show's what will happen when the login is valid.|