Professional Documents
Culture Documents
PROJECT WORK ON
STUDENT PORTAL
BY
K.PRASANTHI
CH.RAMA LAKSHMI
SK.GOUSIYA PARVEEN
A.NAGA ANUSHA
S.NAGAMANI
GUIDED BY
MS.E.KIRANMAI(MCA)
(Computer Department)
SUBMITTED TO
SRI DURGA MALLESWARA SIDDHARTHA MAHILA
KALASALA
ACKNOWLEDGEMENT
CONTENTS
1.
Abstract
2.
3.
4.
Module Description
5.
Testing
6.
7.
Data Dictionary
8.
Coding
9.
10.
11.
ABSTRACT
fair
glance
of
information
regarding
all
the
PROJECT SYNOPSIS
Synopsis
The
entire
project
has
been
developed
keeping
is
of
the
specific
to
give
distributed
accessibility
for
the
storage.
The
MSAccess
was
choice
as
it
the data
provides
the
at
all proper levels high-level care was taken to check that the
system
manages
date
consistency
with
proper
business
validation.
has
taken
standardized
decision
to
extend
its
of
College.
selection
The
for
the
management
students
has
who
taken
are
joining
decision
in
the
its
world.
technical
The
system
courses,
with
provides
a
vast
both
choice
technical
of
and
electives
at
nonthe
that
are
options.
very
specific
The
system
to
at
that
any
course
of
from
the
time
can
the
entire
activity
has
launched
the
proposal
of
the
new
system
the
following
activities
gets
more
momentum.
1. The student, faculty or the administrators can view of
access the information virtually from anywhere in the
College promises.
2. The
faculties
have
the
flexibility
of
providing
the
information
can
be
managed
in
standardized
REQUIREMENTS
Hardware Requirements
Pentium IV Processor.
128 MB RAM.
20GB Hard Disk space.
Ethernet card with an Internet
and Internet zone.
Software Requirements
Windows
2000,Windows
XP
operating
and
Netscape
system.
Internet
explorer
navigator.
MS-Access.
Java/J2EE.
Tomcat 4.1,Tomcat 5.0
5.0
ACCESS,SERVLETS,
JDBC,JSP,HTML
About Java
Initially the language was called as oak but it was renamed as Java in
1995. The primary motivation of this language was the need for a platformindependent (i.e., architecture neutral) language that could be used to
create software to be embedded in various consumer electronic devices.
Java is a programmers language.
Java is cohesive and consistent.
Except for those constraints imposed by the Internet environment,
Java gives the programmer, full control.
Finally, Java is to Internet programming where
programming.
C was to system
the loading process, a class loader is invoked and does byte code
verification makes sure that the code thats has been generated by the
compiler will not corrupt the machine that its loaded on. Byte code
verification takes place at the end of the compilation process to make sure
that is all accurate and correct. So byte code verification is integral to the
compiling and executing of Java code.
Overall Description
Java Source
JavaVM
. Class
Java
Java programming uses to produce byte codes and executes them. The first
box indicates that the Java source code is located in a. Java file that is
processed with a Java compiler called javac. The Java compiler produces a
file called a. class file, which contains the byte code. The. Class file is then
loaded across the network or loaded locally on your machine into the
execution environment is the Java virtual machine, which interprets and
executes the byte code.
SERVLETS
Introduction
The Java web server is JavaSoft's own web Server. The Java web server is
just a part of a larger framework, intended to provide you not just with a
web server, but also with tools. To build customized network servers for any
Internet or Intranet client/server system. Servlets are to a web server, how
applets are to the browser.
About Servlets
Servlets provide a Java-based solution used to address the problems
currently
associated
with
doing
server-side
programming,
including
Attractiveness of Servlets
There are many features of Servlets that make them easy and attractive to
use. These include:
How it is loaded
Its extensible - you can inherit all your functionality from the
base classes made available to you.
Features of Servlets
offer
much
better
performance
over
their
CGI
counterparts.
Loading Servlets
Servlets can be loaded from three places
From a directory that is on the CLASSPATH. The CLASSPATH of
the
This is
*not* in the
servers class path. A class loader is used to create Servlets from this
directory. New Servlets can be added - existing Servlets can be recompiled
and the server will notice these changes.
From a remote location. For this a code base like http: // nine.eng /
classes / foo / is required in addition to the Servlets class name. Refer to
the admin GUI docs on Servlet section to see how to set this up.
Invoking Servlets
A Servlet invoker is a Servlet that invokes the "service" method on a named
Servlet. If the Servlet is not loaded in the server, then the invoker first loads
the Servlet (either from local disk or from the network) and the then
invokes the "service" method. Also like applets, local Servlets in the server
can be identified by just the class name. In other words, if a Servlet name
is not absolute, it is treated as local.
A client can invoke Servlets in the following ways:
The client can ask for a document that is served by the Servlet.
JavaScript
JavaScript is a script-based programming language that was developed by
Netscape Communication Corporation. JavaScript was originally called Live
Script and renamed as JavaScript to indicate its relationship with Java.
JavaScript supports the development of both client and server components
of Web-based applications. On the client side, it can be used to write
programs that are executed by a Web browser within the context of a Web
page. On the server side, it can be used to write Web server programs that
can process information submitted by a Web browser and then updates the
browsers display accordingly
Even though JavaScript supports both client and server Web programming,
we prefer JavaScript at Client side programming since most of the browsers
supports it. JavaScript is almost as easy to learn as HTML, and JavaScript
statements can be included in HTML documents by enclosing the statements
between a pair of scripting tags
<SCRIPTS>.. </SCRIPT>.
<SCRIPT LANGUAGE = JavaScript>
JavaScript statements
</SCRIPT>
Here are a few things we can do with JavaScript:
JavaScript Vs Java
JavaScript and Java are entirely different languages. A few of the most
glaring differences are:
There are many other differences but the important thing to remember is
that
JavaScript and Java are separate languages. They are both useful for
Advantages
Hypertext Markup Language (HTML), the languages of the World Wide Web
(WWW), allows users to produces Web pages that include text, graphics and
pointer to other Web pages (Hyperlinks).
HTML is not a programming language but it is an application of ISO
Standard 8879, SGML (Standard Generalized Markup Language), but
specialized to hypertext and adapted to the Web. The idea behind Hypertext
is that instead of reading text in rigid linear structure, we can easily jump
from one point to another point. We can navigate through the information
based on our interest and preference. A markup language is simply a series
of elements, each delimited with special characters that define how text or
other items enclosed within the elements should be displayed. Hyperlinks
are underlined or emphasized works that load to other documents or some
portions of the same document.
HTML can be used to display any type of document on the host computer,
which can be geographically at a different location. It is a versatile language
and can be used on any platform or desktop.
HTML provides tags (special codes) to make the document look attractive.
HTML tags are not case-sensitive. Using graphics, fonts, different sizes,
color, etc., can enhance the presentation of the document. Anything that is
not a tag is part of the document itself.
Basic HTML Tags :
<! --
-->
Specifies comments
<A>.</A>
<B>.</B>
<BIG>.</BIG>
<BODY></BODY>
<CENTER>...</CENTER>
Creates text
<DD></DD>
Definition of a term
<DL>...</DL>
<FONT></FONT>
<FORM>...</FORM>
<FRAME>...</FRAME>
<H#></H#>
<HEAD>...</HEAD>
Contains
tags
that
specify
information
about a document
<HR>...</HR>
<HTML></HTML>
<META>...</META>
Provides
meta-information
about
document
<SCRIPT></SCRIPT>
<TABLE></TABLE>
Creates a table
<TD></TD>
<TR></TR>
<TH></TH>
ADVANTAGES
in
the
security,
implementation,
robustness,
and
JDBC-ODBC Bridge
If possible, use a Pure Java JDBC driver instead of the Bridge and an
ODBC driver. This completely eliminates the client configuration required by
ODBC. It also eliminates the potential that the Java VM could be corrupted
by an error in the native code brought in by the Bridge (that is, the Bridge
native library, the ODBC driver manager library, the ODBC driver library,
and the database client library).
Bridge?
Features of JSP
Portability:
Java Server Pages files can be run on any web server or web-enabled
application server that provides support for them. Dubbed the JSP engine,
this support involves recognition, translation, and management of the Java
Server Page lifecycle and its interaction components.
Components:
It was mentioned earlier that the Java Server Pages architecture can include
reusable Java components. The architecture also allows for the embedding
of a scripting language directly into the Java Server Pages file. The
components current supported include Java Beans, and Servlets.
Processing:
A Java Server Pages file is essentially an HTML document with JSP scripting
or tags. The Java Server Pages file has a JSP extension to the server as a
Java Server Pages file. Before the page is served, the Java Server Pages
syntax is parsed and processed into a Servlet on the server side. The
Servlet that is generated outputs real content in straight HTML for
responding to the client.
Access Models:
A Java Server Pages file may be accessed in at least two different ways. A
clients request comes directly into a Java Server Page. In this scenario,
suppose the page accesses reusable Java Bean components that perform
particular well-defined computations like accessing a database. The result of
the Beans computations, called result sets is stored within the Bean as
properties. The page uses such Beans to generate dynamic content and
present it back to the client.
In both of the above cases, the page could also contain any valid Java code.
Java Server Pages architecture encourages separation of content from
presentation.
Purpose
The generated application is the first version upon the system. The overall
system is planned to be in the formal of distributed architecture with
homogeneous database platform. The major objective of the overall system
is to keep the following components intact.
System consistencySystem integrity Overall security of data Data
reliability and Accuracy User friendly name both at administration and user
levels Considering the fact of generality and clarity To cross check that the
system overcomes the hurdles of the version specific standards
Project Plan
for
their
academic
purposes
and
examinations.
Maintain
and
manage
the
faculty
assignments
and
marks details.
MS-ACCESS
What is a Database?
Additional Information
4.In the File New Database dialog box, specify a name and location for the
database, and then click Create.
5.Follow the instructions in the Database Wizard.
Database Wizard:
What is a table?
Relational databases are constituted by one or more tables than contain the
information in an organized form. Databases usually contain more than one table and
each one will have a fixed number of fields.
The tables are made up by two structures:
Field: It corresponds to the name of the column. It must be unique and
besides to have a data type associate
Record: It corresponds to each row that composes the table. There the
data and the registries are composed
Relationships in a Database:
One-To-Many Relationships
One-To-One Relationships
MODULE
DESCRIPTION
is
14.
The
major
parts
of
the
databases
are
components.
is
managing
The
the
administration
actual
master
components
data
that
may
are
be
are
purely
used
for
the
internal
organizational
students
and
facultys
components
are
designed
to
the
sake
of
the
information
related
to
semesters,
Administration
consistent
actuaries
in
and
collation.
that
which
These
transactional
users
is
interface
practically
needs
interfaces
states
lute
part
proper
to
date
of
on
visitors
date
the
organizational
authentication
the
in
concentrate
for
with
deletion
all
and
date
the
date
information
in
customized
manner
as
per
their
flexibilities.
Number Of Modules
Students Module: This module manages all that information
related to the students, who got enrolled into the system.
The students association towards the particular course and
the examination schedules along with the fee payments and
results are integrated into this. In this Module we give he
flexibility to the user in viewing his personal information,
applying for the certificates required at the academic level,
t o t h e a d m i n i s t r a t o r. T h e y c a n a l s o v i e w f o r a n y n o t i f i c a t i o n s
from the corporate, details of the marks obtained in various
subjects. Student is also given privilege of accessing their
account
information
and
changes
the
passwords
for
the
security reasons.
Faculties
Module:
This
module
manages
the
information
itself
to
the
courses
subjects
on
manages
itself
details
and
which
to
he
to
which
he
is
being
deputed.
maintain
association
of
is
responsible
integration
their
The
with
marks
and
module
the
entry
the
also
faculties
into
the
Information
Module:
This
module
manages
the
module
also
infrastructure,
involves
faculties
in
maintaining
information,
the
Library
details
details
of
and
of
faculties,
library
catalogue,
issue
of
the
Administrator Module:
This module deals with administrative strategies of the organization, which
involve checking out the students registrations, their admission details, and
TESTING
Testing
Testing is the process of detecting errors. Testing performs a very critical
role for quality assurance and for ensuring the reliability of software. The
results of testing are used later on during maintenance also.
Psychology of Testing
The aim of testing is often to demonstrate that a program works by showing
that it has no errors. The basic purpose of testing phase is to detect the
errors that may be present in the program. Hence one should not start
testing with the intent of showing that a program works, but the intent
should be to show that a program doesnt work. Testing is the process of
executing a program with the intent of finding errors.
Testing Objectives
The main objective of testing is to uncover a host of errors, systematically
and with minimum effort and time. Stating formally, we can say,
successful
test
is
one
that
uncovers
an
as
yet
undiscovered error.
A good test case is one that has a high probability of finding
error, if it exists.
The tests are inadequate to detect possibly present errors.
The software more or less confirms to the quality and
reliable standards.
Levels of Testing
In order to uncover the errors present in different phases we have
the concept of levels of testing. The basic levels of testing are as
shown below
Client Needs
Requirements
Design
Acceptance
Testing
System Testing
Integration Testing
Unit Testing
Code
System Testing
The philosophy behind testing is to find errors. Test cases are devised with
this in mind. A strategy employed for system testing is code testing.
Code Testing:
This strategy examines the logic of the program. To follow this method we
developed some test data that resulted in executing every instruction in the
program and module i.e. every path is tested. Systems are not designed as
entire nor are they tested as single systems. To ensure that the coding is
perfect two types of testing is performed or for that matter is performed or
that matter is performed or for that matter is performed on all systems.
Types Of Testing
Unit Testing
Link Testing
Unit Testing
Unit testing focuses verification effort on the smallest unit of software
i.e.
the
module.
Using
the
detailed
design
and
the
process
Link Testing
Link testing does not test software but rather the integration of each
module in system. The primary concern is the compatibility of each
module. The Programmer tests where modules are designed with
different parameters, length, type etc.
Integration Testing
After the unit testing we have to perform integration testing. The goal
here is to see if modules can be integrated proprerly, the emphasis
being on testing interfaces between modules. This testing activity can
be considered as testing the design and hence the emphasis on
testing module interactions.
In this project integrating all the modules forms the main system.
When integrating all the modules I have checked whether the
integration effects working of any of the services by giving different
combinations of inputs with which the two services run perfectly
before Integration.
module level.
DATA FLOW
DIAGRAMS
Process
Data Store
Terminator
Department
Master
Java Source
Designation
Master
Validate Faculty ID
Java
Source
Java
Sourc
e
Check
For
Department
Verify
Data
Check
For
Verify
Data
1.3
1.2
Designation
Insert
Faculty Master
Subject Master
Course Master
Course_Sub
Master
Validate CourseID
Insert
New
SubjectID
Verify
Data
CourseID
Check
For
2.1
Verify
Data
Check
For
2.3
2.2
Subject
Course
SubjectID
Verify
Data
Insert
Course_Sub
Master
Course Master
Examination
Master
Validate
Insert
New
Exam ID
Verify
Data
3.1
Semester
Master
Exam ID
Check
For
Course
Verify
Data
Check
For
Verify
Data
3.3
3.2
Semester
Insert
Examination
Master
Examination
Master
Exam Time
Table
Validate ExamID
Insert
New
ExamID
SubjectID
Verify
Data
4.1
Subject Master
SubjectID
Check
For
Verify
Data
Check
For
Verify
Data
4.3
4.2
Subject
Exam
Insert
Exam Time
Table
DFD For New Fee Payment Details
Payment
Master Details
Validate PaymentID PaymentTypeID
Insert
New
Verify
Data
Check For
Verify
Data
PaymentID
PaymentTypeID
5.1
Fee Payment
5.2
Check
For
Verify
Data
5.3
Fee
Payment
TypeID
Insert
Exam Time
Table
Faculty Master
Faculty Course
Master
Validate FacultyID CourseID
Insert
New
FacultyID
CourseID
Verify
Data
6.1
Check For
Faculty
Verify
Data
Check
For
6.2
Course
CourseMaster
Verif
y
Data
6.3
Insert
Faculty Course
Master
DFD For New Faculty Subject Entry
Faculty Master
Faculty Course
Master
Validate FacultyID CourseID
Insert
New
Verify
Data
FacultyID
6.1
SubjectID
Check For
Faculty
Verify
Data
Check
For
6.2
Subject
Insert
Faculty Subject
Master
Subject Master
Verif
y
Data
6.3
Course Master
Student Master
Request for
Generate
StudentID()
Validate
Course ID()
Student
Registration
7.1
7.2
Semester Master
V al i d a t e
Semest
er ID
7.3
Commi
t
Updatio
n Of
Data
Student Master
DFD For Student Examination Registration
Student Master
Examination
Master
Request for
Generate
Exam ID()
Exam
Registration
8.1
Subject Master
V al i d a t e
Subject
ID
Validate
Student
ID()
8.2
8.3
Commi
t
Updatio
n Of
Data
Examinantion
Master
Subject Master
Faculty Master
Faculty Notes
Master
Request for
Generate
Notes ID()
Validate
Faculty ID()
Notes
Submission
9.1
9.2
V al i d a t e
Subject
ID
9.3
Commi
t
Updatio
n Of
Data
Faculty Notes
Master
DFD For Fee Payment
Fee Payment Master
Details
Faculty Notes
Master
Request for
Notes
Submission
Student Master
Generate
Fee
Payment
ID()
Validate
student
ID()
10.1
10.2
Generate
Fee Payment
ID()
10.3
Validate Fee
ID()
Commi
t
Updatio
n Of
Data
Faculty Notes
Master
10.2
Fee Master
DATA DICTIONARY
LIST OF TABLES
TABLE NAME
: ADMIN
NAME
TYPE
CONSTRAINT
USID
PWD
TEXT 20
TEXT 10
PRIMARY KEY
TABLE NAME
ADMIN_CORPORATE
NAME
TYPE
CONSTRAINT
CORPORATE_ID
NOTIFICATION_ID
NOTI_DATE
NOTI_LDATE
NOTIFICATION
TEXT 20
TEXT 20
DATE
DATE
TEXT 20
PRIMARY KEY
TABLE NAME
: BRANCH_MASTER
NAME
TYPE
CONSTRAINT
BRANCH_ID
BRANCH_NAME
BRANCH_DESC
COURSE_ID
TEXT
TEXT
TEXT
TEXT
PRIMARY KEY
FOREIGN KEY
TABLE NAME
CATALOG
NAME
TYPE
CONSTRAINT
BOOK_ID
BOOK_NAME
BOOK_AUTHOR
BOOK_EDITION
TEXT 10
TEXT 20
TEXT 20
TEXT 10
PRIMARY KEY
TABLE NAME
CORPORATE_LOGIN
NAME
TYPE
CONSTRAINT
CID
CUSER
PW_OLD
PW_NEW
TEXT
TEXT
TEXT
TEXT
FOREIGN KEY
TABLE NAME
CORPORATE_MASTER
NAME
TYPE
CORPORATE_ID
CORPORATE_NAME
CORPORATE_DESC
CORPORATE_WEBSITE
TABLE NAME
TEXT 20
TEXT 20
TEXT 10
TEXT 20
CONSTRAINT
PRIMARY KEY
:COURSE_MASTER
NAME
TYPE
CONSTRAINT
COURSE_ID
TEXT 10
PRIMARY KEY
COURSE_NAME
TEXT 20
COURSE_SHORT_NAME TEXT 5
COURSE_DESCRIPTION TEXT 20
COURSE_FEE
TEXT 10
TYPE
TEXT
TEXT
TEXT
CONSTRAINT
FOREIGN KEY
FOREIGN KEY
FOREIGN KEY
TABLE NAME:DEPARTMENT_MASTER
NAME
DEPARTMENT_ID
DEPARTMENT_NAME
DEPARTMENT_DESCRIPTION
TYPE
TEXT 8
TEXT 10
TEXT 20
CONSTRAINT
PRIMARY KEY
TABLE NAME:DESIGNATION_MASTER
NAME
DESIGNATION_ID
DESIGNATION_NAME
DESIGNATION_DESCRITION
TYPE
TEXT 10
TEXT 15
TEXT 20
CONSTRAINT
PRIMARY KEY
TABLE NAME:FACULTY_LOGIN
NAME
FACULTY_ID
TYPE
TEXT
CONSTRAINT
FOREIGN KEY
LOGIN_NAME
PW_OLD
PW_NEW
PW_CHANGED_DATE
TEXT
TEXT
TEXT
DATE
TABLE NAME:SEMISTER_MASTER
NAME
SEMISTER_ID
SEMISTER_TYPE
SEM_START_DATE
SEM_END_DATE
TYPE
TEXT 10
TEXT 10
DATE
DATE
CONSTRAINT
PRIMARY KEY
TABLE NAME:STUDENT_CERTIFICATES
NAME
STUDENT_ID
CERTIFICATES
APPLY_DATE
APPLY_STATUS
TYPE
TEXT
TEXT
DATE
TEXT
CONSTRAINT
FOREIGN KEY
TABLE NAME:FACULTY_MASTER
NAME
TYPE
CONSTRAINT
FACULTY_ID
PASSWORD
FIRSTNAME
LASTNAME
GENDER
ROLE
REM_QUESTION
REM_ANSWER
DOB
HOUSENO
STREET
CITY
STATE
COUNTRY
PINCODE
PHONENO
DEPARTMENT_ID
DESIGNATION_ID
JOINDATE
EMAIL
TEXT
TEXT
TEXT
TEXT
TEXT
TEXT
TEXT
TEXT
DATE
TEXT
TEXT
TEXT
TEXT
TEXT
NUMBER
NUMBER
TEXT
TEXT
DATE
TEXT
PRIMARY KEY
FOREIGN KEY
FOREIGN KEY
TABLE NAME:JOB_DETAILS
NAME
JOB_ID
JOB_NAME
JOB_QUALIFICATION
TYPE
TEXT
TEXT
TEXT
CONSTRAINT
PRIMARY KEY
NO_OF_VACANCIES
LAST_DATE
COMPANY_ID
NUMBER
DATE
TEXT
FOREIGN KEY
TABLE NAME:NOTIFICATION_MASTER
NAME
NOTIFICATION_ID
NOTI_DATE
NOTI_LDATE
NOTIFICATION
INDENDED_FOR
STATUS
TYPE
TEXT
DATE
DATE
TEXT
TEXT
TEXT
CONSTRAINT
PRIMARY KEY
TABLE NAME:STUDENT_LOGIN
NAME
STUDENT_ID
LOGIN_NAME
PW_OLD
PW_NEW
PW_CHANGED_DATE
TYPE
TEXT
TEXT
TEXT
TEXT
DATE
CONSTRAINT
FOREIGN KEY
TABLE NAME:STUDENT_MARKS
NAME
STUDENTID
STUDENTNAME
SUB1
SUB2
TYPE
TEXT
TEXT
NUMBER
NUMBER
CONSTRAINT
FOREIGN KEY
SUB3
SUB4
SUB5
NUMBER
NUMBER
NUMBER
TABLE NAME:STUDENT_MASTER
NAME
STUDENT_ID
PASSWORD
FIRSTNAME
LASTNAME
GENDER
ROLE
REM_QUESTION
REM_ANSWER
DOB
HOUSENO
STREET
CITY
STATE
COUNTRY
PINCODE
PHONENO
COURSE_ID
DATE_OF_ADMISSION
EMAIL
TYPE
TEXT
TEXT
TEXT
TEXT
TEXT
TEXT
TEXT
TEXT
DATE
TEXT
TEXT
TEXT
TEXT
TEXT
NUMBER
NUMBER
TEXT
DATE
TEXT
CONSTRAINT
PRIMARY KEY
FOREIGN KEY
TABLE NAME:STU_NOTIFICATION_MASTER
NAME
TYPE
NOTIFICATION_ID TEXT
NOTI_DATE
DATE
CONSTRAINT
PRIMARY KEY
NOTI_LDATE
NOTIFICATION
INDENDED_FOR
STATUS
DATE
TEXT
TEXT
TEXT
TABLE NAME:SUBJECT_MASTER
NAME
SUBJECT_ID
SUBJECT_NAME
SUBJECT_LONG_NAME
SUBJECT_DESCRIPTION
TYPE
TEXT 10
TEXT 10
TEXT 20
TEXT 20
CONSTRAINT
PRIMARY KEY
CODING
1.CourseMasterServlet.java
/*StudentLoginServlet.java*/
import conpack.Conn;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
res.setContentType("text/html");
if (action.equals("Insert"))
{
java.sql.Connection con=Conn.getCon();
java.sql.Statement st=con.createStatement();
String sss="insert into course_master
values('"+cid+"','"+cname+"','"+cshort+"','"+cdesc+"',"+cfee+")";
System.out.println(sss);
int c=st.executeUpdate(sss);
System.out.println("IIIIIIIIIIIIIIIII"+c);
if (c==1)
{
RequestDispatcher
rd=req.getRequestDispatcher("CourseInsertSuc.html");
rd.include(req,res);
}//if
else
{
RequestDispatcher
rd=req.getRequestDispatcher("AdminCourseMasterEntry.jsp");
rd.include(req,res);
out.println("<p><font color=\"#FF0000\">* Invalid
Operaion<br>* Try Once Again</font></p>");
return;
}
}
else
{
RequestDispatcher
rd=req.getRequestDispatcher("AdminCourseMasterEntry.jsp");
rd.include(req,res);
out.println("<p><font color=\"#FF0000\">* Invalid
Operation<br>* Try Once Again</font></p>");
return;
}
}
catch (Exception e)
{e.printStackTrace();
RequestDispatcher
rd=req.getRequestDispatcher("AdminCourseMasterEntry.jsp");
rd.include(req,res);
out.println("<p><font color=\"#FF0000\">* Invalid
Operation<br>* Try Once Again</font></p>");
return;
}
}
}
2. SubjectMasterServlet.java
/*StudentLoginServlet.java*/
import conpack.Conn;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
String
slname=req.getParameter("slname");
String sdes=req.getParameter("sdes");
String action=req.getParameter("action");
res.setContentType("text/html");
out.println(sid+"<br>");
out.println(sname+"<br>");
out.println(slname+"<br>");
out.println(action+"<br>");
if (action.equals("Insert"))
{
java.sql.Connection
con=Conn.getCon();
java.sql.Statement
st=con.createStatement();
String sss="insert into
subject_master
values('"+sid+"','"+sname+"','"+slname+"','"+sdes+"')"
;
System.out.println(sss);
int c=st.executeUpdate(sss);
System.out.println("IIIIIIIIIIIIIIIII"+c);
//con.close();st.close();
if (c==1)
{
RequestDispatcher
rd=req.getRequestDispatcher("SubjectInsertSuc.html");
rd.include(req,res);
}//if
else
{
RequestDispatcher
rd=req.getRequestDispatcher("AdminSubjectMasterEntry
.jsp");
rd.include(req,res);
out.println("<p><font
color=\"#FF0000\">* Invalid Operaion<br>* Try Once
Again</font></p>");
return;
}
}
else
{
RequestDispatcher
rd=req.getRequestDispatcher("/AdminSubjectMasterEntr
y.jsp");
rd.include(req,res);
out.println("<p><font
color=\"#FF0000\">* Invalid Operation<br>* Try Once
Again</font></p>");
return;
}
catch (Exception e)
{e.printStackTrace();
RequestDispatcher
rd=req.getRequestDispatcher("/AdminSubjectMasterEntr
y.jsp");
rd.include(req,res);
out.println("<p><font
color=\"#FF0000\">* Invalid Operation<br>* Try Once
Again</font></p>");
return;
}
}
}
FORMS AND
REPORTS
1.Homepage
2.Login Page
3.Student Page
11.Course
12.Course Deatils
15.Subject Details
19.About Us
20.About College
21.Infrastructure
22.Courses
23.Faculty
24.Library
25.Corporate Login
27.Job Details
28.Company Profile
29.Student Details
30.Student Login
31.Student Information
32.Certificates Application
33.MarkList
34.Job Information
36.Faculty Profile
37.Student Details
FUTURE SCOPE
FUTURE UPGRADES:
This system can be upgraded in the future. The Future system will
be connected to online and perform all the transactions directly from the
Main System database which facilitates the full control to the authorities
over the sub systems. All the Transactions performed everywhere can be
easily known from the main System.
User Manual
The entire application has been designed using Ms-access as back end and
using the graphical features of HTML and dynamism through the JSP
provides the front end user interface.
SUMMARY CONCLUSION:
So it can operate
BIBLIOGRAPHY