Workshop Finder and Booking Minor Project Report: S.Nandhini (21BCA033)
Workshop Finder and Booking Minor Project Report: S.Nandhini (21BCA033)
Submitted by
S.NANDHINI
(21BCA033)
Under The Guidance Of
Dr. R. SUDHA MCA., MPhil., Ph.D.
OCTOBER 2023
i
DEPARTMENT OF COMPUTER APPLICATIONS
PSG COLLEGE OF ARTS & SCIENCE
Coimbatore- 641014
CERTIFICATE
This is to certify that this project work entitled “WORKSHOP FINDER AND
BOOKING” is a Bonafide record of work done by S.NANDHINI (21BCA033) in partial
Fulfillment of the requirement for the award of Degree of Bachelor of Computer Applications
of Bharathiar University.
____________________________ ____________________________________
__________________ ___________________________
Internal Examiner External Examiner
ii
DECLARATION
I, S.NANDHINI (21BCA033), hereby declare that this minor project work entitled
WORKSHOP FINDER AND BOOKING, is submitted to PSG College of Arts & Science
(Autonomous), Coimbatore in partial Fulfillment for the award of BACHELOR OF
COMPUTER APPLICATIONS, is a record of original work done by me under the
supervision and guidance of Dr. R. SUDHA, MCA., MPhil., Ph.D., Associate Professor &
Head in Department of Computer Applications, PSG College of Arts & Science, Coimbatore.
This project work has not yet been submitted by me for the award of any other Degree /
Diploma / Associative ship / Fellowship or any other similar degree to any other University.
iii
ACKNOWLEDGEMENT
With great gratitude I would like to acknowledge the help of those who contributed their
valuable suggestions and timely assistance to complete this work.
First and foremost, I would like to extend my heartfelt gratitude and place my sincere
thanks to THIRU. L. GOPALAKRISHNAN managing Trustee, PSG & SONS Charities,
Coimbatore for providing all sorts of support and necessary facilities throughout the course.
I thank our Principal, Dr. D. BRINDHA M.Sc., MPhil., Ph.D., M.A(Yoga)., for her
support and constant source of inspiration through the course of the project.
Also, I would like to thank our Vice Principal, Dr. A. ANGURAJ M.Sc., M.Phil.,
PhD., for his support.
My sincere thanks to Dr. R. SUDHA, MCA., M.Phil., Ph.D., Associate Professor &
Head of the Department of Computer Applications for the valuable suggestions, support and
guidance as my Internal Guide, without which my work would not have reached the present
form.
iv
ABSTRACT
v
TABLE OF CONTENTS
1 INTRODUCTION
2 SYSTEM SPECIFICATION
8 BIBLIOGRAPHY 28
9 APPENDICES
A. SCREENSHOTS 29
B. SAMPLE CODING 32
vi
1. INTRODUCTION
In this project maintain the vehicle details, Date as well as the workshop to whom the
job is receive to can be entered. Road trip is always fun and enjoyable by you get to know
many things. You might also plan and make all precaution to make the journey safe and smooth.
However in the unfortunate & unforeseen event of a breakdown what is needed is immediate
help. Our goal is to ensure that you get prompt assistance during such a situation. To make this
possible we are doing an JSP web Application for user assistance purpose which provides
assistance to the passengers during their road trips. We already know web is the Trending
Technology. In our Application we are integrating many possible assistance that can be
provided during the service. The assistance to the travelers by home may be vast and focusing
on some of the important aspect that gives assistance to the passengers to ensure their safety
and good travelling experience. The other interesting part is that, travelers can use this
application since they are just few taps away to communicate the problem and get immediate
possible assistance. In this crazy world with amazing technology, everyone is using web.
People with android phones and tablets can search our application and can have access to our
assistance service when needed.
1
2. SYSTEM SPECIFICATION
PROCESSOR : i3
RAM : 4GB
HARD DISC : 500GB
2
2.3 SOFTWARE DESCRIPTION
JSP:
Java Server Pages (JSP) is a technology for developing web pages that support dynamic
content which helps developers insert java code in HTML pages by making use of special JSP
tags, most of which start with <% and end with %>.
A Java Server Pages component is a type of Java servlet that is designed to fulfill the role of
a user interface for a Java web application. Web developers write JSPs as text files that
combine HTML or XHTML code, XML elements, and embedded JSP actions and commands.
Using JSP, you can collect input from users through web page forms, present records from a
database or another source, and create web pages dynamically.
JSP tags can be used for a variety of purposes, such as retrieving information from a database
or registering user preferences, accessing JavaBeans components, passing control between
pages and sharing information between requests, pages etc.
JSP INTRODUCTION:
JSP stands for java Server Pages. All JSP pages stored on the server.
1. The web server have JSP engine which acts as a container to process JSP pages.
2. All the requests for JSP Pages are intercepted by JSP Container.
3. JSP container along with web server provide the runtime environment to JSP.
3
JSP PROCESSING:
1. Web browser sends an HTTP request to the web server requesting JSP page.
2. Web server recognizes that the HTTP request by web browser is for JSP page by checking
the extension of the file (i.e .jsp)
3. Web server forwards HTTP Request to JSP engine.
4. JSP engine loads the JSP page from disk and converts it into a servlet
5. JSP engine then compiles the servlet into an executable class and forward original request
to a servlet engine.
6. Servlet engine loads and executes the Servlet class.
7. Servlet produces an output in HTML format
8. Output produced by servlet engine is then passes to the web server inside an HTTP
response.
9. Web server sends the HTTP response to Web browser in the form of static HTML content.
10. Web browser loads the static page into the browser and thus user can view the dynamically
generated page.
A JSP life cycle can be defined as the entire process from its creation till the destruction which
is similar to a servlet life cycle with an additional step which is required to compile a JSP into
servlet.
• Compilation
• Initialization
• Execution
• Cleanup
4
The four major phases of JSP life cycle are very similar to Servlet Life Cycle and they are as
follows:
JSP Compilation:
When a browser asks for a JSP, the JSP engine first checks to see whether it needs to
compile the page. If the page has never been compiled, or if the JSP has been modified since
it was last compiled, the JSP engine compiles the page.
JSP Initialization:
When a container loads a JSP it invokes the jspInit() method before servicing any requests.
If you need to perform JSP-specific initialization, override the jspInit() method:
//Initialization code…
Typically initialization is performed only once and as with the servlet init method, you
generally initialize database connections, open files, and create lookup tables in the jspInit
method.
5
JSP Execution:
This phase of the JSP life cycle represents all interactions with requests until the JSP is
destroyed.
Whenever a browser requests a JSP and the page has been loaded and initialized, the JSP
engine invokes the _jspService() method in the JSP.
The _jspService() method of a JSP is invoked once per a request and is responsible for
generating the response for that request and this method is also responsible for generating
responses to all seven of the HTTP methods ie. GET, POST, DELETE etc.
JSP Cleanup:
The destruction phase of the JSP life cycle represents when a JSP is being removed from use
by a container.The jspDestroy() method is the JSP equivalent of the destroy method for
servlets. Override jspDestroy when you need to perform any cleanup, such as releasing
database connections or closing open files.
6
MySQL
MySQL is (as of July 2013) the world's second most widely used relational database
management system (RDBMS) and most widely used open-source RDBMS. It is named after
co-founder Michael Widenius's daughter, my. The SQL acronym stands for Structured Query
Language.
The MySQL development project has made its source code available under the terms
of the GNU General Public License, as well as under a variety of proprietary agreements.
MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL
AB, now owned by Oracle Corporation.
MySQL is a popular choice of database for use in web applications, and is a central
component of the widely used LAMP open source web application software stack (and other
'AMP' stacks). LAMP is an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-
software-open source projects that require a full-featured database management system often
use MySQL.
For proprietary use, several paid editions are available, and offer additional
functionality. Applications which use MySQL databases include: TYPO3, MODx, Joomla,
WordPress, phpBB, MyBB, Drupal and other software. MySQL is also used in many high-
profile, large-scale websites, including Google[13][14] (though not for searches), Face book,
Twitter, Flickr, and YouTube.
Interfaces:
MySQL is a relational database management system (RDBMS), and ships with no GUI
tools to administer MySQL databases or manage data contained within the databases. Users
may use the included command line tools, or use MySQL "front-ends", desktop software and
web applications that create and manage MySQL databases, build database structures, back up
data, inspect status, and work with data records. The official set of MySQL front-end tools,
MySQL Workbench is actively developed by Oracle, and is freely available for use.
7
Graphical:
MySQL Workbench is available in two editions, the regular free and open
sourceCommunity Edition which may be downloaded from the MySQL website, and the
proprietary Standard Edition which extends and improves the feature set of the Community
Edition.
Third-party proprietary and free graphical administration applications (or "front ends")
are available that integrate with MySQL and enable users to work with database structure and
data visually. Some well-known front ends, in alphabetical order, are:
• Adminer – a free MySQL front end written in one PHP script, capable of managing
multiple databases, with many CSS skins available
• Chive a free, open source, web-based database management tool designed as an
alternative to phpMyAdmin
• Database Workbench – a software application for development and administration of
multiple relational databases including MySQL, with interoperationality between
different database systems
• DBEdit – a free front end for MySQL and other databases
• HeidiSQL – a full featured free front end that runs on Windows, and can connect to
local or remote MySQL servers to manage databases, tables, column structure, and
individual data records. Also supports specialised GUI features for date/time fields and
enumerated multiple-value fields.
• LibreOffice Base – LibreOffice Base allows the creation and management of databases,
preparation of forms and reports that provide end users easy access to data. Like
Microsoft Access, it can be used as a front-end for various database systems, including
Access databases (JET), ODBC data sources, and MySQL or PostgreSQL.
8
• phpMyAdmin – a free Web-based front-end, widely installed by web hosting services
since it is developed in PHP and included in the LAMP stack, and MAMP, XAMPP
and WAMP software bundle installers
• SQLBuddy – a free Web-based front end, developed in PHP
• SQLyog – proprietary, but there is also a free 'community' edition available
• Toad for MySQL – a free development and administration front end for MySQL from
Dell Software
• Webmin – a free Web-based management utility and a MySQL front end, developed in
Perl with some parts written in Java
Command line:
MySQL ships with many command line tools, from which the main interface is 'mysql' client.
Third parties have also developed tools to manage MySQL servers.
9
3. SYSTEM ANALYSIS
Existing system is a manual one is which all the transaction is maintained and vehicle rapier
booking manually. User cannot search accurate location. Requires an active internet
connection.System will provide inaccurate results if data not entered properly.
Disadvantages
• Processing takes a long time
• It needs more employees
• Maintaining various records is difficult
• It requires more paper work
• It is a slow process
10
3.2 PROPOSED SYSTEM
The proposed system is computerized using JSP as front end and MySql as back end.
The proposed system is very efficient & user factors. The time saving tasks, Quick reference
of required data ,facility and flexibility for future enhancement are the enjoyable features of
the proposed system and it will increase the number of customers considerably.
The proposed application helps to find workshop easily and quickly. It is difficult to
find mechanics nearby area wherever you are travelling. This system helps to overcome this
issue by providing workshop details in one click. Here the locator allows you to search
workshop from different locations. This workshop finder reduces work and can easily find the
workshop from various location. Reduces your time and cost. The main objective is to provide
a better service and to make the process easily and finally appointing a mechanic quickly.
Proposed system is accessed by three entities namely, Admin, Workshop and User. A
workshop can perform task such as viewing request received from users. User can send a
request and can appoint a workshop on respective date-time.
Advantages
11
4. SYSTEM DESIGN
• Admin
• Workshop
• User
• Service
• Reports
Admin
Admin need to login with valid login credentials.Admin can view the registered car
service provider with their details and has the access to allow a workshop. Admin can view all
the registered user details.
Workshop
Workshop can register with all their information. Registered workshop will be provided access
to Login. Workshop can view the request which is sent by the user. Enter the service details
User
User can register with all their details. Registered user can Login with their credentials.User
can search for local workshop on the basis of their locations. On selection of the workshop, the
user can send the request to the respective workshop.
Service
Workshop can enter the car service details and send to user account. User can view about
service in user account.
Report
By this module the Admin gets the final report of the work. The admin who receives the job
inserts into database. Admin can view the workshop details, user details in the report.
12
4.2 DATA FLOW DIAGRAM
Data Flow Diagram (DFD) is a graphical representation of data flow in any system.
DFD can also be used for the visualization of data processing of data (structure design). On a
DFD data items flow from an external data link, via an internal process.
The purpose of DFD is
The circle represents the process. Its shows the pair of the part of the
13
LEVEL 0:
admin
Online
user Vehicle database
Workshop
Booking
owner
LEVEL 1:
View Shop
workshop
14
LEVEL 2:
View Booking
Booking
View
Booking
Payment
15
4.3 ENTITY RELATIONSHIP MODEL
An entity relationship diagram is a graphical depiction of organizational system
elements and the association among the elements. E-R diagrams can help define system boundaries.
The entity relationship diagram also called ERD or E-RD is a network model that describes the
stored data layout of the system at the high level of the abstraction. The ERD is an effective
modeling tool for communicating with DBA diagrams. Entity relationship diagrams depict data in
its real estate-data stores. An Entity is anything real or abstract about which user wants to store
data. Most entities correspond to person, objects, events and location. It is represented by a
relationship symbol, which is a decision box. The components of the ERD are objects type, the
relationship, associative object type, super type/sub type indicators.
ATTRIBUTE
RELATIONSHIP
ENTITY
Relationships:
16
ER DIAGRAM:
a_un a_pwd
see Admin
mob
uid
vnum
User Bro see
unam
wse
e
uad
mail d wna
pwd me wid
wma
has il Workshop
loc
pwd
mob
nn addr
wmail
bid
amt
wid
Booking
view
wname
umo uma
b il
status
uad
d
date
17
4.5 TABLE DESIGN
Table design in the process of producing a detailed data model of the database. This
logical data model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a model containing detailed attributes for
each. The term database design can be used to describe many different parts of the design of
the overall database system. Principally, and most correctly, it can be thought of as the logical
design of the database structure used to store the data. In the relation model these are tables and
views. In an object database entities and relationships map directly to object classes and named
relationships.
Primary key: id
18
TABLE NAME: Workshop_table
19
4.6 INPUT DESIGN
The input design in the process of entering data to the system. The input design goal is
to enter the computer as accurately as possible. Here inputs are design effectively so that errors
made by the operators are minimized. The input to the system has been designed in such way
that manual form and the inputs are coordinate where the data elements are common to source
documents and to the input. The input is acceptable and understandable by the users who are
using the quality of the system input to determine the quality of the system input to determine
the quality for system output. Input specification describes the manner in which data entered
the system processing.
For example, in the login form, the empty username and password is not allowed. The
username if exists in the database, the input is considered to be invalid and is not accepted.
Input design contains several forms there are,
• Admin Login
• Workshop Registration
• User Registration
20
4.7 OUTPUT DESIGN
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source information to the user. Efficient and intelligent output design improves the system’s
relationship to help user decision-making.
Output design generally refers to the results and information that are generated by the
system for many end-users; output is the main reason for developing the system and the basis
on which they evaluate the usefulness of the application.
In the project, the output is to
• Search
• Booking
21
5. SYSTEM TESTING AND IMPLEMENTATION
The integration of each module in the system is checked during this level of testing.
The objective of system testing is to check if the software meets its requirements. System
testing is done to uncover errors that were not found in earlier tests. This includes forced
system failures and validation of total system as the user in the operational environment
implements it. Under this testing, low volumes of transactions are generally based on live
data. This volume is increased until the maximum level for each transactions type is reached.
The total system is also tested for recovery after various major failures to ensure that no data
are lost during the breakdown.
System testing is process of exercising software with the intent of finding and ultimately
correcting errors .System testing is actually a series of different tests whose primary purpose is
to fully exercise the computer based system System testing is the state of implementation, that
is aimed at assuring that the system works accurately and efficiently Testing is the vital to the
success of the system. System testing makes the logical assumption that if all the parts of the
system are correct, the goal will be successfully achieved The objective of testing is as follows:
1.Testing is the process of executing a program with the intent of finding an error
2.A successful test is that one of the cover of undiscovered error
TESTING ISSUES:
1. Client GUI considerations
2. Target environment and platform diversity considerations
TESTING METHODOLOGIES:
System testing is the state of implementation, which is aimed at ensuring that the
system works accurately and efficiently as expect before live operation commences. It certifies
that the whole set of programs hang together. System testing requires a test plan that consists
of several key activities and steps for run program, string, system and user acceptance testing
The implementation of newly designed package is important in adopting a successful new
system. Testing is an important stage in software development. The system test is
implementation stage in software development.
22
Unit Testing:
This is the first level of testing. The different modules are tested against the
specifications produced during the integration. This is done to test the internal logic of each
module. Those resulting from the interaction between modules are initially avoided. The input
received and output generated is also tested to see whether it falls in the expected range of
values. Unit testing is performed from the bottom up, starting with the smallest and lowest
modules and proceeding one at a time.
The units in a system are the modules and routines that are assembled and integrated
to perform a specific function. The programs are tested for correctness of logic applied and
detection of errors in coding. Each of the modules was tested and errors are rectified. They
were then found to function properly.
Integration Testing
In integration testing, the tested modules are combined into sub-systems, which are then
tested. The goal of integration testing to check whether the modules can be integrated properly
emphasizing on the interfaces between modules. The different modules were linked together
and integration testing done on them.
Web Testing:
Web testing is the name given to software testing that focuses on web applications.
Complete testing of a web-based system before going live can help address issues before the
system is revealed to the public. Issues may include the security of the web application, the
basic functionality of the site, its accessibility to handicapped users and fully able users, its
ability to adapt to the multitude of desktops, devices, and operating systems, as well as
readiness for expected traffic and number of users and the ability to survive a massive spike in
user traffic, both of which are related to load testing.
23
Validation Testing:
The objective of the validation test is to tell the user about the validity and reliability
of the system. It verifies whether the system operates as specified and the integrity of
important data is maintained. User motivation is very important for the successful performance
of the system.
All the modules were tested individually using both test data and live data. After each
module was ascertained that it was working correctly and it had been "integrated" with the
system. Again the system was tested as a whole. We hold the system tested with different types
of users. The System Design, Data Flow Diagrams, procedures etc. were well documented so
that the system can be easily maintained and upgraded by any computer professional at a later.
24
5.2 SYSTEM IMPLEMENTATION
Implementation is the most crucial stage in achieving a successful system and giving
the user’s confidence that the new system is effective and workable. Implementation of this
project refers to the installation of the package in its real environment to the full satisfaction of
the users and operations of the system.
Testing is done individually at the time of development using the data and verification
is done the way specified in the program specification. In short, implementation constitutes all
activities that are required to put an already tested and completed package into operation. The
success of any information system lies in its successful implementation.
System Implementation is the stage in the project where the theoretical design is turned
into a working system. The most critical stage is achieving a successful system and in giving
confidence on the new system for the user that it will work efficiently and effectively. The
existing system was long time process.
The project execution was checked with live environment and the user requirements
are satisfied. Proper implementation is essential to provide a reliable system to meet the
organization requirements.
25
6.CONCLUSION
It is concluded that the application works well and satisfy the end users. The application
is tested very well and errors are properly debugged. The application is simultaneously
accessed from more than one system. Simultaneous login from more than one place is tested.
This system is user friendly so everyone can use easily. Proper documentation is provided. The
end user can easily understand how the whole system is implemented by going through the
documentation. The system is tested, implemented and the performance is found to be
satisfactory. All necessary output is generated. Thus, the project is completed successfully.
Further enhancements can be made to the application, so that the application functions very
attractive and useful manner than the present one. The speed of the transactions become more
enough now.
26
7.SCOPE FOR FUTURE ENHANCEMENT
This system is very flexible so that the maintenance and future amendments based
on the changing environments and requirements made easily. Any changes that may lead to the
system failures measures. The project will support for multi user environment that is more than
one user can use it same time.
Enhancements can be done in an efficient manner. We can even update the same
with further modification establishment and can be integrated with minimal modification. Thus
the project is flexible and can be enhanced at anytime with more advanced features.
Coding procedures can be modified according to the needs of the user. The system
code is also well designed that will the basic for further enhancement and also can be included
in the system.
27
8. BIBLIOGRAPHY
1. “Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam
“, by Bryan Basham (Author), Kathy Sierra (Author), Bert Bates (Author), O'Reilly Media;
Second Edition edition (April 1, 2008).
2. “Core Java™, Volume I--Fundamentals (8th Edition) “, by Cay S. Horstmann, Prentice Hall;
8 edition (April 18, 2008).
3. Java Server Pages - By: SAMS Techmedia.
4. System Analysis & Design - By: Ilias M Awad
Web references
• http://www.jsp.net/
• http://www.tutorialspoint.com/mysql/
• http://www.javatpoint.com/java-tutorial
• http://www.w3schools.in/java-tutorial/
28
9.APPENDICES
A.SCREENSHOTS
29
Workshop details
30
Workshop details in admin page
31
Confirmation page
32
B.SAMPLE CODE
</div>
<br>
<%@ page import="java.io.*,java.sql.*" %>
<% try
{
if (request.getParameter("submit")!=null)
{
Class.forName("com.mysql.jdbc.Driver");
Connection con
=DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation","root","");
Statement st=con.createStatement();
String a1=request.getParameter("name");
String a2=request.getParameter("umail");
String a3=request.getParameter("password");
String a4=request.getParameter("mobile");
String a5=request.getParameter("address");
String a6=request.getParameter("lati");
33
String a7=request.getParameter("longt");
// out.println(uid);
int i=0;
i= st.executeUpdate("insert into shop values(null,'"+ a1 +"','"+ a2 +"','"+ a3 +"','"+ a4
+"','"+ a5 +"','"+ a6 +"','"+ a7 +"')");
if (i==1)
{
out.println("<script>alert('Register Successfully');</script>");
response.sendRedirect("workshoplogin.jsp");
}
else
{
out.println("<script>alert('Not Successful');</script>");
}
}
}
catch(Exception ex)
{
out.println(ex);
}
%>
%@include file="footer.jsp" %
</div>
<%@ page import="java.io.*,java.sql.*" %>
<% try
{
34
if (request.getParameter("submit")!=null)
{
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation","root",
"");
Statement st=con.createStatement();
String umail=request.getParameter("umail");
String pwd=request.getParameter("password");
String name=request.getParameter("a1");
out.println(umail);
<%
}
else
{
out.println("<script>alert('invalid Login!');</script>");
// response.sendRedirect("login.jsp");
}
}
}
catch(Exception ex)
{
out.println(ex);
}
%>
%@include file="footer.jsp" %
35
try {
// Database connection
Connection con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation", "root", "");
Statement st1 = con.createStatement();
if (search1 != null) {
// Search for records matching the search parameter
resultset = st1.executeQuery("SELECT * FROM shop WHERE address LIKE '%" +
searchParam + "%' OR name LIKE '%" + searchParam + "%'");
} else {
// Display all records if no search parameter is provided
resultset = st1.executeQuery("SELECT * FROM shop");
}
%>
36
<td><a href="http://maps.google.com/maps?q=<%= resultset.getString(7) %>,<%=
resultset.getString(8) %>">Click Here</a></td>
<td><a href="book.jsp?select=<%= resultset.getString(1) %>">Book
Now</a></td>
</tr>
<% } %>
</table>
</div>
</form>
</div>
<br>
<br>
<br>
37
<br>
<br>
<br>
<%@ page import="java.io.*,java.sql.*" %>
<% try
{
if (request.getParameter("submit")!=null)
{
Class.forName("com.mysql.jdbc.Driver");
Connection con=
DriverManager.getConnection("jdbc:mysql://localhost:3306/workstation","root","");
Statement st=con.createStatement();
String a1=request.getParameter("name");
String a2=request.getParameter("umail");
String a3=request.getParameter("password");
String a4=request.getParameter("mobile");
String a5=request.getParameter("address");
String a6=request.getParameter("vnum");
// out.println(uid);
int i=0;
i= st.executeUpdate("insert into user values(null,'"+ a1 +"','"+ a2 +"','"+ a3 +"','"+ a4 +"','"+
a5 +"','"+ a6 +"')");
if (i==1)
{
out.println("<script>alert('Register Successfully');</script>");
response.sendRedirect("userlogin.jsp");
}
else
{
out.println("<script>alert('Not Successful');</script>");
}
}
}
catch(Exception ex)
{
out.println(ex);
}
%>
38