Professional Documents
Culture Documents
BCSL-057 Solved Assignment 2015-16 PDF
BCSL-057 Solved Assignment 2015-16 PDF
Html Files
Home.html
<html>
<head>
</head>
<body>
<table width="100%">
<tr>
<td colspan="2" class="top"><span><img src="image\logo1.png"><span> CUSTOMER PAID
BANK LTD.<span style="font-size:20px;padding:5px 45px">[Uttam Nagar]</span></td>
</tr>
<tr>
<td class="left">
<div id="nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</div>
</td>
<td class="right">
<h1> About Our Bank</h1> <p>Customer Paid Bank(CPB) is a public sector banking company
headquartered in Mangalore, India. The bank has pan-India presence with 8,000 functional units
comprising 3200 branches, 3200+ ATMs and 4,000 branchless banking units as of 30 January
2015.</td>
</tr>
<tr>
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
<td class="bottom">Don't disclose your PIN/Password to any one. Bank is not responsible for
online transactions going wrong.PLEASE NOTE THAT OUR BANK NEVER ASKS FOR
SUCH DETAILS AT ANY TIME.BEWARE OF FAKE MOBILE CALLS FROM PERSONS
PRETENDING TO BE FROM OUR BANK
<br>[ Last Update on 29th Aug, 2015 ]</td>
</tr> PIXELES Classes
</table> Page | 2
</body>
Service.html
<html>
<head>
</head>
<body>
<table width="100%">
<tr>
<td colspan="2" class="top"><span><img src="image\logo1.png"><span> CUSTOMER PAID
BANK LTD.<span style="font-size:20px;padding:5px 45px">[Uttam Nagar]</span></td>
</tr>
<tr>
<td class="left">
<div id="nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</div>
</td>
<td class="right">
<h1> Our Services</h1> <p>
<ol>
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
<li>E-payments
<li>Depositary Services
<li>Bills and Shopping
</td>
</tr>
<tr> PIXELES Classes
<td class="bottom">Don't disclose your PIN/Password to any one. Bank is not responsible for Page | 3
online transactions going wrong.PLEASE NOTE THAT OUR BANK NEVER ASKS FOR
SUCH DETAILS AT ANY TIME.BEWARE OF FAKE MOBILE CALLS FROM PERSONS
PRETENDING TO BE FROM OUR BANK
<br>[ Last Update on 29th Aug, 2015 ]</td>
</tr>
</table>
</body>
Branch.html
<html>
<head>
</head>
<body>
<table width="100%">
<tr>
<td colspan="2" class="top"><span><img src="image\logo1.png"><span> CUSTOMER PAID
BANK LTD.<span style="font-size:20px;padding:5px 45px">[Uttam Nagar]</span></td>
</tr>
<tr>
<td class="left">
<div id="nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</div>
</td>
<td class="right">
<h1> Locate Branch</h1>
<form action="search">
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
<p>Enter Branch Name:<input type="text" name="bname"/><br/>
<p><input type="submit" value="Search"/>
</form>
</head>
<body>
<table width="100%">
<tr>
<td colspan="2" class="top"><span><img src="image\logo1.png"><span> CUSTOMER PAID
BANK LTD.<span style="font-size:20px;padding:5px 45px">[Uttam Nagar]</span></td>
</tr>
<tr>
<td class="left">
<div id="nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</div>
</td>
<td class="right">
<h1> Register Your Complain</h1>
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
</pre>
</td>
</tr>
<tr>
<td class="bottom">Don't disclose your PIN/Password to any one. Bank is not responsible for
online transactions going wrong.PLEASE NOTE THAT OUR BANK NEVER ASKS FOR
SUCH DETAILS AT ANY TIME.BEWARE OF FAKE MOBILE CALLS FROM PERSONS
PRETENDING TO BE FROM OUR BANK
<br>[ Last Update on 29th Aug, 2015 ]</td>
</tr>
</table>
</body>
Feedback.html
<html>
<head>
var i,y;
var x=f1.acno.value
for(i=0;i<x.length;i++)
{
if(x.charAt(i)>="0" && x.charAt(i)<="9")
y=0
else
y=1;
}
if(y==1)
{
alert("invalid Account");
f1.acno.value=""
f1.acno.focus();
}
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
</script>
</head>
<body>
<table width="100%"> PIXELES Classes
<tr> Page | 6
<td colspan="2" class="top"><span><img src="image\logo1.png"><span> CUSTOMER PAID
BANK LTD.<span style="font-size:20px;padding:5px 45px">[Uttam Nagar]</span></td>
</tr>
<tr>
<td class="left">
<div id="nav">
<ul>
<li><a href="home.html">Home</a></li>
<li><a href="feedback.html">Feedback</a></li>
</ul>
</div>
</td>
<td class="right">
<h1> Register Your Complain</h1>
</pre>
</td>
</tr>
<tr>
<td class="bottom">Don't disclose your PIN/Password to any one. Bank is not responsible for
online transactions going wrong.PLEASE NOTE THAT OUR BANK NEVER ASKS FOR
SUCH DETAILS AT ANY TIME.BEWARE OF FAKE MOBILE CALLS FROM PERSONS
PRETENDING TO BE FROM OUR BANK
<br>[ Last Update on 29th Aug, 2015 ]</td>
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
</tr>
</table>
</body>
<html>
Database Coding in Servlet
Search.java PIXELES Classes
import java.io.*; Page | 7
import java.sql.*;
import javax.servlet.ServletException;
import javax.servlet.http.*;
response.setContentType("text/html");
PrintWriter out = response.getWriter();
String bname=request.getParameter("bname");
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection
con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","system","yyyy");
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
import javax.servlet.http.*;
String x=request.getParameter("acno");
String y=request.getParameter("cname");
String z=request.getParameter("bname");
String p=request.getParameter("complain");
try
{
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con =
DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","system","yyyy");
//Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
//Connection con=DriverManager.getConnection("jdbc:odbc:pixdata");
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
}
h1 {
color: maroon;
margin-left: 40px;
}
PIXELES Classes
ol li,p { Page | 9
color: black;
margin-left: 60px;
font-size:15pt;
}
.left
{
padding: 5 5 5 5;
width:200px;
position:relative;
left:3;
background-color:#220F21;
display: block;
float: left;
height:400px;
}
.right
{
padding: 5 5 5 5;
width:70%;
position:relative;
left:3pt;
background-color:#FFFFFF;
display: block;
float: left;
}
.bottom{
padding: 1% 100;
background:top repeat-x #f0fF00;
border-bottom: solid 1px #001C32;
font-size:15pt;
color:#FF0066;
font-weight:bold;
text-align:center;
}
#nav {
font-family: verdana;
font-weight: bold;
font-size: 12pt;
text-align:center;
position:relative;
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
left:0px;
}
#myspan { We are teaching IGNOU’s BCA & MCA Students
font-family: verdana; PIXELES Classes
font-weight: bold; Page | 10
Why join us?
font-size: 12pt;
text-align:center;
Regular Classes
position:relative;
left:0px; BCA & MCA IGNOU Special Institute
#nav a {
display: block;
padding: 6px 8px;
}
#nav li {
float: down;
background-color:#FF0066;
margin-bottom:3px;
www.pixelesindia.com
PIXELES CLASSES BCA & MCA (IGNOU)
position: relative;
width: 200px;
}
www.pixelesindia.com