A gadget storefront web application built with Spring MVC and JSP. Features a product homepage with image carousel, user registration with form validation, and multi-page navigation.
- Java — Servlet-based backend
- Spring MVC 4.3 — Web framework
- JSP — Server-side rendered pages
- Bootstrap 3 — Responsive UI with carousel, forms, and navbar
- Maven — Build and dependency management
- WAR packaging — Deployable to Tomcat
| Page | Description |
|---|---|
index.jsp |
Homepage with gadget product images |
SignUp.jsp |
User registration form with image carousel |
Login.jsp |
User login page |
AboutUs.jsp |
About page |
ContactUs.jsp |
Contact form |
Gadgets/
├── pom.xml
└── src/main/
├── java/com/gadgets/
│ ├── Gadgets.java — User model (name, email, mobile, city, state)
│ └── RegServlet.java — Registration servlet handling POST requests
└── webapp/
├── index.jsp
├── SignUp.jsp
├── Login.jsp
├── AboutUs.jsp
├── ContactUs.jsp
├── Common-Header.jsp — Shared navbar with Bootstrap
├── Common-Footer.jsp — Shared footer
└── WEB-INF/
└── web.xml — Servlet mapping configuration
- Java 8+
- Maven
- Apache Tomcat 8+
cd Gadgets
mvn clean packageCopy the generated WAR file to your Tomcat webapps/ directory:
cp Gadgets/target/Gadgets.war $CATALINA_HOME/webapps/Then access at http://localhost:8080/Gadgets