├── .settings ├── org.eclipse.wst.jsdt.ui.superType.name ├── org.eclipse.wst.jsdt.ui.superType.container ├── org.eclipse.core.resources.prefs ├── org.eclipse.wst.common.project.facet.core.xml ├── org.eclipse.wst.common.component ├── org.eclipse.jdt.core.prefs └── .jsdtscope ├── src └── main │ ├── webapp │ ├── META-INF │ │ └── MANIFEST.MF │ ├── tick.png │ ├── vtul.png │ ├── Frame 2.png │ ├── Frame 3.png │ ├── Frame 4.png │ ├── WEB-INF │ │ ├── lib │ │ │ └── mysql-connector-j-8.1.0.jar │ │ └── web.xml │ ├── success.jsp │ ├── login.jsp │ ├── report.jsp │ ├── landing.jsp │ └── reported.jsp │ └── java │ ├── login.java │ └── report.java ├── .project ├── .classpath └── README.md /.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /src/main/webapp/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Class-Path: 3 | 4 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding/=UTF-8 3 | -------------------------------------------------------------------------------- /src/main/webapp/tick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arcane77/GECH-IT-Issue-Reporting-Management/HEAD/src/main/webapp/tick.png -------------------------------------------------------------------------------- /src/main/webapp/vtul.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arcane77/GECH-IT-Issue-Reporting-Management/HEAD/src/main/webapp/vtul.png -------------------------------------------------------------------------------- /src/main/webapp/Frame 2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arcane77/GECH-IT-Issue-Reporting-Management/HEAD/src/main/webapp/Frame 2.png -------------------------------------------------------------------------------- /src/main/webapp/Frame 3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arcane77/GECH-IT-Issue-Reporting-Management/HEAD/src/main/webapp/Frame 3.png -------------------------------------------------------------------------------- /src/main/webapp/Frame 4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arcane77/GECH-IT-Issue-Reporting-Management/HEAD/src/main/webapp/Frame 4.png -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/lib/mysql-connector-j-8.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arcane77/GECH-IT-Issue-Reporting-Management/HEAD/src/main/webapp/WEB-INF/lib/mysql-connector-j-8.1.0.jar -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=19 4 | org.eclipse.jdt.core.compiler.compliance=19 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 9 | org.eclipse.jdt.core.compiler.release=enabled 10 | org.eclipse.jdt.core.compiler.source=19 11 | -------------------------------------------------------------------------------- /.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | It 6 | It 7 | It 8 | 9 | 10 | It 11 | /It 12 | 13 | itsol 14 | 15 | index.html 16 | index.htm 17 | index.jsp 18 | default.html 19 | default.htm 20 | default.jsp 21 | 22 | 23 | 24 | report 25 | report 26 | report 27 | 28 | 29 | report 30 | /report 31 | 32 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | itsol 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.common.project.facet.core.builder 15 | 16 | 17 | 18 | 19 | org.eclipse.wst.validation.validationbuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.jem.workbench.JavaEMFNature 26 | org.eclipse.wst.common.modulecore.ModuleCoreNature 27 | org.eclipse.wst.common.project.facet.core.nature 28 | org.eclipse.jdt.core.javanature 29 | org.eclipse.wst.jsdt.core.jsNature 30 | 31 | 32 | 33 | 1693046480266 34 | 35 | 30 36 | 37 | org.eclipse.core.resources.regexFilterMatcher 38 | node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /src/main/java/login.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | import jakarta.servlet.RequestDispatcher; 4 | import jakarta.servlet.ServletException; 5 | import jakarta.servlet.annotation.WebServlet; 6 | import jakarta.servlet.http.HttpServlet; 7 | import jakarta.servlet.http.HttpServletRequest; 8 | import jakarta.servlet.http.HttpServletResponse; 9 | import java.io.IOException; 10 | import java.io.PrintWriter; 11 | import java.sql.Connection; 12 | import java.sql.DriverManager; 13 | import java.sql.PreparedStatement; 14 | import java.sql.ResultSet; 15 | 16 | /** 17 | * Servlet implementation class It 18 | */ 19 | @WebServlet("/login") 20 | public class login extends HttpServlet { 21 | private static final long serialVersionUID = 1L; 22 | 23 | /** 24 | * @see HttpServlet#HttpServlet() 25 | */ 26 | 27 | public login() { 28 | super(); 29 | // TODO Auto-generated constructor stub 30 | } 31 | 32 | /** 33 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 34 | */ 35 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 36 | // TODO Auto-generated method stub 37 | response.getWriter().append("Served at: ").append(request.getContextPath()); 38 | } 39 | 40 | /** 41 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 42 | */ 43 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 44 | response.setContentType("text/html"); 45 | PrintWriter out = response.getWriter(); 46 | String email = request.getParameter("email"); 47 | String pswd = request.getParameter("pswd"); 48 | try { 49 | Class.forName("com.mysql.jdbc.Driver"); 50 | Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/login","root","Myocardium@1"); 51 | 52 | PreparedStatement ps =con.prepareStatement("INSERT INTO login(email, pswd) values(?,?)"); 53 | 54 | ps.setString(1, email); 55 | ps.setString(2, pswd); 56 | int i=ps.executeUpdate(); 57 | 58 | 59 | if(i>0) { 60 | RequestDispatcher rd =request.getRequestDispatcher("landing.jsp"); 61 | rd.forward(request,response); 62 | //out.println("logged in"); 63 | 64 | } 65 | else { 66 | out.println("login failed!
"); 67 | out.println("try again!!"); 68 | } 69 | } catch (Exception e) { 70 | System.out.println(e); 71 | } 72 | } 73 | 74 | } 75 | we could have an admin login 76 | -------------------------------------------------------------------------------- /src/main/webapp/success.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | report issue 9 | 10 | 11 | 84 | 85 | 86 |
87 | 88 |

GECH IT SOLUTION MANAGEMENT

89 |
90 |
91 |
92 |

Your problem has been submitted

93 |

Solution is on its way

94 | 95 | 96 |
97 |
98 | 99 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GECH IT Issue Reporting and Management Web Application 2 | 3 | ## Description 4 | 5 | This application aims to streamline the process of reporting and managing IT issues at GECH (Government Engineering College of Hassan). It significantly reduces manual workload by 70% and improves the accuracy of product data by 90%. 6 | 7 | ## Table of Contents 8 | 9 | 1. Features 10 | 2. Installation 11 | 3. Usage 12 | 4. Technologies Used 13 | 5. Snapshots 14 | 6. Contributing 15 | 16 | --- 17 | 18 | ## Features 19 | 20 | - Automated Issue Reporting: Allows users to report IT issues with a simple and intuitive interface. 21 | - Data Accuracy: Implements data validation and integrity checks to ensure 90% accuracy. 22 | - Efficiency: Designed to reduce the manual workload of IT staff by 70%. 23 | - Dashboard: Provides a dashboard for real-time tracking and management of IT issues. 24 | 25 | --- 26 | 27 | ## Installation 28 | 29 | 1️⃣ Download the Zip file 30 | 31 | 2️⃣ Open the project in your favourite IDE: `eclipse` 32 | 33 | 3️⃣ Install required packages and libraries(apache tomcat and MySQL connect or) 34 | 35 | 4️⃣ Download and install [MySQL Connector/J](https://dev.mysql.com/downloads/connector/j/) for database connectivity(place the connector jar file in Program Files/Apache/tomcat/lib folder) 36 | 37 | 5️⃣ Configure MySQL database and update connection settings in your `config` files. 38 | 39 | 6️⃣ Deploy the web application on a Tomcat server. 40 | 41 | --- 42 | 43 | ## Usage 44 | 45 | 1. Open a web browser and navigate to the deployed application URL. 46 | 2. Sign in using your credentials. 47 | 3. To report an issue, click on 'Report Issue' and fill out the required fields. 48 | 4. To manage issues, navigate to the reported dashboard. 49 | 50 | --- 51 | 52 | ## Technologies Used 53 | 54 | - Front-end: HTML, CSS3 55 | - Back-end: Servlet, JSP 56 | - Database: MySQL 57 | 58 | --- 59 | 60 | ## Snapshots 61 | 62 | Landing UI 63 | --- 64 | ![WhatsApp Image 2024-05-29 at 6 52 14 AM](https://github.com/arcane77/GECH-IT-Issue-Reporting-Management/assets/96630482/6930e4b6-3173-4782-8f04-b475a4cac296) 65 | --- 66 | Admin Login 67 | --- 68 | ![WhatsApp Image 2024-05-29 at 6 52 15 AM](https://github.com/arcane77/GECH-IT-Issue-Reporting-Management/assets/96630482/c472cdc6-cb9e-4c60-9914-b626f59f9d32) 69 | --- 70 | Report an Issue 71 | --- 72 | ![WhatsApp Image 2023-08-25 at 5 14 54 PM (1)](https://github.com/arcane77/GECH-IT-Solution-Management/assets/96630482/501f4f92-ce79-4bd1-9262-77345e42b573) 73 | --- 74 | Success message 75 | --- 76 | ![WhatsApp Image 2024-05-29 at 6 52 15 AM (4)](https://github.com/arcane77/GECH-IT-Issue-Reporting-Management/assets/96630482/09b956e4-0ffd-4480-b05d-ff49fa428efe) 77 | --- 78 | Admin Dashboard 79 | --- 80 | ![WhatsApp Image 2023-12-19 at 5 48 42 PM](https://github.com/arcane77/GECH-IT-Solution-Management/assets/96630482/f813f327-2efb-4ec2-84ac-b906133640a9) 81 | --- 82 | Reported Issues 83 | --- 84 | ![WhatsApp Image 2023-08-25 at 5 14 54 PM (3)](https://github.com/arcane77/GECH-IT-Solution-Management/assets/96630482/90be6d6a-c1d0-4613-bb13-0dd41fbb220a) 85 | --- 86 | ### Solved Issues 87 | --- 88 | ![WhatsApp Image 2023-12-19 at 5 48 42 PM (1)](https://github.com/arcane77/GECH-IT-Solution-Management/assets/96630482/d63a8d76-ad6b-4b6f-8ec5-9d8bf8652c81) 89 | --- 90 | 91 | ## 🤝 Contributing 92 | 93 | For contributions, please create a fork of the repository, make your changes, and create a pull request. 94 | 95 | ## 🙋‍♀ Support 96 | If you found this project useful, don't hesitate to give it a ⭐ and share it with your friends! 97 | -------------------------------------------------------------------------------- /src/main/webapp/login.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | login 9 | 10 | 11 | 131 | 132 |
133 |
134 | 135 |

GECH IT SOLUTION MANAGEMENT

136 |
137 | 138 |

Login

139 |
140 |
141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 |
149 | 150 |
151 |
152 | 153 | 154 | -------------------------------------------------------------------------------- /src/main/webapp/report.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | 7 | 8 | report issue 9 | 10 | 11 | 118 | 119 |
120 |
121 | 122 |

GECH IT SOLUTION MANAGEMENT

123 |
124 | 125 |

Report Your Problem

126 |
127 |
128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 |
142 |
143 | 144 | 145 |
146 |
147 |
148 | 149 | 150 | -------------------------------------------------------------------------------- /src/main/java/report.java: -------------------------------------------------------------------------------- 1 | 2 | 3 | import jakarta.servlet.RequestDispatcher; 4 | import jakarta.servlet.ServletException; 5 | import jakarta.servlet.annotation.WebServlet; 6 | import jakarta.servlet.http.HttpServlet; 7 | import jakarta.servlet.http.HttpServletRequest; 8 | import jakarta.servlet.http.HttpServletResponse; 9 | import java.io.IOException; 10 | import java.io.PrintWriter; 11 | import java.sql.Connection; 12 | import java.sql.DriverManager; 13 | import java.sql.PreparedStatement; 14 | import java.sql.ResultSet; 15 | import java.util.ArrayList; 16 | import java.util.HashMap; 17 | import java.util.List; 18 | import java.util.Map; 19 | /** 20 | * Servlet implementation class It 21 | */ 22 | @WebServlet("/report") 23 | public class report extends HttpServlet { 24 | private static final long serialVersionUID = 1L; 25 | 26 | /** 27 | * @see HttpServlet#HttpServlet() 28 | */ 29 | 30 | public report() { 31 | super(); 32 | // TODO Auto-generated constructor stub 33 | } 34 | 35 | /** 36 | * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) 37 | */ 38 | protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 39 | List> reports = new ArrayList<>(); 40 | try { 41 | Class.forName("com.mysql.jdbc.Driver"); 42 | Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/login", "root", "Myocardium@1"); 43 | 44 | PreparedStatement ps = con.prepareStatement("SELECT * FROM report"); 45 | ResultSet rs = ps.executeQuery(); 46 | 47 | 48 | while (rs.next()) { 49 | Map report = new HashMap<>(); 50 | report.put("Name", rs.getString("Name")); 51 | report.put("Department", rs.getString("Department")); 52 | report.put("Priority", rs.getInt("Priority")); 53 | report.put("Room_No", rs.getInt("Room_No")); 54 | report.put("Description", rs.getString("Description")); 55 | reports.add(report); 56 | } 57 | PreparedStatement psCount = con.prepareStatement("SELECT COUNT(*) FROM report"); 58 | ResultSet rsCount = psCount.executeQuery(); 59 | if(rsCount.next()) { 60 | int count=rsCount.getInt(1); 61 | request.setAttribute("inboxCount", count); 62 | } 63 | 64 | request.setAttribute("reports", reports); 65 | RequestDispatcher rd = request.getRequestDispatcher("reported.jsp"); 66 | rd.forward(request, response); 67 | } catch (Exception e) { 68 | e.printStackTrace(); 69 | } 70 | } 71 | 72 | /** 73 | * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response) 74 | */ 75 | protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { 76 | response.setContentType("text/html"); 77 | PrintWriter out = response.getWriter(); 78 | String Name = request.getParameter("name"); 79 | String Department = request.getParameter("dept"); 80 | int Priority = Integer.parseInt(request.getParameter("prior")); 81 | int Room_No = Integer.parseInt(request.getParameter("Rno")); 82 | String Description = request.getParameter("description"); 83 | 84 | try { 85 | Class.forName("com.mysql.jdbc.Driver"); 86 | Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/login","root","Myocardium@1"); 87 | 88 | PreparedStatement ps =con.prepareStatement("INSERT INTO report(Name,Department,Priority,Room_No,Description) values(?,?,?,?,?)"); 89 | 90 | ps.setString(1, Name); 91 | ps.setString(2, Department); 92 | ps.setLong(3, Priority); 93 | ps.setLong(4, Room_No); 94 | ps.setString(5, Description); 95 | 96 | int i=ps.executeUpdate(); 97 | 98 | if(i>0) { 99 | RequestDispatcher rd =request.getRequestDispatcher("success.jsp"); 100 | rd.forward(request,response); 101 | 102 | } 103 | else { 104 | out.println("Enter the details in correct format!!
"); 105 | } 106 | } catch (Exception e) { 107 | System.out.println(e); 108 | } 109 | } 110 | 111 | } 112 | -------------------------------------------------------------------------------- /src/main/webapp/landing.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=UTF-8" 2 | pageEncoding="UTF-8"%> 3 | 4 | 5 | 6 | landing page 7 | 8 | 9 | 10 | 11 | 12 | 13 | 155 | 156 | 157 |
158 | 159 | 160 |

GECH IT SOLUTION MANAGEMENT

161 | 170 |
171 | 172 | 173 | -------------------------------------------------------------------------------- /src/main/webapp/reported.jsp: -------------------------------------------------------------------------------- 1 | <%@ page import = "java.util.List,java.util.Map" %> 2 | <%@ page language="java" contentType="text/html; charset=UTF-8" 3 | pageEncoding="UTF-8"%> 4 | 5 | 6 | 7 | 8 | 9 | reported 10 | 11 | 12 | 173 | 174 | Reports 175 | 176 | 177 | 178 | 182 | 183 | 184 |

Reported Issues

185 | 186 |
187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | <% 199 | List> reports = (List>) request.getAttribute("reports"); 200 | for (Map report : reports) { 201 | %> 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | <% } %> 210 |
NameDepartmentPriorityRoom NoDescription
<%= report.get("Name") %><%= report.get("Department") %><%= report.get("Priority") %><%= report.get("Room_No") %><%= report.get("Description") %>
211 |
212 | 213 | --------------------------------------------------------------------------------