Professional Documents
Culture Documents
The proposed project titled “Online Job Search System” is aimed to provide host of
services that ultimately bring employer and job seeker closer, thus improving the overall
employment status. The technology for betterment is the key concept behind selecting the
title as it transforms the existing idea of job site working to a much faster and better job-
portal.
The RDBMS manages the all the data of “Online Job Search System” which are
managed by the only system administrator / web master. The RDBMS provides the query
evolution which helps to the user can access the information according to their needs. The
RDBMS provides the great and powerful data backup and recovery system when due to the
abnormal condition occur.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 1
OBJECTIVE OF THE
PROJECT
Information on job openings provides not just the scope for employment but also the scope
for choice of job. People who look forward to their next move in their career can now look
at the site to identify prospective organizations where their desired job openings exist.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 2
TOOLS AND
ENVIRONMENT USED
HARDWARE –SPECIFICATION:
PROCESSOR: Pentium 4
RAM: 256 MB
HDD: 80 GB
SOFTWARE – SPECIFICATION:
Software consists of sets of instructions that moulds the raw arithmetic and logical
capabilities of the hardware units to perform. The following software tools have been
used to finalize the project. It is the basic requirement of the Online Job Search
System project.
JDK 1.5
Programming Language : JAVA, JDBC
Web Tools : JSP, SERVLET, JDBC, HTML, XML.
Web Server : Apache Tomcat 6.0. JBoss 4.0
RDBMS : MySQL 5.0
Operating System : MS Windows XP
Utility Software : MS-Office 2007(MS-Word, MS-Power point)
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 3
DESCRIPTION OF THE FOLLOWING TERMS:
In this project java2 (j2) platform has been used. J2 platform provide all aspect to
design enterprises application. James Gosling, Patric Naughton Chriss warth, Ed frank and
Milk Sheridan at sun Microsystems Inc. in 1991. It took 18 months to develop the first
working version this language was initially called oak but was renamed java in1995 between
the initial implementation of oak in fall of 1992 and the public announcement of Java in the
spring of 1995.
The internet helped catapults java to the forefront of programming and java in turn has had a
profound effect on the internet the reason for this is quote smiles java expand the universe of
objects that can move about freely in cyber save in a network two very broad categories of
object that are transmitted between the server and your personal compute passive information
and dynamics active program. For example when you read your e-mail you are viewing
passive data even when you download a program the program’s code is still only passive data
until you executes it however a second type of object can be transmitted to your computer a
dynamic self-executing program such a program is an active agent join the client computer
yet is initiated by the server. For example program might be a provided by the server to
display properly the data that the server is sending although java was designed for
interpretation there is technically nothing about java that prevents on the fly compilation of
but code into along these lines sun has just completed its just in time compiler for by Tec
code which is included in the java2 release when the JIT compiler for by Tec code which is
included in the java2 release when the JIT compiler is part of the JVM, it compiler byte code
into executable code in real time on a piece –by-piece demand basis it is important to
understand that it is not possible to compiles an entire java program into executable code all
at once because java performs various run times checks that can be done only at run time.
INTRODUCTION TO JAVA:
Java is an object oriented platform independent programming language. It provides
many object oriented features such as, simple, object oriented, robust, and secures,
Architecture Neutral, portable, Interpreted Multithreaded and dynamic. It provides tools for
developing GUI tools like windows, Button, Text, Scrollbar, label etc. we can do web-based
programming etc.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 4
INTRODUCTION TO JDK:
The Java Development Kit (JDK) is a Sun Microsystems product aimed
at Java developers. Since the introduction of Java, it has been by far the most widely used
Java SDK. On 17 November 2006, Sun announced that it would be released under the GNU
General Public License (GPL), thus making it free software. This happened in large part on 8
May 2007 and the source code was contributed to the OpenJDK.
The JDK has as its primary components a selection of programming tools, including:
java – The loader for Java applications. This tool is an interpreter and can interpret the
class files generated by the javac compiler. Now a single launcher is used for both
development and deployment. The old deployment launcher, jre, no longer comes with
Sun JDK.
javac – The compiler, which converts source code into Java byte code.
jar – The archiver, which packages related class libraries into a single JAR file. This
tool also helps manage JAR files.
javadoc – The documentation generator, which automatically generates
documentation from source code comments.
jdb – The debugger.
javap – The class file disassembler.
appletviewer – This tool can be used to run and debug Java applets without a web
browser.
javah – The C header and stub generator, used to write native methods.
javaws – The Java Web Start launcher for JNLP applications.
extcheck – This utility can detect JAR-file conflicts.
apt – The annotation-processing tool
jhat – (Experimental) Java heap analysis tool.
jstack – (Experimental) This utility prints Java stack traces of Java threads.
jstat – (Experimental) Java Virtual Machine statistics monitoring tool.
jstatd – (Experimental) jstat daemon.
jinfo – (Experimental) This utility gets configuration information from a running Java
process or crash dump.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 5
jmap – (Experimental) This utility outputs the memory map for Java and can print
shared object memory maps or heap memory details of a given process or core dump.
idlj – The IDL-to-Java compiler. This utility generates Java bindings from a given
IDL file.
policytool – The policy creation and management tool, which can determine policy
for a Java runtime, specifying which permissions are available for code from various
sources.
VisualVM – visual tool integrating several command line JDK tools and lightweight
performance and memory profiling capabilities.
wsimport – Generates portable JAX-WS artifacts for invoking a web service.
INTRODUCTION TO SERVLET:
A servlet is a Java programming language class used to extend the capabilities of
servers that host applications accessed via a request-response programming model. Servlet
dynamically extend the functionality of a Web server. Although Servlet can respond to any
type of request, they are commonly used to extend the applications hosted by Web servers
like Apache tomcat, JBoss, Web logic etc. For such applications, Java Servlet technology
defines HTTP-specific Servlet classes.
INTRODUTION TO JSP:
Java Server Pages (JSP) is a Java technology that allows software developers to
create dynamically-generated web sites, with HTML, XML, or other document types, in
response to a Web client request. The technology allows Java code and certain pre-defined
actions to be embedded into static content.
The JSP syntax adds additional XML-like tags, called JSP actions, to be used to invoke built-
in functionality. Additionally, the technology allows for the creation of JSP tag libraries that
act as extensions to the standard HTML or XML tags. Tag libraries provide a platform
independent way of extending the capabilities of a Web server.
JSPs are compiled into Java Servlets by a JSP compiler. A JSP compiler may generate a
servlet in Java code that is then compiled by the Java compiler, or it may generate byte
code for the servlet directly. JSPs can also be interpreted on-the-fly, reducing the time taken
to reload changes.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 6
Architecturally, JSP may be viewed as a high-level abstraction of servlets that is implemented
as an extension of the Servlet 2.1 API. Both servlets and JSPs were originally developed
at Sun Microsystems.
JDBC technology allows us to use the Java programming language to exploit "Write Once,
Run Anywhere" capabilities for applications that require access to enterprise data. With a
JDBC technology-enabled driver, you can connect all corporate data even in a heterogeneous
environment.
INTRODUCTION TO XML:
XML is a text-based markup language that is fast becoming the standard for data
interchange on the Web. As with HTML, you identify data using tags
(Identifier enclosed in angle brackets, like this: <...>).Collectively, the tags are known as
"markup". XML documents are made up of storage units called entities, which contain either
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 7
parsed or unparsed data. Parsed data is made up of characters, some of which form character
data, and some of which form markup. Markup encodes a description of the document's
storage layout and logical structure. XML provides a mechanism to impose constraints on the
storage layout and logical structure
Components:
Catalina
Coyote
Coyote is Tomcat's HTTP Connector component that supports the HTTP 1.1 protocol for the
web server or application container. Coyote listens for incoming connections on a specific
TCP port on the server and forwards the request to the Tomcat Engine to process the request
and send back a response to the requesting client.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 8
Jasper
Jasper is Tomcat's JSP Engine. Jasper parses JSP files to compile them into Java code as
servlets (that can be handled by Catalina). At runtime, Jasper is able to automatically detect
JSP file changes and recompile them.
INTRODUCTION TO HTML:
HTML, initials for Hypertext Mark-up Language, is the predominant markup
language for web pages. It provides a means to describe the structure of text-based
information in a document—by denoting certain text as links, headings, paragraphs, lists, etc.
—and to supplement that text with interactive forms, embedded images, and other objects.
HTML is written in the form of "tags" that are surrounded by angle brackets. HTML can also
describe, to some degree, the appearance and semantics of a document, and can include
embedded scripting language code (such as JavaScript) that can affect the behavior of Web
browsers and other HTML processors.
Style sheets:
These are a means to control presentation. They contain the declaration how a document
should appear. This style sheet can be written using css(cascading style sheets )and xss
(extensible style sheets ). The style sheet is to be used when the data is being displayed for
human interpretation. The output device may vary from screen to brail editor.
INTRODUCTION TO JAVASCRIPT:
JavaScript is a scripting language used to enable programmatic access to objects
within other applications. It is primarily used in the form of client-side JavaScript for the
development of dynamic websites. JavaScript is a dialect of the ECMAScript standard and is
characterized as a dynamic, weakly typed, prototype-based language with first-class
functions. JavaScript was influenced by many languages and was designed to look like Java,
but be easier for non-programmers to work with.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 9
including whether it is an Internet- or intranet-based site as well as a user-editable white list.
Security restrictions are applied per zone; all the sites in a zone are subject to the restrictions.
INTRODUCTION TO MS-WORD:
MS-Word is documentation software which allows the subscriber to editing,
modifying, updating and formatting to the text in the document.
INTRODUCTION TO MS-POWERPOINT:
Software Engineering
Paradigm Applied
Software Engineering is a technique to develop good software with systematic ways.
A process model or a software engineering paradigm is chosen based on the nature of the
project and application, methods to be used, and the controls and deliverables that are
required.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 10
All software development can be characterized as a problem-solving loop in which
four distinct stages are encountered: status quo, problem definition, technical development,
and solution integration. Status quo “represents the current state of affairs”; problem
definition identifies the specific problem to be solved; technical development solves the
problem through the application of some technology, and solution integration delivers the
results to those who requested the solution in the first place.
At present in the software industry there are various software engineering paradigms,
which are used in software development. Out of these software engineering paradigms we
have selected “The Linear Sequential Model” for the development of Online Job Search
System software. It is also sometimes called “Waterfall Model” suggests a Systematic,
sequential approach to software development that begins at the system level and progresses
through analysis, design, coding, testing, and support.
Analysis
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 11
Design
Design
Code
Code
Test
Test
Implementation
ANALYSIS DOCUMENT
The analysis of the role of a proposed system and the identification of the
requirements that it should meet. System Analysis is the starting point for system design. The
term is most commonly used in the context of commercial programming, where software
developers are often classed as either systems analysts or programmers. The systems analysts
are responsible for identifying requirements (i.e. systems analysis) and producing a design.
The programmers are then responsible for implementing it.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 12
Software development is a challenging activity. Today the systems are steadily
growing in size. They are progressively becoming more complex. User requirement
becoming are tending to be dynamic in nature, challenging technical scenario shorter dead
times and no availability of personal make. The task of development more challenging as the
management always depends upon accurate and timely information and arises for powerful
tool, which could process data from different areas, interconnected and produce the
information in time. The proposed system contains the following: --
PROBLEM IDENTIFICATION:
Problem identification is very first step of system analysis and is One of the most
difficult tasks of system analysis is developing a clear, in-depth under- standing of the
problem being investigated, without which it becomes impossible to specify the requirements
for a new project with any accuracy. Several questions should be posed for this.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 13
It takes considerable skill to determine the true cause of a systems problem. A systems
analyst might begin to define the problem by determining if the problem can be classified
according to one or more common types of systems problems. With knowledge of the
Common types of problems, the analyst can diagnose a problem by examining its
characteristics.
Organizations usually face problems or have opportunity due to the following:
a new product or plant or branch
a new market or new process
failure of an existing system
inefficiency of an existing system
Structural error in the existing system, etc.
IDENTIFICATION OF NEEDS:
One must know what the problem is before it can be solved. The basis for the Online
Job Search System is recognition of a need for developing a system or procedure. This
involves a preliminary study or initial investigation to determine whether a new Online Job
Search System can solve the problem. It entails looking into an inefficient existing
procedures or whether parts of the existing system would be candidate for computerization.
Before start working on a web based Online Job Search System we need to understand why
we want this automated system at the first place.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 14
The present day organization work can be classified in to two forms, one is the
manual system and other one is the integrated computerized system. In manual system all
work are done manually on paper. Lots of paper work is been done in order to enter new
connection records. The data which manual systems have in common has to be provided
separately to different departments resulting in lots of inter departmental paper work and also
simultaneous updating of records is almost impossible. Existing system in the organization is
manual system which has all the drawback of it.
As far as computerized Online Job Search System is concern, it will minimize the
inter departmental paper work. Afterwards it is only a process of manipulation and
consolidation to convert it to any form desired by the users. Theirs design and development
activities take much longer time than the corresponding activities for the manual systems but
their long terms benefits compensate for the additional overheads.
To know more about the needs of Online Job Search System, we need to do some
preliminary investigation and for that we use various fact gathering techniques.
PRELIMINARY INVESTIGATION:
The heart of system analysis is aimed at having a detailed understanding of all the
important facts of the project under consideration Analyst work closely with managers and
employees and try to find out the answer of the following questions.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 15
In order to answer the questions mentioned above we need to completely analyze the
workings of the organization, analyze the previous system, analyzing the requirements of
users and proposing the solution for new system design. To do this I have done feasibility
study and used fact finding techniques.
ANALYZING DOCUMENTS:
These include manual or written outline of procedure for existing manual are
computer based system, appropriate technical documentation, operating statistics and cost
data, organization chart, job description, and report associative with the function under
investigation.
Collecting and shifting through such document can be very tedious and time consuming;
sometimes there is no way to ensure that all critical documents have been gathered. Without
considerable discussion with user, it is hard to determine which pieces of information on the
documents must be captured in the new system and which ones are extraneous. Key pieces of
information may reside in the user’s heads rather than in the documents themselves.
INTERVIEWING:
By studying organization schedule, the analyst can plan schedule interviews with key
personnel involved with. Of course, there should be preliminary interviews. Later he will
conduct a detailed interview with all the people who actually operate the system. Not only
will these people use the newly developed system, but they also may be the ones most
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 16
resistant to change, especially if they feel the computer might replace them. In interview
analyst will try to know the following things from the personnel.
Where do you present system lacks?
How does u think an automated order system will improve the work?
Which features does u want in new system?
To conduct preliminary investigation, we saw different website like www.monster.com,
www.naukri.com, www.timesjobs.com etc. On line Job sites. We came to know about the
different facilities provide by the online Job sites and information about the companies need.
We analysed every aspect of the traditional advertisement system and conducted surveys to
know that most of them were very interested in computers and has the better understanding of
computer and information system. Both were very helpful in passing the exact information
we were looking for reviewing the traditional one and having own experience in the field
helped us immensely in knowing the data items being processed by the system .
It also helped in understanding the complexities of the working process of the web site. Later
on, we examined the various kinds of Online Job sites. The above said fact finding techniques
not only helped in the understanding of the system but also proposed some solutions to the
new information system.
FEASIBILITY STUDY:
Analysis is the procedure that identifies, describes and evaluates the candidate system and
selects the best possible action for the job. Once after identifying the preliminary area of
application, to examine it more rigorously we have conducted a FEASIBILITY STUDY. By
the initial investigation, we have identified the need, problems and requirements. So our next
step was to determine exactly what the proposed system is to do by defining its expected
performance. This kind of work can be carried out in the Feasibility Study. In short, A
Feasibility Study is carried out to select the best system that meets performance requirements.
Feasibility is the study of whether or not project is worth doing. The objective of a
feasibility study is not to solve the problem but to acquire a sense of its scope. It is more of a
research on the System. Once it has been determined that a project is feasible, one can go
ahead and prepare the project specification which finalizes the project requirements. During
the study, the problem definition is crystallized and aspects of the problem to be included in
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 17
the system are determined. Consequently, costs and benefits are estimated with greater
accuracy at this stage. The result of the feasibility study is a formal proposal.
In the conduct of the feasibility study, we have gone through
followings distinct, but inter-related types of feasibility:
Technical Feasibility.
Economic Feasibility.
Operational Feasibility.
Technical Feasibility:
Technical feasibility concerns with specifying equipment’s and software that will
successfully satisfy the user requirement. Taking into account the capacity of the system
operation, there are a no of technical issues, which are generally raised during the feasibility
stage of the investigation, are as:
Does the necessary technology exist to do what is suggested i.e., what is required?
Does the software have the technical capacity to hold the data required to use the new
system?
Can the system be upgraded if developed?
Are there technical guarantees of accuracy, reliability, ease of access and data
security?
Will it be able to process a certain volume of transaction at a particular speed?
Is there enough facility to communicate data to distant locations?
In short, in examining technical feasibility, configuration is given more importance than the
actual made of the hardware i.e., Technical feasibility centers on the existing computer
system (Hardware, Software, etc) and to what it can support the proposed addition keeping in
view the logical needs. The hardware to support the design and implementation of the system
already exists.
So based on the technical feasibility study, we found that all the necessary hardware and
software were available to the Department to go ahead with the development of the proposed
system.
Economic Feasibility:
Economic feasibility measures the overall desirability of the project in financial terms and
indicates the superiority of a single approach over others that may be equally feasible in a
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 18
technical sense. In the study, the project is considered in an engineering sense. The ultimate
objective of the economic analysis is to provide a decision-making tool which can be used
not only for the pilot project but also for demonstration purposes. It involves five distinct
phases: observation, problem definition, formulation of hypothesis, experimentation, and
verification. A similar sequence of ten clearly defined steps is involved in carrying out the
economic analysis of a project:
Operational Feasibility:
Any proposed system will be beneficial if that can meet the operational requirements of the
organization. The test of feasibility asks if the system will work when it is developed and
installed. Are there major barriers to implementation? Some of the questions that are useful to
test the operational feasibility of a project are given below:
Is there sufficient support for the project from the management? From users?
Are current business methods acceptable for the users? If they are not, users may
welcome a change that will bring about a more operational and useful system.
Have the users been involved in the planning and development of the project?
Will the proposed system cause harm? Will it produce poorer result in any case or
area? Will the performance of staff member fall down after implementation?
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 19
As per the investigation process, we should say both sides were interested in having
this System.
The current business methods were also acceptable to the users. So there was no need
to change the existing operational methods.
The users and the team manager were involved in the development of this system. So
hardly, we find any resistance from them.
There is no such thing in the system that can cause harm if any! Also it will not produce any
poorer result.
PURPOSE:
The purpose behind developing this project is as follows:
Provide Great flexibility means subscriber can access it from any location.
Reduce time
Reduce effort.
Anyone can know information about new jobs and upcoming jobs through the web
site.
SCOPE:
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 20
The main objective of Online Job Search System is to manage Job seekers, keeping
track of their progress and performance across all types of training activities by contrast, and
manages content or objects that are served up to the right person at the right time.
The Requirements are broadly divided into two groups:
Functional requirements
Non-functional requirements
Functional Requirements:
The main purpose of functional requirements within the requirement specification document
is to define all the activities or operations that take place in the system. These are derived
through interactions with the users of the system. A summary of major functions that the
software will perform:
Non-Functional Requirements:
Guidelines.
Validation Criteria.
Guidelines:
We have discussed mandatory requirements in the previous section. The requirements in this
section should be taken as suggestions & they should be thought of as recommendations to
further enhance the usability of the system.
The system should display a home page for users to choose.
The system should display users’ requests in a reasonable time.
The system should be designed in such a way that it is easy to enhance it with more
functionality. It should be scalable and easily maintainable.
Validation Criteria:
Only authorized users will have access to the system.
Users will have a unique user id.
User id cannot be blank.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 21
User name cannot be blank.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 22
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 23
PROCESS CHART
Process Flow
Check by
entering yes Available
the Job
type and
place
No
Unavailable
Level 1
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 24
DATA FLOW DIAGRAM (DFD):
The data flow diagram is the graphical representation that depicts information flow
and transforms that are applied as data move from input to output. DFD is refined into
different levels. The DFD refinement results in a corresponding refinement of data. After
going through the current working process of the department, we can create the Data Flow
Diagram (DFD). Following is the DFD of the “Online Job Search System” We have
identified the system up to two levels. Each break-up has been numbered as per the rule of
DFD.
The DFD model uses a very limited number of primitive symbols, which are described
below
External Entity- An external entity is a source or destination of data for the system under
consideration. It lies outside the context of the system.
Process- A process represents some work being performed on data. It transforms data from
one form to another. Every process has one or more data inputs and produces one and more
data outputs.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 25
Data Flow- A data flow portrays an interface among the different components in a data
flow diagram. It represents the path of data as it flows through a system.
Data Store- If there is a logical requirement for data to be stored, it is held in a data store. A data store
therefore, is a repository of a data.
Before constructing a DFD model of a system, some concept associate with DFD’s
Data Dictionary:
A data dictionary lists all the data items appearing in a DFD, i.e. a data dictionary lists all
data glows and the contents of all data stores appearing on the DFD. A dada dictionary lists
the purpose of all data items and the definition of all composite data items in terms of their
A data dictionary lists standard terminology for all relevant data for use by engineer
have a tendency to used different terms to refer to the same data, which unnecessary
cause confusion.
The data dictionary provides the analysts with means to determine the definition of
Data Definition:
Composite data are defined in terms of primitive data item using the following data items
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 26
+: denotes composition of data items.
[,,]: represent selection ,i.e, any of the data items listed inside the square brackets can
occur.
( ): the content inside the brackets represent optional data which may or may not appear.
1 LEVEL DFD:
At this level of D.F.D. all the process together with all the data stores (tables). It
shows the true data flow i.e. how data is actually flowing in the system .Data is coming from
which table and going into which table is clearly shown by this DFD. This DFD is the main
reference for the development of the system. After understanding the whole system, the
application developer will fall back bone this DFD during the development phase.
1 LEVEL DFD:
User password 2
Job Category Job data file
Identification
Process
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4 th
Sem (November2010) 27
Employer
registration Job validity file
Return result
Post profile 3 4
1 User Periodic
Registration Register user
login job search
Search for job candidate
procession Online
Job candidate
Attributes
Relationship
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 28
There are three basic elements in ER models:
-Entities are the "things" about which we seek information.
-Attributes are the data we collect about the entities.
-Relationships provide the structure needed to draw information from multiple entities.
In this project, I have to design an E-R diagram for each activity of the
Online Job Search System like user details and job details. I have design an E-R diagram for
these activities. The following table summarizes the elements of a data flow diagram and the
symbols used to denote them: -
Entity- An entity or data object is a representation of almost any composite information that
must be understood by the system or software. Rectangle represents the data object/entity.
Attributes- Attributes define the properties of a data object and take on one of three
different characteristics. Ellipse represents the attribute of entities.
J_id
EXPERIENCE Havin
g
Requires
skills email
J_id
Job type
JOB
Job SEEKER Name
Category
Name
Contact address
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 29
COMPANY
Location Name email Having Qualification Skills
Having VACANCY
Having JobNo of required
seats
category
Type Location
E_id
E_id
Reg_no
Login
Search Job
Apply Job
Admin
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 30
Subscriber
DESIGN DOCUMENT
System design is the process of planning a new business system to replace the old.
But before this planning can be done, we must thoroughly understand the old system and
determine how the computer can be used to make its operation most effective. From a project
management point of view, software design is conducted in two steps :
Preliminary Design
Detail Design
Preliminary design is concerned with the transformation of requirement into data and
software architecture. Detail design focuses on refinement to the architectural representation
that lead to detailed data structure and algorithm representation for software. In this project
we have design some important design they are given below:
Data design
Architectural design
Procedural design
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 31
Form design or Graphical design
Program design
Module design
Documentation design
MODULES USED:
The program consists of four modules which are as follows:
Job-Seekers and Employer Registration process module
Job Search processing module
Job updating processing module
Report Generation process module
SOLUTION REQUIREMENTS:
The following will be the tree structure of the Web based application:
Job Seeker Registration
Employer Registration
Job Seeker Main Screen
Resume and Job Preferences
Security Settings
Job Search
Search Responses
Response Details
Log Details
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 32
Employer Main Screen
Profile
Security Settings
Positions
Analysis Reports
Candidate Instructions
Responses against positions
Candidate Details
Candidate Search
Search Results
Candidate Details
Advertising banner placements
News and articles, content
DATABASE DESIGN:
As we have discussed earlier about the under developing system, which is based on.
Net technologies so, our database will be centralized database will run on MySQL 5.0.
There are various kind of tables are used for different –different purpose. The database will
give you the complete structure of the data structure. The database will act as a backend of
the software.
Admin Table:
It shows the details of the administrator table.
Field Name Data Type Null Key
U_id Varchar(50) Not null Primary key
pwd Varchar(50)
access Varchar(50)
Delete Varchar(50)
Edit Varchar(50)
send Varchar(50)
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 33
Admin_Det:
It gives the details of the administrator.
Field Name Data Type Null Key
U_id Varchar(50) Not null Primary key
Fname Varchar(50)
Lname Varchar(50)
Phone Varchar(50)
Mobile Varchar(50)
Country Varchar(50)
City Varchar(50)
Doa Varchar(50)
Seek_Det Table:
It gives the details of the job-seeker.
Field Name Data Type Null Key
J_id Varchar(50) Not null Primary key
Email Varchar(50)
F_name Varchar(50)
L_name Varchar(50)
Phone_no Varchar(50)
Mobile_no Varchar(50)
Q_id Varchar(50)
Skills Varchar(50)
City Varchar(50)
Country Varchar(50)
Doreq Varchar(50)
Experience Table:
This gives the experience of all the job-seekers.
Field Name Data Type Null Key
j_id varchar(50) not null Primary key
Job_cat varchar(50)
J_type varchar(50)
months varchar(50)
Seek_Login Table:
It stores the login id and password of the job seeker.
Field Name Data Type Null Key
J_id Varchar(50) Not null Primary key
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 34
Pwd Varchar(50)
Seek_Inbox Table:
It maintains the inbox of the job-seeker.
Field Name Data Type Null Key
J_id Varchar(50) Not null Primary key
F_name Varchar(50)
Email Varchar(50)
E_id Varchar(50)
Emp_email Varchar(50)
Emp_Det Table:
This gives the information of all the employers.
Field Name Data Type Null Key
E_id Varchar(50) Not null Primary key
Email Varchar(50)
Fname Varchar(50)
Lname Varchar(50)
Phone Varchar(50)
Mobile Varchar(50)
Address Varchar(50)
Dor Varchar(50)
Company Table:
This stores the details of the company and their location.
Field Name Data Type Null Key
Reg_no Varchar(50) Not null Primary key
E_id Varchar(50) Not null
C_name Varchar(50)
C_type Varchar(50)
Req Varchar(50)
Addr1 Varchar(50)
Country Varchar(50)
city Varchar(50)
Vacancy Table:
This shows the number of vacancies available and their details.
Field Name Data Type Null Key
E_id Varchar(50) Not null Primary key
Job_cat Varchar(50)
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 35
No_vac Varchar(50)
Q_id Varchar(50)
Addr1 Varchar(50)
City Varchar(50)
Country Varchar(50)
Skills Varchar(50)
Emp_Login Table:
It stores the login id and password of the employer.
Field Name Data Type Null Key
E_id Varchar(50) Not null Primary key
password Varchar(50)
Emp_Inbox Table:
It stores the employer inbox mail.
Field Name Data Type Null Key
E_id Varchar(50) Not null Primary key
F_name Varchar(50)
Email Varchar(50)
J_id Varchar(50)
Seek_email Varchar(50)
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 36
Module Design:
ADMIN LOGIN
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 37
4. Change password:
The user has the option to change his password time to time without any disturbance.
5. Membership:
The user can have the membership of Online Job Search System after create his/her
own account on the website. S/He will have to pay a nominal of monthly subscription.
6. Help:
If user gets any difficulties to use the web-site they can directly ask query regarding
their difficulties by telephonic.
Data Integrity:
It provides the data related to each other’s. It plays major role for any good
project. Also reduce to data ambiguity. I am using database constraints like Primary
key, foreign key, Unique key, Check Constraints, and Defaults etc.
The new system may require some data from another computerized
system or may provide data to another system in which case the files must be
compatible in format and the system must operate with a certain processing cycle.
Constraints:
These are the requirements that are not directly related to the functionality of the
system. These should be considered as mandatory when the system is developed. The
following Constraints were arrived at for the system:
The system should be available over the internet so that the student can use the system
from their respective locations which could be anywhere in the world.
For gaining entry into the system the users should be registered and should be able use
login & passwords for gaining access to the system.
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 38
The users should be able to change their passwords for increased security.
The system should be easy to understand and organized in a structured way. The users
should also receive feedback about any errors that occur.
There should be no limitation about the hardware platform that is to be used to run the
system.
Data integrity should be maintained if an error occurs or the whole system comes down.
An order for a particular Course is available in website.
PROGRAM CODES:
CODE OF JSP
admin_reg.jsp
<html>
<body>
<%@ page import="java.io.* " %>
<%@ page import="java.sql.* " %>
<%@ page import="java.net.* " %>
<%@page import="java.util.* "%>
<%! String u_id,pwd,fname,lname,p,m,country,city,cd,access,delete,edit,send;
%>
<%p=request.getParameter("phone");
m=request.getParameter("mobile");
Calendar cl=Calendar.getInstance();
String cd=String.valueOf(cl.get(Calendar.DATE))+
"/"+String.valueOf(cl.get(Calendar.MONTH))+"/"+String.valueOf(cl.get(Calendar.YEAR));
fname=request.getParameter("fname");
lname=request.getParameter("lname");
u_id=request.getParameter("u_id");
pwd=request.getParameter("pwd");
country=request.getParameter("country");
access=request.getParameter("access");
delete=request.getParameter("delete");
edit=request.getParameter("edit");
send=request.getParameter("send");
city=request.getParameter("city");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 39
Connection con1= DriverManager.getConnection("jdbc:odbc:onlinejob",
"osys", "pass");
PreparedStatement stmt1=con1.prepareStatement("insert into admin_det
values(?,?,?,?,?,?,?,?)");
stmt1.setString(1,u_id);
stmt1.setString(2,fname);
stmt1.setString(3,lname);
stmt1.setString(4,p);
stmt1.setString(5,m);
stmt1.setString(6,country);
stmt1.setString(7,city);
stmt1.setString(8,cd);
int k1=stmt1.executeUpdate();
int k2=stmt2.executeUpdate();
response.sendRedirect("page.html");
con1.close();
stmt1.close();
con2.close();
stmt2.close();
}
catch(SQLException e)
{
System.out.println("error is:"+e);
}
catch(ClassNotFoundException e1)
{
System.out.println("error is:"+e1);
}
catch(IOException e2)
{
}
%>
</body>
</html>
ad_login.jsp
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 40
<jsp:include page="page.html"/>
<html>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.*"%>
<%! String name,password; %>
<%
name=request.getParameter("u_id");
password=request.getParameter("pwd");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from admin where
u_id='"+name+"' and pwd='"+password+"' ");
ResultSet res=pstm.executeQuery();
if(res.next())
{
session.putValue(name,password);
response.sendRedirect("ad_profile.jsp?u_id="+name+"&pwd="+password);
}
else
out.println("Data does not exist in database");
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
</body>
</html>
ad_profile.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Online Job Search System</title>
<meta name="keywords" content="" />
<meta name="Simple Passage" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 41
<!-- start header -->
<div id="header">
<div id="logo">
<h1><a href="#"><span>Online Job Search System</span></a></h1>
<p><marquee><font size=4>We find the right place for u!
</font></marquee></p>
</div>
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="admin.html">ADMIN
HOME</a></li>
<li><a href="newresume.jsp">CHECK RESUME</a></li>
<li><a href="newjobs.jsp">CHECK NEW JOBS</a></li>
<li><a href="newemp.jsp">CHECK NEW EMPLOYERS</a></li>
<li><a href="logout.jsp">LOGOUT</a></li>
</ul>
<ul id="feed">
</ul>
</div>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="sidebar1" class="sidebar">
<ul>
<li>
</li>
</ul>
</div>
<!-- start content -->
<div id="content">
<div class="flower"></div>
<div class="post">
<h1 class="title"><a href="#">New Admin-REGISTRTION
FORM:</a></h1>
<p class="byline"></p>
<div class="entry">
<form name="ad_reg" action="admin_reg.jsp"
method="post">
<p><h2>USER DETAILS:</h2></p>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 42
<ul>Mobile:<input type="text" size="15"
name="mobile"></ul>
<ul>Country:<select name="country" value="">
<option
value="india">India</option></select></ul>
<ul>City:<select name="city" value="">
<option value="Delhi">Delhi</option>
<option value="Mumbai">Mumbai</option>
<option value="Chennai">Chennai</option>
<option
value="Kolkata">Kolkata</option></select></ul>
<ul>Desired UserName:<input type="text" size="15"
name="u_id"></ul>
<ul>Password:<input type="password" size="15"
name="pwd">Re-type Password:<input type="password" size="15"
name="password"></ul>
<p><h2>ACCESS PERMISSIONS:</h2></p>
<ul>Access:<input type="checkbox" name="access"
selected value="yes">Y/N</ul>
<ul>Delete:<input type="checkbox" name="delete"
selected value="yes">Y/N</ul>
<ul>Edit:<input type="checkbox" name="edit"
selected value="yes">Y/N</ul>
<ul>Send:<input type="checkbox" name="send"
selected value="yes">Y/N</ul>
<ul><input type="submit"
value="Submit"></ul></form>
</div>
</div>
</div>
</div>
<!-- end content -->
<!-- start sidebars -->
<div id="sidebar2" class="sidebar">
<ul>
<li>
<div>
<h2>Security Notice</h2>
<p><font size=5>Keep your id and
password safe!</p>
</div>
</form>
</li>
<li></li>
</ul>
</div>
<!-- end sidebars -->
<div style="clear: both;"></div>
</div>
</div>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 43
</div>
<!-- end page -->
</div>
<div id="footer">
<p class="copyright"> Developed by:Rohit Kumar Rakshit</p>
</div>
</body>
</html>
ad_search.jsp
<jsp:include page="page.html"/>
<html>
<head></head>
<body><form action="seek_mail.jsp" method="post">
<table border="1" width="100%" align="center">
<caption>Vacancies Available</caption>
<tr>
<th>Email-id</th>
<th>Job Category</th>
<th>No. of Seats Vacant</th>
<th>Qualification req</th>
<th>Address</th>
<th>Skills Required</th>
<th>Option Select</th>
</tr>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String email,addr1,city,country,j_cat,q_id,key,no_vac,e_id,skills; %>
<%
key=request.getParameter("search");
city=request.getParameter("location");
j_cat=request.getParameter("j_cat");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from vacancy where
skills='"+key+"' and job_cat='"+j_cat+"' and city='"+city+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
e_id=res.getString(1);
j_cat=res.getString(2);
no_vac=res.getString(3);
q_id=res.getString(4);
addr1=res.getString(5);
city=res.getString(6);
country=res.getString(7);
skills=res.getString(8);
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 44
email=res.getString(9);
out.println("<tr><td>"+email+"</td><td>"+j_cat+"</td><td>"+no_vac+"</td><td>"+q_id+"
</td><td>"+addr1+","+city+","+country+"</td><td>"+skills+"</td><td><input
type=checkbox name=seek_search selected value=yes></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<center><input type=submit value="Send Resume"></center></form>
</table>
</body>
</html>
category.jsp
<jsp:include page="page.html"/>
<html>
<head></head>
<body><form action="seek_mail.jsp" method="post">
<table border="1" width="100%" align="center">
<caption>Vacancies Available</caption>
<tr>
<th>Email-id</th>
<th>Job Category</th>
<th>No. of Seats Vacant</th>
<th>Qualification req</th>
<th>Address</th>
<th>Skills Required</th>
<th>Option Select</th>
</tr>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String email,addr1,city,country,j_cat,q_id,key,no_vac,e_id,skills; %>
<%
j_cat=request.getParameter("j_cat");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 45
PreparedStatement pstm=con.prepareStatement(" select * from vacancy where
job_cat='"+j_cat+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
e_id=res.getString(1);
j_cat=res.getString(2);
no_vac=res.getString(3);
q_id=res.getString(4);
addr1=res.getString(5);
city=res.getString(6);
country=res.getString(7);
skills=res.getString(8);
email=res.getString(9);
out.println("<tr><td>"+email+"</td><td>"+j_cat+"</td><td>"+no_vac+"</td><td>"+q_id+"
</td><td>"+addr1+","+city+","+country+"</td><td>"+skills+"</td><td><input
type=checkbox name=seek_search selected value=yes></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<center><input type=submit value="Send Resume"></center></form>
</table>
</body>
</html>
emp_inbox.jsp
<jsp:include page="blank.html"/>
<html>
<head></head>
<body bgcolor=orange><center><font size=6><b>
<%@page import="java.sql.* "%>
<%@page import="java.io.*"%>
<%! int k;
String email,e_id,fname,pwd,j_id,email2; %>
<%
e_id=request.getParameter("e_id");
pwd=request.getParameter("pwd");
try
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 46
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
emp_login.jsp
<jsp:include page="page.html"/>
<html>
<head></head>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.*"%>
<%! String name,password; %>
<%
name=request.getParameter("e_id");
password=request.getParameter("password");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 47
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_login where
e_id='"+name+"' and password='"+password+"' ");
ResultSet res=pstm.executeQuery();
if(res.next())
{
session.putValue(name,password);
response.sendRedirect("emp_profile.jsp?
e_id="+name+"&password="+password);
}
else
out.println("Data does not exist in database");
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
</body>
</html>
emp_profile.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Online Job Search System</title>
<meta name="keywords" content="" />
<meta name="Simple Passage" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%@page import="java.net.* "%>
<%! String n,p,f,email;%>
<%
n=request.getParameter("e_id");
p=request.getParameter("password");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 48
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_det where
e_id='"+n+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
f=res.getString(3);
out.println("<h1><font size=5 color=blue>Welcome\t"+f+"!</font></h1>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<div id="header">
<div id="logo">
<h1><a href="#"><span>Online Job Search System</span></a></h1>
<p><marquee><font size=4>We find the right place for u!
</font></marquee></p>
</div>
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="home.html">Home</a></li>
<li><a href="seeker.html">Submit Resume</a></li>
<li><a href="employer.html">Employer Register</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Comments</a></li>
</ul>
<ul id="feed">
<li><a href="search.html">Search</a></li>
<li><a href="logout.jsp">Log Out</a></li>
</ul>
</div>
</div>
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="sidebar1" class="sidebar">
<ul>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 49
<li>
<h2>Recent Posts</h2>
<ul>
<li><a href="#">Create customized job
messengers</a></li>
<li><a href="#">Create multiple
profiles</a></li>
<li><a href="#">Let recruiters find you the right
job</a></li>
<li><a href="#">Provide
confidentiality</a></li>
<li><a href="#">Provide privacy of personal
data</a></li>
<li><a href="#">Assure secrecy of
data</a></li>
</ul>
</li>
</ul>
</div>
<div id="content">
<div class="post">
<h1 class="title"><font size=5>Online Candidates Search</font>
<p><font size=4>Easy way to find your candidate!</font></p></h1><p>Enter
keywords,job categories,location,etc, to start your search.</p>
<form name="search" action="q_search.jsp" method="post"><p><input
type="text" size="50" name="search"><input type="submit" value="Start
Search"></form></p>
<p>Keywords(eg:c,c++,java),categories(eg:IT,sales,call centers)</p>
</div>
<div class="post">
<h2 class="title"><a href="#">New Jobs Avaliable?Post it
here.</a></h2>
<div class="entry">
<form name="employer" action="empreg1.jsp"
method="post">
<p><h2>EMPLOYER DETAILS:</h2></p>
<p><h2>COMPANY DETAILS:</h2></p>
<ul>Company Name:<input type="text" size="15"
name="c_name"></ul>
<ul>Registration No:<input type="text" size="10"
name="reg_no"></ul>
<ul>Type:<select name="c_type" value=""><option
value="company">Company Type</option><option value="placement agency">Placement
Agency Type</option></select></ul>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 50
<ul>Key Skills:<input type="text" size="15"
name="skills"></ul>
<ul>No of vacancy:<select name="no_vac"
value="'><option selected value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="more than 6">more than
6</option></select></ul>
<ul>Category:<select name="job_cat"
value="'><option Selected value="null">Null</option>
<option value="IT">IT</option>
<option value="sales">Sales</option>
<option value="finance">Finance</option>
<option
value="marketing">Marketing</option></select></ul>
<ul>Qualification:<select name="q_id" value="">
<option value="Aviation">Aviation</option>
<option value="B.A.">B.A.</option>
<option value="B.Arch">B.Arch</option>
<option value="B.C.A">B.C.A</option>
<option value="C.A.">C.A.</option>
<option value="Diploma">Diploma</option>
<option
value="MBA">MBA</option></select></ul>
<ul>Requirement:<select name="req" value="">
<option
value="immediate">Immediate</option>
<option value="within 1 month">Within 1
month</option>
<option value="within 3 months">Within 3
months</option>
<option value="within 6 months">Within 6
months</option>
<option value="within 12 months">Within 12
month</option></select></ul>
<p><h2>LOCATION:</h2></p>
<ul>Address:<input type="text" size="15"
name="addr1"></ul>
<ul>Country:<select name="country" value="">
<option
value="india">India</option></select></ul>
<ul>City:<select name="city" value="">
<option value="Delhi">Delhi</option>
<option value="Mumbai">Mumbai</option>
<option value="Chennai">Chennai</option>
<option
value="Kolkata">Kolkata</option></select></ul>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 51
<ul><input type="submit"
value="Submit"></ul></form>
</div>
</div>
</div>
</div>
</div>
</li>
<li>
<h2>Advanced Search</h2>
<p><a href="resume_search.jsp">Search
Resume.</a></p>
<p></p>
</li>
<li><h2>Check your Inbox:</h2>
<form action="emp_inbox.jsp" method="post">
<p>Username:<input type="text" name="e_id"></p>
<p>Password:<input type="password" name="pwd"></p>
<p><input type="submit" value="Check
Inbox"></p></form></li>
<li>
<h2>Are you a JOB SEEKER?</h2>
<p><ul><a href="seeker.html">CLICK
HERE.</a></ul></p></li>
<li>
<h2>Ease your SEARCH BY</h2>
<%
n=request.getParameter("e_id");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_det where
e_id='"+n+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
email=res.getString(2);
session.putValue(n,email);
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 52
out.println("<p>CATEGORY:<a href=jobcat.jsp?
e_id="+n+"&email="+email+">IT|Sales|Finance|Marketing</a></p>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<%
n=request.getParameter("e_id");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_det where
e_id='"+n+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
email=res.getString(2);
session.putValue(n,email);
out.println("<p>LOCATION:<a href=place.jsp?
e_id="+n+"&email="+email+">Delhi|Mumbai|Kolkata|Chennai</a></p>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<%
n=request.getParameter("e_id");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 53
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_det where
e_id='"+n+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
email=res.getString(2);
session.putValue(n,email);
out.println("<p>TYPE:<a href=type.jsp?
e_id="+n+"&email="+email+">Company|Placement Agency</a></p></li>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
</ul>
</div>
</div>
</div>
<div id="footer">
<p class="copyright"><font size=4> Developed by:Rohit Kumar Rakshit</font></p>
</div>
</body>
</html>
empreg.jsp
<html>
<body>
<%@ page import="java.io.* " %>
<%@ page import="java.sql.* " %>
<%@ page import="java.net.* " %>
<%@page import="java.util.* "%>
<%! String
p,m,email,fname,lname,address,e_id,pass,c_name,reg_no,c_type,skills,no_vac,job_cat,q_id,r
eq,addr1,country,city,dor;
%>
<%
p=request.getParameter("phone");
m=request.getParameter("mobile");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 54
Calendar cl=Calendar.getInstance();
String cd=String.valueOf(cl.get(Calendar.DATE))
+"/"+String.valueOf(cl.get(Calendar.MONTH))
+"/"+String.valueOf(cl.get(Calendar.YEAR));
email=request.getParameter("email");
fname=request.getParameter("fname");
lname=request.getParameter("lname");
address=request.getParameter("address");
e_id=request.getParameter("e_id");
pass=request.getParameter("password");
c_name=request.getParameter("c_name");
reg_no=request.getParameter("reg_no");
c_type=request.getParameter("c_type");
skills=request.getParameter("skills");
no_vac=request.getParameter("no_vac");
job_cat=request.getParameter("job_cat");
q_id=request.getParameter("q_id");
req=request.getParameter("req");
email=request.getParameter("email");
addr1=request.getParameter("addr1");
country=request.getParameter("country");
city=request.getParameter("city");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con1= DriverManager.getConnection("jdbc:odbc:onlinejob",
"osys", "pass");
PreparedStatement stmt1=con1.prepareStatement("insert into emp_det
values(?,?,?,?,?,?,?,?)");
stmt1.setString(1,e_id);
stmt1.setString(2,email);
stmt1.setString(3,fname);
stmt1.setString(4,lname);
stmt1.setString(5,p);
stmt1.setString(6,m);
stmt1.setString(7,address);
stmt1.setString(8,cd);
int k1=stmt1.executeUpdate();
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 55
stmt2.setString(7,country);
stmt2.setString(8,city);
int k2=stmt2.executeUpdate();
int k3=stmt3.executeUpdate();
int k4=stmt4.executeUpdate();
response.sendRedirect("page.html");
con1.close();
stmt1.close();
con2.close();
stmt2.close();
con3.close();
stmt4.close();
con4.close();
stmt4.close();
}
catch(SQLException e)
{
System.out.println("error is:"+e);
}
catch(ClassNotFoundException e1)
{
System.out.println("error is:"+e1);
}
catch(IOException e2)
{
}
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 56
%>
</body>
</html>
inbox.jsp
<jsp:include page="blank.html"/>
<html>
<head></head>
<body bgcolor=orange><center><font size=6><b>
<%@page import="java.sql.* "%>
<%@page import="java.io.*"%>
<%! int k;
String email,j_id,fname,pwd,email2,e_id; %>
<%
j_id=request.getParameter("j_id");
pwd=request.getParameter("pwd");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 57
</html>
job_cat.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Online Job Search System</title>
<meta name="keywords" content="" />
<meta name="Simple Passage" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="header">
<div id="logo">
<h1><a href="#"><span>Online Job Search System</span></a></h1>
<p><marquee><font size=4>We find the right place for u!
</font></marquee></p>
</div>
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="home.html">Home</a></li>
<li><a href="seeker.html">Submit Resume</a></li>
<li><a href="employer.html">Employer Register</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Comments</a></li>
</ul>
<ul id="feed">
<li><a href="search.html">Search</a></li>
<li><a href="logout.jsp">Log Out</a></li>
</ul>
</div>
</div>
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Recent Posts</h2>
<ul>
<li><a href="#">Create customized job
messengers</a></li>
<li><a href="#">Create multiple
profiles</a></li>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 58
<li><a href="#">Let recruiters find you the right
job</a></li>
<li><a href="#">Provide
confidentiality</a></li>
<li><a href="#">Provide privacy of personal
data</a></li>
<li><a href="#">Assure secrecy of
data</a></li>
</ul>
</li>
</ul>
</div>
<div id="content">
<div class="post">
<h1 class="title"><font size=5>Job By Category</font>
<form action="category.jsp" method="post">
<p><font size=5></font></p></h1><p>Select your category.</p>
<p>Job category:<select name="j_cat" value=""><option
value="IT">IT</option>
<option value="sales">Sales</option>
<option value="finance">Finance</option>
<option
value="marketing">Marketing</option></select></p>
<p></p>
<p><center><input type="submit" value="Start
Search"></center></form></p>
<p><font size=3><a href="seek_profile.jsp">Quick Job Search</a>|<a
href="advance.html">Advanced Job Search</a>|<a href="job_loc.jsp">Jobs by
Location</a></font></p>
</div>
<div class="post">
<h2 class="title"><a href="#">New Jobs Available!</a></h2>
<div class="entry">
<h3></h3>
<blockquote>
<p><img src="images\img14.gif"><img
src="images\img17.gif"></p>
</blockquote>
<h3></h3>
<p><img src="images\img13.gif"><img
src="images\img18.gif"><img src="images\img16.gif"></p>
</div>
</div>
</div>
</div>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 59
<div>
</div>
</li>
<li>
<h2>other Searches</h2>
</ul>
</div>
</div>
</div>
<div id="footer">
<p class="copyright"><font size=4> Developed by:Rohit Kumar Rakshit</font></p>
</div>
</body>
</html>
job_loc.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Online Job Search System</title>
<meta name="keywords" content="" />
<meta name="Simple Passage" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="header">
<div id="logo">
<h1><a href="#"><span>Online Job Search System</span></a></h1>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 60
<p><marquee><font size=4>We find the right place for u!
</font></marquee></p>
</div>
<div id="menu">
<ul id="main">
<li class="current_page_item"><a href="home.html">Home</a></li>
<li><a href="seeker.html">Submit Resume</a></li>
<li><a href="employer.html">Employer Register</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Comments</a></li>
</ul>
<ul id="feed">
<li><a href="search.html">Search</a></li>
<li><a href="logout.jsp">Log Out</a></li>
</ul>
</div>
</div>
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="sidebar1" class="sidebar">
<ul>
<li>
<h2>Recent Posts</h2>
<ul>
<li><a href="#">Create customized job
messengers</a></li>
<li><a href="#">Create multiple
profiles</a></li>
<li><a href="#">Let recruiters find you the right
job</a></li>
<li><a href="#">Provide
confidentiality</a></li>
<li><a href="#">Provide privacy of personal
data</a></li>
<li><a href="#">Assure secrecy of
data</a></li>
</ul>
</li>
</ul>
</div>
<div id="content">
<div class="post">
<h1 class="title"><font size=5>Jobs by Location</font>
<form action="location.jsp" method="post">
<p><font size=4></font></p></h1><p>Select job location, to start your
search.</p>
<p>Job Location:<select name="location" value=""><option
value="Delhi">Delhi</option><option value="Mumbai">Mumbai</option><option
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 61
value="Kolkata">Kolkata</option><option
value="Chennai">Chennai</option></select></p>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 62
<p class="copyright"><font size=4> Developed by:Rohit Kumar Rakshit</font></p>
</div>
</body>
</html>
jobcat.jsp
<html>
<head></head>
<body bgcolor="orange">
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String e_id,email2; %>
<%
e_id=request.getParameter("e_id");
email2=request.getParameter("email");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_det where
e_id='"+e_id+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
session.putValue(e_id,email2);
out.println("<form action=jobcat_search.jsp?
e_id="+e_id+"&email="+email2+" method=post>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 63
jobcat_search.jsp
<jsp:include page="blank.html"/>
<html>
<head></head>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String exp,j_id,j_cat,type,city,country,email,e_id,email2; %>
<%
e_id=request.getParameter("e_id");
email2=request.getParameter("email");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass");
PreparedStatement pstm=con.prepareStatement(" select * from emp_det where
e_id='"+e_id+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
session.putValue(e_id,email2);
out.println("<form action=mail.jsp?e_id="+e_id+"&email="+email2+"
method=post>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 64
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from experience
where job_cat='"+j_cat+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
j_id=res.getString(1);
j_cat=res.getString(2);
type=res.getString(3);
exp=res.getString(4);
city=res.getString(8);
country=res.getString(9);
email=res.getString(10);
out.println("<tr><td>"+j_id+"</td><td>"+j_cat+"</td><td>"+type+"</td><td>"+exp+"</td>
<td>"+city+","+country+"</td><td>"+email+"</td><td><input type=checkbox
name=slocation selected value=yes></td></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<input type=submit value="Send Jobs"></form>
</table>
</body>
</html>
jobcat_search1.jsp
<jsp:include page="blank.html"/>
<html>
<head></head>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String exp,j_id,j_cat,type,city,country,email,e_id,email2; %>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 65
<th>Experience</th>
<th>Location</th>
<th>Email-Id</th>
</tr>
<%
j_cat=request.getParameter("category");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from experience
where job_cat='"+j_cat+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
j_id=res.getString(1);
j_cat=res.getString(2);
type=res.getString(3);
exp=res.getString(4);
city=res.getString(8);
country=res.getString(9);
email=res.getString(10);
out.println("<tr><td>"+j_id+"</td><td>"+j_cat+"</td><td>"+type+"</td><td>"+exp+"</td>
<td>"+city+","+country+"</td><td>"+email+"</td></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
</table>
</body>
</html>
jobcat1.jsp
<html>
<head></head>
<body bgcolor="orange">
<form action=jobcat_search1.jsp method=post>
<center><p><font size=8 color=green><I>Enter the job category:</I></font></p>
<p>
<select name="category" value=""><option value="IT">IT</option><option
value="finance">Finance</option>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 66
<option value="sales">Sales</option><option
value="marketing">Marketing</option></select>
</p>
<p><input type="submit" value="Start Search"></p></form></center>
</body></html>
loc_search.jsp
<jsp:include page="page.html"/>
<html>
<head></head>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String exp,j_id,j_cat,type,city,country,email,e_id,email2; %>
<%
e_id=request.getParameter("e_id");
email2=request.getParameter("email");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from emp_det
where e_id='"+e_id+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
session.putValue(e_id,email2);
out.println("<form action=mail.jsp?e_id="+e_id+"&email="+email2+"
method=post>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<table border="1" width="100%" align="center">
<caption>Job Aspirants</caption>
<tr>
<th>Employee-Id</th>
<th>Job Category</th>
<th>Job Type</th>
<th>Experience</th>
<th>Location</th>
<th>Email-Id</th>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 67
<th>Option Select</th>
</tr>
<%
city=request.getParameter("location");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from experience
where city='"+city+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
j_id=res.getString(1);
j_cat=res.getString(2);
type=res.getString(3);
exp=res.getString(4);
city=res.getString(8);
country=res.getString(9);
email=res.getString(10);
out.println("<tr><td>"+j_id+"</td><td>"+j_cat+"</td><td>"+type+"</td><td>"+exp+"</td>
<td>"+city+","+country+"</td><td>"+email+"</td><td><input type=checkbox
name=slocation selected value=yes></td></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
<input type=submit value="Send Jobs"></form>
</table>
</body>
</html>
loc_search1.jsp
<jsp:include page="blank.html"/>
<html>
<head></head>
<body>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String exp,j_id,j_cat,type,city,country,email,e_id,email2; %>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 68
<table border="1" width="100%" align="center">
<caption>Job Aspirants</caption>
<tr>
<th>Employee-Id</th>
<th>Job Category</th>
<th>Job Type</th>
<th>Experience</th>
<th>Location</th>
<th>Email-Id</th>
</tr>
<%
city=request.getParameter("location");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from experience
where city='"+city+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
j_id=res.getString(1);
j_cat=res.getString(2);
type=res.getString(3);
exp=res.getString(4);
city=res.getString(8);
country=res.getString(9);
email=res.getString(10);
out.println("<tr><td>"+j_id+"</td><td>"+j_cat+"</td><td>"+type+"</td><td>"+exp+"</td>
<td>"+city+","+country+"</td><td>"+email+"</td></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
catch(IOException e2)
{}
%>
</table>
</body>
</html>
location.jsp
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 69
<jsp:include page="page.html"/>
<html>
<head></head>
<body><form action="seek_mail.jsp" method="post">
<table border="1" width="100%" align="center">
<caption>Vacancies Available</caption>
<tr>
<th>Email-id</th>
<th>Job Category</th>
<th>No. of Seats Vacant</th>
<th>Qualification req</th>
<th>Address</th>
<th>Skills Required</th>
<th>Option Select</th>
</tr>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String email,addr1,city,country,j_cat,q_id,key,no_vac,e_id,skills; %>
<%
city=request.getParameter("location");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from vacancy where
city='"+city+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
e_id=res.getString(1);
j_cat=res.getString(2);
no_vac=res.getString(3);
q_id=res.getString(4);
addr1=res.getString(5);
city=res.getString(6);
country=res.getString(7);
skills=res.getString(8);
email=res.getString(9);
out.println("<tr><td>"+email+"</td><td>"+j_cat+"</td><td>"+no_vac+"</td><td>"+q_id+"
</td><td>"+addr1+","+city+","+country+"</td><td>"+skills+"</td><td><input
type=checkbox name=seek_search selected value=yes></tr>");
}
}
catch(SQLException e)
{
out.println("Error of SQL" +e);
}
catch(ClassNotFoundException e1)
{
}
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 70
catch(IOException e2)
{}
%>
<center><input type=submit value="Send Resume"></center></form>
</table>
</body>
</html>
logout.jsp
<html><head><title>Online Job Search System</title></head>
<body>
<%
session.invalidate();
%>
<h1><center>You have been logged out of your session!</center></h1>
<h2><center>Return to HOME--<a href="home.html">Login</a></center></h2>
</body>
</html>
mail.jsp
<html>
<head></head>
<body bgcolor=orange>
<center><font size=6 color=green><I><b>Send jobs to the following mail-
id:</b></I></font></center>
<%@page import="java.sql.* "%>
<%@page import="java.io.* "%>
<%! String e_id,email2; %>
<%
e_id=request.getParameter("e_id");
email2=request.getParameter("email");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection("jdbc:odbc:onlinejob", "osys",
"pass"); PreparedStatement pstm=con.prepareStatement(" select * from emp_det
where e_id='"+e_id+"' ");
ResultSet res=pstm.executeQuery();
while(res.next())
{
session.putValue(e_id,email2);
out.println("<form action=send.jsp?e_id="+e_id+"&email="+email2+"
method=post>");
}
}
catch(SQLException e)
{
}
catch(ClassNotFoundException e1)
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 71
{
}
catch(IOException e2)
{}
%>
<center><textarea rows=8 cols=15 name="area"></textarea><p><input type=submit
value="SEND JOBS"></p></center></form>
</body>
</html>
Online Job Search System – Project Developed by Rohit Rakshit 054836523 MCA 4th Sem (November2010) 72