Professional Documents
Culture Documents
INTRODUCTION
1.1 Introduction
The Project INTERNAL MESSAGING SERVICE is aimed to develop online
messaging application for a group of friends or members of the website. This
system is an online application that can be accessed from anywhere anytime with
proper login provided. This system can be used as an application to interact with
other members of the website and to make new friends .The member login
should be able to view message sent to them, compose message and also allow
them to update their information.
2) With this proposed system the members can interact with each
other
3) With this application you can make new friend and can interact with
them
5) With the system the present members and new members can send
message to each other and reply each other
3.1 Introduction
All projects are feasible given unlimited resources and infinite time!
Unfortunately, the development of computer-based system or product is more
likely plagued by a scarcity of resources and difficult delivery dates. It is both
necessary and prudent to evaluate the feasibility of a project at the earliest
possible time. Months or years of effort, thousands or millions of dollars, and
untold professional embarrassment can be averted if an ill-conceived system is
recognized early in the definition phase.
Economical feasibility
Technical feasibility
Operational feasibility
4.1 Introduction
System analysis is an important activity that takes place when we are
building a new information system or changing existing ones, analysis is used to
gain an understanding of an existing system and what is required of it. At the
conclusion of analysis, there is system description and set of requirements for a
new system. If there is no existing system, the analysis defines only the
requirements.
System models are used to gain precision and to avoid the ambiguities
often found in the natural language system descriptions modeling techniques
used in the system analysis avoids ambiguity by using precise modeling
constructors and process descriptions. They also assist analysts to define precisely
the requirement of the new system. Software tools that help analyst in their work
now often support system analysis. These tolls are the models developed during
analysis and some convert these models to trail designs.
This phase is detailed appraisal of the existing system. The appraisal includes
finding how the system works and what it does. It also includes systems
problems and what the end-users required for any new or changed system. After
this phase, analyst should be familiar with both the detailed operation of the
system and what is required of the new system.
Form users it is to find out the existing system activities and to develop the users
objectives and requirements . a system analyst must spend a lot of time talking
to users and finding how they use the system, Any problem they find with the
system and what they expect from it.
Thus a rule, system analysis is a difficult but rewarding job. There are many
constraints to be compiled within this work and many people to satisfy. But there
is the reward of seeing of a new system does its job perfectly.
Process Models
Incremental model
The incremental model combines elements of the waterfall model applied in an
iterative fashion. The incremental process model, like prototyping and other
evolutionary approaches, is iterative in nature. But unlike prototyping, the
incremental model focuses on the delivery of an operational product with each
increment.
CONSTRUCTION
DEPLOYMENT
RAD Model
Rapid Application Development (RAD) is an incremental software process
model that emphasizes a short development cycle. RAD model is a high speed
adaption of the waterfall model, in which rapid development is achieved by using
a component based construction approach. If requirements are well understood
and project scope is constrained, the RAD process enables a development team to
create a fully functional system with in a very short period.
Diagram:
Modeling
Communicaion
construction
Team #n
Planning deployment
Modeling
Construction
Team #2
Modeling
construction
Team #1
At first a set of primary components are identified for ERD i.e. Data objects,
Attributes relationships and various type indicators .Data objects are represented
by labeled rectangles. Relationships are indicated with labeled lines connecting
objects. connectors between data objects and relationships are established
using a variety of special symbols that indicate cardinality and modality . ERD
notation also provides a mechanism that represents the association between
objects. Data modeling and the entity- relationship diagram provides the analyst
with a concise notation for examining data with in the context of data processing
application.
The ER Diagram for the overall proposed system is given in the figures.
SRegister
ans
fname
Ques.
ion
lname pass
id
pwd email word
Account
chpas
inbox comps
ss
ee
The data flow diagram (DFD) is one the most important modeling tools. It is
used to model the system components. These components are the system
process, the data used by the process, an external entity that interacts with the
system and the information flows in the system.
DFD shows how the information moves through the system and how it is
modified by a series of transformations. It is a graphical technique that depicts
information flow and those transformations that are applied as data moves from
input to output.
A level 1 DFD, also called as top-level DFD, represent the system with major
modules and data stores. The other levels will show each module in the top-level
DFD in a more detailed fashion.
Notation:
Registration
Login
Internal messaging
service
Visitors Contact
Inbox
compose
Member Account
change
password
4.5 Data Dictionary
A data dictionary is a catalog- a repository- of the element in the system. As
the name suggests, these elements center on data and the way they are
structured to meet user requirements and organization needs. A data dictionary is
a collection of data about data. The basic idea to provide information on the
definition, structure and the user of the element an organization uses. The data
element is a unit of data that cant be decomposed .
login:
id Varchar2(15)
Pwd Varchar2(15)
Registration:
Regid Number
Fname Varchar2(15)
Lname Varchar2(15)
Id Varchar2(15)
Pwd Varchar2(15)
email Varchar2(15)
question Number(15)
answer Varchar2(15)
5.System Design
Design is the first step in the development phase for any engineering
product (or) system. It may be defined as the process of applying various
techniques and principles for the purpose of defining a device, a process, or a
system insufficient detail to permit its physical realization.
A level that can be directly translated to specific data, functional and behavioral
requirements.
In the design step, the element of the analysis model gets converted
into a data design, and architectural design , an interface design and a
procedural design.
Verifiability.
Completeness.
Consistency.
Trace ability.
Simplicity/understandability.
5.2Design principles
Basic design principles that enable the software engineer to
navigate the design process are.
To reduce redundancy.
To arrive at loss-less join.
To reduce the time as compared to the present system.
To reduce the number of errors.
5.4 Normalization:
Normalization of relation schema is done to eliminate insertion and
deletion anomalies that exist in database..
All the database tables like Login , order _Entry etc., used in the project
have atomic values.
For Example the Login table consists of uname and pwd attributes and all
the attributes are atomic values.
In the above table all the fields contain atomic values as no field has more
than one value . so form the example it is clear that all underlying domains
contain atomic values. So the first normal form is satisfied.
6.SystemTesting
6.1 Introduction
System testing is a critical element of software quality assurance
and represents the ultimate review of specification, design and coding . software
testing fundamentals define the overriding objectives for software testing.
Testing is one of the steps in the software engineering process that could be
viewed (psychologically, at least) as destructive rather than constructive.
White-box tests focus on the program control structures. Test cases are
derived to ensure that all statement in the program has been executed at least
once during testing and that all logical conditions have been exercised.
White box testing is a test case design methods that uses the control
structure of the procedural design to design to derive test cases.
Interface errors.
In white-box testing, test cases are performing early n the testing processes
where as in black-box testing process. It is applied during later stages of testing
as the attention is focused on the information domain.
Modules.
The module interface is tested to ensure that information properly flows into
and out of the program unit under test . the local data structure is examined
to ensure that data stored temporarily maintains its integrity during all s steps in
an algorithms execution .Boundary conditions are tested to ensure that the
module operates properly at boundaries established to limit or restrict
processing. All independent paths through the control structure are exercised to
ensure that all statements in a module have been executed at least once. And
finally, all error-handling paths are tested.
7.1 Introduction:
Direct Conversion
Parallel Conversion
Pilot conversion
Phased Conversion
7.2 Hardware Environment
CPU : Pentium 5 1.7 Hz
RAM : 512 MB or more
Hard disk : 80 GB or more
If you were to choose just one language to learn today, it should be java.
Its being pushed aggressively by sun and is growing by leaps and bounds.
there are lots of java programmers out there and more join the party every
day.
Java started out as a bit of an accident. A team under Bill Joy was
working at sun on a new programming language for embedded applications.
Java was originally expected to work in toasters and fridges, not on modern
computers! the initial prognosis for java was not good and it was only the
rise of the internet which saved java from oblivion. Since then, neither the
Net nor Sun nor java has looked back and all have grown from strength to
strength.
Java Environment
Java environment includes a large number of tools which are part of
the system known as java development kit(JDK) and hundreds of classes,
methods, and interfaces grouped onto packages forms part of java standard
library(JSL);
Java Architecture
Paradigm of java
Template Date
The JSP technology allows the addition of dynamic data to the template
data in away that is sample yet powerful.
Encapsulation of Functionality
The JSP technology has features that enable the creation of good
authoring tools. The result is a flexible and powerful server-side technology.
Separation of Roles
The java Server pages technology enables the separation of static content
form dynamic content that is inserted into the static template.
In addition, some advanced features that are easily separable from the core
JDBC API, such as connection pooling and row sets, have also been added to
javax.sql. putting these advanced facilities into an optional package instead of
into core will help keep the core JDBC API small and focused. Since optional
packages are downloadable, it will always be possible to deploy an application
which uses the features in the JDBC optional package that will run any-
where, since if an optional package isnt installed on a client machine, it can be
downloaded along with the application that uses it.
Overview of Features:
The JDBC 1.0 API provided result sets that had the ability to scroll
in a forward directionally. Scrollable result sets allow for more flexibility
in the processing of results by providing both forward and backward
movement through their contents. In addition, scrollable result sets
allow for relative and absolute positioning. For example, it is possible
to move to the fourth row in a scrollable result set directly, or to move
directly to the third row following the current row, provided the row
exists. The JDBC API allows result sets to be directly updatable, as well.
Batch updates :
Row sets :
Support for character streams has been added. This means that
character data can be retrieved and sent to the database as a stream
of internationalized Unicode characters.
9. Conclusion:
Application software System has been developed to case out the problems
faced in the present system. The system described in this book have designed,
tested and documented to same greater extent. This package is expected to prove
to be very useful .
results are found to be in satisfaction. The system is user friendly are and easy to
use prescribed by the standards have been followed in designing the input
their jobs. If any changes have to be done to the system then they can be easily
achieved by making changes to the functions and they wont affect the remaining
1.Home
2. Register
3. Login
4. Inbox
5. Compose
6. Change password
7. Logout
8. Feedback
Coding
#abc.jsp
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript">
function check()
var chk=true;
var str;
str=document.getElementById("t").value;
if(str=="")
document.getElementById("errt").style.visibility="visible";
chk=false;
}
else
document.getElementById("errt").style.visibility="hidden";
if(chk==true)
chk=true;
str=document.getElementById("v").value;
if(str=="")
document.getElementById("errv").style.visibility="visible";
chk=false;
else
document.getElementById("errv").style.visibility="hidden";
if(chk==true)
chk=true;
str=document.getElementById("e").value;
var pattern=/^[a-zA-Z0-9]+@[a-zA-z]+\.[a-zA-Z]{3,4}$/;
if(pattern.test(str))
document.getElementById("err_e").style.visibility="hidden";
if(chk==true)
chk=true;
else
document.getElementById("err_e").style.visibility="visible";
chk=false;
str=document.getElementById("p").value;
if(str=="")
document.getElementById("err_p").style.visibility="visible";
chk=false;
else
document.getElementById("err_p").style.visibility="hidden";
if(chk==true)
chk=true;
return chk;
</script>
</head>
<body>
<div id="header">
<div id="logo">
</div>
</div>
<div id="menu">
<ul>
<li <% if(x==1){out.print("class=current_page_item");} %>><a
href="index.jsp">Home</a></li>
<%
if(session.getAttribute("un")!=null)
{ %>
<a href="logout.jsp">Logout</a>
<%}
else
{ %>
<a href="login.jsp">Login</a>
<%}
%>
</li>
href="about.jsp">About Us</a></li>
href="feedback.jsp">Feedback</a></li>
href="contact.jsp">Contact Us</a></li>
</ul>
</div>
#about.jsp
<%
int x=3;
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<p class="byline"> </p>
<div class="entry">
can contact with a friend, ping a colleague all without leaving your inbox.<br><br>
</p>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374",
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object>
<p>This is the premier portal to stay connected with your friends. you can make new
<!-- <ul>
<li>
<h2>Categories</h2>
<ul>
</ul>
</li>
</ul> -->
</div>
#compose.jsp
<%
String usr="";
if(request.getParameter("subLogin")!=null)
{
usr= String.valueOf(session.getAttribute("un"));
out.println(usr);String t=request.getParameter("t");
String s=request.getParameter("s");
String m=request.getParameter("m");
session.getAttribute("u");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
Statement z=con.createStatement();
ResultSet rs ;
con.close();
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<p class="byline"> </p>
<div class="entry">
<%
if(session.getAttribute("un")!=null)
usr= String.valueOf(session.getAttribute("un"));
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
ResultSet rs=ps.executeQuery();
%>
<fieldset><table>
<% while(rs.next())
{%>
<option><%=rs.getString("username") %></option>
<% } %>
one)</span></td>
</table>
</fieldset>
</form>
<% con.close();}
else
out.println("access denied");
%>
<br><br>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<%if(session.getAttribute("un")!=null)
{%>
<ul>
<li>
<h2>Services</h2>
<ul>
<a href="inbox.jsp">Inbox</a><br><br>
<a href="compose.jsp">Compose</a><br><br>
<%} %>
</ul>
</li>
</ul>
<object>
</div>
<!--
<div class="title">
<p>
<%
if(session.getAttribute("un")!=null)
{%>
<h2>Compose</h2>
</div></div>
<% }
else
out.println("access denied");
}
%>
</p>
-->
#Contact.jsp
<%
int x=5;
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<p class="byline"> </p>
<div class="entry">
<p>
Email :- admin@ims.com<br>
Phone no. :- +91-000 000 00<br><br>
</p>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374",
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object>
<p>This is the premier portal to stay connected with your friends. you can make new
<!-- <ul>
<li>
<h2>Categories</h2>
<ul>
</ul>
</li>
</ul> -->
</div>
<!--
<div class="title">
<h2>CONTACT<strong>US</strong></h2>
</div>
<div id="content">
<div class="title">
<h2>CONTACT @ IMS</h2>
Email :- admin@ims.com<br><br><br>
-->
#cp.jsp
<%
if(request.getParameter("sub")!=null)
String k=String.valueOf(session.getAttribute("un"));
String a=request.getParameter("a");
String b=request.getParameter("b");
String c=request.getParameter("c");
Statement st = null;
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password"
);
st=con.createStatement();
if(b.equals(c))
st = con.createStatement();
st.close();
con.close();
else{
%>
<%@ include file="abc.jsp" %>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<p class="byline"> </p>
<div class="entry">
<%
if(session.getAttribute("un")!=null)
{%>
<fieldset>
<legend>change password</legend>
name="a"></td></tr>
name="b"></td></tr>
<tr><td>Conform Password :</td><td> <input type="password"
name="c"></td></tr>
</table>
</fieldset>
</form>
<%}
else
out.println("access denied");
%>
<br><br>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object>
<%if(session.getAttribute("un")!=null)
{%>
<ul>
<li>
<h2>Services</h2>
<ul>
<a href="inbox.jsp">Inbox</a><br><br>
<a href="compose.jsp">Compose</a><br><br>
<%} %>
</ul>
</li>
</ul>
</div>
#default.css
/*
http://www.freecsstemplates.org
*/
body {
margin: 0;
padding: 0;
font-size: 13px;
color: #666666;
}
p, ol, ul {
line-height: 170%;
a:hover {
text-decoration: none;
/* Header */
#header {
width: 960px;
height: 120px;
margin: 0 auto;
#logo {
float: left;
height: 120px;
margin-left: 10px;
text-transform: lowercase;
#logo h1 {
margin: 0;
letter-spacing: -2px;
font-size: 3em;
font-weight: normal;
color: #000000;
#logo h1 a {
color: #000000;
#logo p {
text-transform: lowercase;
#search {
float: right;
width: 280px;
#search form {
margin: 0;
padding: 63px 0 0 0;
#search fieldset {
margin: 0;
padding: 0;
border: none;
#search #s {
width: 188px;
#search #x {
width: 67px;
height: 28px;
padding: 0;
border: none;
text-transform: lowercase;
color: #FFFFFF;
}
/* Menu */
#menu {
width: 962px;
height: 50px;
margin: 0 auto;
#menu ul {
margin: 0;
padding: 0;
list-style: none;
#menu li {
display: block;
float: left;
#menu a {
display: block;
float: left;
height: 38px;
text-decoration: none;
text-transform: lowercase;
color: #000000;
#menu a:hover {
text-decoration: underline;
#menu .current_page_item {
#menu .current_page_item a {
font-weight: bold;
}
/* Page */
#page {
width: 962px;
margin: 0 auto;
/* Content */
#content {
float: right;
width: 700px;
#content a {
color: #FF8900;
}
.pagetitle {
height: 33px;
margin: 0;
font-size: 1.4em;
color: #FFFFFF;
#content #rss-posts {
display: block;
padding: 0 20px 0 0;
text-align: right;
font-weight: bold;
color: #FFFFFF;
.post {
.title {
margin: 0;
font-size: 2.4em;
font-weight: normal;
.byline {
margin: 0 0 20px 0;
.meta {
text-align: right;
padding-left: 15px;
}
/* Sidebar */
#sidebar {
float: left;
width: 230px;
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
#sidebar li {
margin-bottom: 20px;
#sidebar li ul {
padding: 10px 15px;
#sidebar li li {
margin: 0;
padding-left: 15px;
#sidebar h2 {
height: 33px;
margin: 0;
font-size: 1.4em;
color: #FFFFFF;
#sidebar a {
text-decoration: none;
color: #0065FF;
}
#sidebar a:hover {
text-decoration: underline;
/* Footer */
#footer {
width: 962px;
margin: 0 auto;
padding: 30px 0;
#footer p {
margin: 0;
text-align: center;
color: #FFFFFF;
#footer a {
color: #FFFFFF;
#feedback.jsp
<%
int x=4;
if(request.getParameter("sub")!=null)
String n=request.getParameter("n");
String e=request.getParameter("e");
String c=request.getParameter("c");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
Statement z=con.createStatement();
ResultSet rs ;
values('"+n+"','"+e+"','"+c+"')");
con.close();
}
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<h2 class="title">Feedback</h2>
<p class="byline"> </p>
<div class="entry">
hear.</p><br><br>
<fieldset><table><tr>
name="e"></td></tr>
height="300" width="200"></td></tr>
<tr><td> </td><td><input type="submit" value="Submit"
name="sub" /></td></tr>
/></td></tr>
</table>
</fieldset>
</form>
<br><br><br><br>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object>
</div>
#forget.jsp
#inbox.jsp
<%
int x=99;
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<h2><strong>INBOX</strong></h2>
<p class="byline"> </p>
<div class="entry">
<%
if(session.getAttribute("un")!=null)
String k=String.valueOf(session.getAttribute("un"));
Class.forName("com.mysql.jdbc.Driver");
Connection con=
DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
rec='"+k+"'");
ResultSet rs=ps.executeQuery();
out.print("<tr><td>Sno</td><th>Subject</td><td>Sender</td></tr>");
while(rs.next()){
out.print("<tr>");
out.print("<td>");
out.print("<a href='show.jsp?p="+rs.getString(1)+"'>" +
rs.getString(4) + "</a>");
out.print("</td>");
out.print("</tr>");
out.print("</table>");
out.print("<table align='right'width='40%'>");
out.print("</table>");
else
out.println("access denied");
%>
<br><br>
<head>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<%if(session.getAttribute("un")!=null)
{%>
<ul>
<li>
<h2>Services</h2>
<ul>
<a href="inbox.jsp">Inbox</a><br><br>
<a href="compose.jsp">Compose</a><br><br>
<%} %>
</ul>
</li>
</ul>
<object>
</object>
</div>
# index.jsp
<%
int x=1;
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<p class="byline"> </p>
<div class="entry">
send message internally . Experience the ease and simplicity of IMS, everywhere you go.</p>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object><br><br>
<p>This is the premier portal to stay connected with your friends. you can make new
</div>
# login.jsp
int x=2;
if(request.getParameter("subLogin")!=null)
String user=request.getParameter("u");
String pass=request.getParameter("p");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
Statement s=con.createStatement();
if(rs.next())
session.setAttribute("un", user);
con.close();
%>
<%@ include file="abc.jsp" %>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<h2 class="title">LOGIN</h2>
<p class="byline"> </p>
<div class="entry">
<%
if(session.getAttribute("un")==null)
{%>
<fieldset><legend>GET IN</legend>
<table>
check()"/></td><td>
<input type="reset" value="clear" /></td></tr>
</table>
</fieldset>
</form>
<%}
else
%>
<br><br>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<%if(session.getAttribute("un")!=null)
{%>
<ul>
<li>
<h2>Services</h2>
<ul>
<a href="inbox.jsp">Inbox</a><br><br>
<a href="compose.jsp">Compose</a><br><br>
<%} %>
</ul>
</li>
</ul>
<object>
</object>
</div>
<%
int x=2;
if(session.getAttribute("un")!=null)
session.removeAttribute("un");
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<h2 class="title">LOGOUT</h2>
<p class="byline"> </p>
<div class="entry">
<div>
<p>
</p>
</div>
<br><br>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
swfobject.embedSWF("3DBannerFX.swf", "Div3DBannerFX", "600", "374",
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object>
<p>This is the premier portal to stay connected with your friends. you can make new
</div>
<%
int flag=99;
if(request.getParameter("sub")!=null)
String user=request.getParameter("u").trim();
if(user.equals(""))
flag=0;
else
String v=request.getParameter("v");
String w=request.getParameter("w");
String e=request.getParameter("e");
String p=request.getParameter("p");
String q=request.getParameter("q");
String s=request.getParameter("s");
String a=request.getParameter("a");
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
Statement z=con.createStatement();
ResultSet rs ;
values('"+user+"','"+v+"','"+w+"','"+e+"','"+p+"','"+q+"','"+s+"','"+a+"')");
con.close();
flag=1;
%>
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<h2 class="title">REGISTER</h2>
<p class="byline"> </p>
<div class="entry">
<%
if(flag==0)
if(flag==99 || flag==0)
{%>
<fieldset>
<legend>Registration Form</legend>
<table> <tr>
style="color:red;visibility: hidden;">*(required)</span></td></tr>
<tr><td>LAST NAME :</td><td><input type="text" name="w"></td></tr>
hidden;">*(required)</span></td></tr>
?</option>
</select></td></tr>
</table></fieldset>
</form>
<% }
else if(flag==1)
{
%>
</div>
</div>
</div>
<div id="sidebar">
<object>
</object>
</div>
#show.jsp
<div id="page">
<div id="content">
<h1 class="pagetitle">IMS</h1>
<div class="post">
<h2><strong>Your Message</strong></h2>
<p class="byline"> </p>
<div class="entry">
<%
if(session.getAttribute("un")!=null)
String k=request.getParameter("p");
Class.forName("com.mysql.jdbc.Driver");
Connection con=
DriverManager.getConnection("jdbc:mysql://localhost/aero?user=root&password");
sno='"+k+"'");
ResultSet rs=ps.executeQuery();
while(rs.next()){
%>
<table>
<tr>
</tr>
<tr>
</tr>
<tr>
<td>MESSAGE:</td><td><p><%=rs.getString(5) %></p></td>
</tr>
<tr>
<td><a href="compose.jsp">reply</a></td>
</tr>
</table>
<%}
else
out.println("access denied");
%>
<br><br>
<head>
<title>3DBannerFX</title>
</head>
<body>
<div id="Div3DBannerFX"></div>
<script type="text/javascript">
params.base = "";
params.scale = "noscale";
params.salign = "tl";
params.wmode = "transparent";
params.allowFullScreen = "true";
params.allowScriptAccess = "always";
</script>
</body>
</div>
</div>
</div>
<div id="sidebar">
<%if(session.getAttribute("un")!=null)
{%>
<ul>
<li>
<h2>Services</h2>
<ul>
<a href="inbox.jsp">Inbox</a><br><br>
<a href="compose.jsp">Compose</a><br><br>
<%} %>
</ul>
</li>
</ul>
<object>
</object>
</div>
#xyz.jsp
</div>
<div id="footer">
</div>
</body>
</html>
BIBLIOGRAPHY
1. Bruce Eckel
Prentice Hall.
2. Herbert Schidi.
3. Pressman R S, 2001