[go: up one dir, main page]

0% found this document useful (0 votes)
8 views4 pages

Practical questions

The document outlines various web application projects that utilize HTML, JavaScript, Java Servlets, and JDBC for backend functionality with MySQL databases. Key projects include a basic blog application, AJAX-based login system, product catalog in XML, user profile management, and a shopping cart system. Additional features include AJAX search, file uploads, user registration, and real-time polling, all aimed at enhancing user interaction and data management.

Uploaded by

dinit85311
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

Practical questions

The document outlines various web application projects that utilize HTML, JavaScript, Java Servlets, and JDBC for backend functionality with MySQL databases. Key projects include a basic blog application, AJAX-based login system, product catalog in XML, user profile management, and a shopping cart system. Additional features include AJAX search, file uploads, user registration, and real-time polling, all aimed at enhancing user interaction and data management.

Uploaded by

dinit85311
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Practical questions

Basic Blog Application: Design a simple blog page where users


can submit and view posts. Use HTML and JavaScript for the
frontend and a Java Servlet with JDBC for backend storage in a
MySQL database. Include basic styling with CSS.
AJAX-Based Login System: Create a login page with HTML and
JavaScript. Use AJAX to send login credentials to a Java servlet,
which checks the details against a database using JDBC and returns a
success or failure message.
XML-Based Product Catalog: Develop a product catalog in
XML format, where each product has a name, price, and description.
Use JavaScript to read the XML and display the products on an
HTML page with basic CSS for styling.
User Profile Page: Create a user profile page with HTML and
CSS. Use Java Servlets and JDBC to load user data from a MySQL
database and display it on the page. Implement a simple edit feature
where users can update their details.
AJAX Search Feature: Develop a search bar using HTML,
JavaScript, and AJAX. Use AJAX to send search queries to a servlet,
which retrieves matching results from a database and returns them to
be displayed on the page.
Session-Based Shopping Cart: Create a shopping cart page where
users can add or remove items. Use Java Servlets for session handling
and JSP to display the cart contents. Use JavaBeans to represent cart
items.
Database Connection Test Page: Write a simple Java servlet that
connects to a MySQL database and retrieves a list of products.
Display the list on a JSP page, and include error handling for failed
connections.
Contact Form with Validation: Create a contact form using
HTML with JavaScript validation for required fields. Use AJAX to
send the form data to a Java servlet, which stores the data in a
database using JDBC.
Product List with Sorting: Develop a product listing page with a
dropdown to sort by price or name. Use JavaScript for sorting on the
client side, and populate the initial product list by retrieving data from
a Java servlet and JDBC.
AJAX-Based Comment System: Create a simple comment
section for a blog post. Use AJAX to submit comments to a Java
servlet, which stores them in a database. Use another AJAX call to
load and display comments on the page.
File Upload with Database Storage: Create a page where users
can upload profile pictures. Use an HTML form to capture the file, a
servlet to process the upload, and JDBC to store the file path in a
database.
Employee List with XML and Java: Create an XML file to store
a list of employees with details like name, department, and position.
Use Java to parse this XML and display the information in a
formatted output.
User Registration with Email Validation: Design a user
registration page with HTML. Use JavaScript to validate the email
format. On form submission, use AJAX to send data to a Java servlet,
which saves it in a MySQL database.
To-Do List Application with JSP: Build a simple to-do list
application where users can add, update, and delete tasks. Use JSP to
display tasks and Java Servlets with JDBC to manage task data in a
database.
Real-Time Polling with AJAX: Create a poll with options users
can vote on. Use AJAX to submit votes to a servlet and fetch the
current poll results to display dynamically on the page.
JavaBean for User Data: Create a JavaBean to represent user data
(e.g., name, age, email). Write a servlet to create and populate this
bean from form data and display the user's details on a JSP page.
Weather API Fetch with AJAX: Create a page to display weather
information. Use JavaScript’s Fetch API to get data from a public
weather API and display it on the page with basic formatting using
CSS.
Data Table with Pagination: Create a webpage with a table that
displays a list of products from a database. Use Java Servlets with
JDBC to retrieve data and JavaScript to implement pagination on the
client side.
Login Session with JSP and Servlets: Build a login page where
users’ sessions are managed with JSP and Servlets. Allow users to log
in, view a welcome page, and log out, all while maintaining session
tracking.
CRUD Operations on Student Records: Create an HTML form
for adding student details. Use Java Servlets and JDBC to perform
CRUD (Create, Read, Update, Delete) operations on student records
in a MySQL database.
Dynamic Menu Loading with AJAX and JSON: Create a
dynamic menu for a restaurant website. Store menu items in a JSON
file, use AJAX to load it, and display it with JavaScript on the page.
Servlet-Based Voting System: Design a voting page where users
can cast a vote. Use Java Servlets to handle votes and JDBC to store
vote counts. Display the total votes using a JSP page.
Employee Details Form: Create an HTML form to enter
employee details (name, department, salary). Use a Java Servlet to
process this form and JDBC to store the data in a database. Retrieve
and display stored employee data on another page.
XML Data Display with JavaScript: Create an XML file
containing a list of books (title, author, price). Write JavaScript to
load and display this data on an HTML page.
Profile Update Page with AJAX and Servlets: Build a user
profile update page. Use AJAX to send update requests to a Java
Servlet, which stores the data in a database using JDBC. Display the
updated data on the page.
Simple Quiz Application: Create a multiple-choice quiz
application. Use HTML for the quiz interface, JavaScript to capture
answers, and AJAX to send answers to a Java Servlet, which checks
responses against a database.
Image Gallery with AJAX and JSON: Create an image gallery
where images and captions are stored in a JSON file. Use AJAX to
load the gallery data and display it dynamically on the webpage.
Student Database Access with JSP and Servlets: Build a student
management application that uses JSP for displaying student records
and Java Servlets with JDBC for accessing student data from a
database.
Feedback Form with Database Storage: Develop a feedback
form with HTML, JavaScript validation, and a Java Servlet to process
the form. Store the feedback in a database using JDBC.
Real-Time Search Suggestions: Implement a search bar that
shows real-time suggestions as the user types. Use AJAX to fetch
suggestions from a Java Servlet based on matching entries in a
database.

You might also like