96
NH#2, CHAUMUHAN, MATHURA A Final Year Project On ONLINE FIR SYSTEM ONLINE FIR SYSTEM Submitted In Partial Requirement for the degree Of B.Tech. 4 th year (IT) Based On ‘Java Programming Language’ Session : 2010-2011 [Team Size - 4] Project Head: ► Mr. RAVINDRA SINGH [Lecturer in IT Dept., IEM] Under Guidance: Submitted By: ► Mr PANKAJ SAINI ROHIT KUMAR SINGH [Lecturer in IT Dept., IEM] 0728913040 [Team Leader] 1

Project Report. of Online Tender in ASP.net

Embed Size (px)

DESCRIPTION

Complete Project documentation of online tender in asp.net...

Citation preview

Page 1: Project Report. of Online Tender in ASP.net

NH#2, CHAUMUHAN, MATHURA

A Final Year Project

On

ONLINE FIR SYSTEMONLINE FIR SYSTEM

Submitted In Partial Requirement for the degree Of B.Tech.4th year (IT)

Based On‘Java Programming Language’

Session : 2010-2011

[Team Size - 4]

Project Head:► Mr. RAVINDRA SINGH

[Lecturer in IT Dept., IEM]

Under Guidance: Submitted By: ► Mr PANKAJ SAINI ► ROHIT KUMAR SINGH [Lecturer in IT Dept., IEM] 0728913040 [Team Leader]► Er.RAM AVTAR MAURYA ► SHOBHIT SHUKLA [Software developer in Infosys., Candigarh] 0728913047 [Member]

► UTKARSH SHUKLA 0728913056 [Member]

►PUSHPENDRA CHATURVEDI 0728913037 [Member]

1

Page 2: Project Report. of Online Tender in ASP.net

Acknowledgement

We take this opportunity to thank our teachers and friends who helped us throughout the project.

First and foremost I would like to thank our guide for the project Mr. Pankaj Saini (Lecturer, IT Department) for his valuable advice and time during development of project.

We would also like to thank Mr.Ravindra Singh, IT for his constant support during the development of the project.

Rohit Kumar Singh Shobhit Shukla Utkarsh Shukla Pushpendra

0728913040 0728913047 0728913040 0728913037

Signature Signature Signature Signature

2

Page 3: Project Report. of Online Tender in ASP.net

Abstract

FIR is the information recorded by the police officer on duty, given either by the aggrieved person or any other person about the commission of an alleged offence. On the basis of the FIR the police commences its investigation.

One of the often-heard complaints in India, is that the police, in many cases , do not register the complaint from the general public, for reasons known only to them, under pressure from someplace, or because of some technicalities. Everyday one sees a few dozen cases in the newspaper.

Legally, any person can file the first information report, and need not even have first-hand knowledge of the incidence.

The project will actually function to the benefit of the people, many of them still not prepared to visit the police stations. They can use the facility from their homes to lodge FIR. The police officer’s role is merely to reduce the complaint in writing and file the report and to make their working highly transparent and responsive.

Lodging online FIR, from anywhere in the country. The complainants will also have the privilege to get computerized copies of the FIR and know about the follow-ups just at the click of the mouse. This is going to be a major leap ahead in using technology for improving the overall image of the police.

Lodging FIR online by the general public will help in several ways:

Every complaint will be registered and filed. Nobody can erase the complaint as it will be stored in

secure system with multiple backups. People, especially old people or women, won’t have to

travel long distances to register complaints. More free time for police to actually investigate the

crime rather than get bogged down in paperwork Higher-ups can easily see the status for any case

3

Page 4: Project Report. of Online Tender in ASP.net

anywhere in a fraction of a second Such FIR databases can be tied up to the national

criminal databases In cases of missing children, national alerts can be

generated automatically

FIRs are the first touchpoints of the ordinary citizen with the justice system in this country. Loosen that link and what you have is a disconnect.

In this project , we are providing the following major functionalities.

Lodging FIR Check Status Update IPC Section Updates through E-mail.

Lodging FIR: In this section we ask for the personal and incident detail from the user. This section also requires the user to give his personal identification proof for verification i.e. for the genuineness of the complaint lodged. After lodging FIR, user gets the information in a report format and a unique FIR number which is to be used for further correspondence. The form is very much similar to the actual FIR FORM No. 24.5(1).

These various fields mentioned in this module are:

1: Name and Address2: Contact Number3: Identification Proof4: E-mail address (not mandatory)5: Place of occurrence of incident6. Date & Hour of Occurrence6: Brief Description of the Offence

Check Status: In this section we provide the facility to the user to have a regular check on the progress of the

4

Page 5: Project Report. of Online Tender in ASP.net

investigation. On submission of FIR No. user get the current status of his report.

Update: It provide the facility to the user for submitting any proof/evidence in audio, video or textual format and also provides the facility to update his contact details like contact number or address but not the description of the offence and name of the complaint. User can update the information any number of times with the help of unique FIR number.

IPC Section: This section provides the whole information about the various IPC (Indian Penal Code) sections. This information helps the user to know about the offence committed and the various provisions in the law for its penalty. This section also tells about the various public duties and useful links.Updates through E-mail: We are also providing a unique feature of informing the user through his E- mail or through SMS on his mobile phone as per the user convenience, about the progress done in his case.

Contact Us: In this section we are providing the contact details like phone number , E-mail ids of the concerning police officers of each area, and user can choose from different police stations, and find out the concerning officers and can contact him directly. We are also providing a form for the user so that he may contact to the web master or even can provide any useful information that may be beneficial in any form.

Userful Links: In this section we are providing the links to the different related websites, so that the user can easily browse through them, such as different state’s police websites etc.

5

Page 6: Project Report. of Online Tender in ASP.net

PREFACE

The project will actually function to the benefit of the people, many of them still not prepared to visit the police stations. They can use the facility from their homes to lodge FIR. The police officer’s role is merely to reduce the complaint in writing and file the report and to make their working highly transparent and responsive.

Lodging online FIR, from anywhere in the country. The complainants will also have the privilege to get computerized copies of the FIR and know about the follow-ups just at the click of the mouse. This is going to be a major leap ahead in using technology for improving the overall image of the police.

6

Page 7: Project Report. of Online Tender in ASP.net

This report is written as a text for the partial fulfillment of the B.TECH program pursuing for

INSTITUTE ENGINEERING AND MANAGEMENT(SIEM) FORM (UPTU

UNIVERSITY)

Table of Contents

S.No. Topic Page No.

1. Title Page 1 2. Abstract 23. Preface 54. Acknowledgement 65. Index 7

7

Page 8: Project Report. of Online Tender in ASP.net

6. Certificates 8 7. Present scenario 98. Background 109. Feasibility Study 1110. Requirement Analysis 1211. Hardware Specification 1312. Software Specification 1313. DFD’s or Flowcharts 1314. Databas Schema 1515. Program Coding 1716. Screen Shoots 1917. Limitations of Project 7018. Future Developments 7119. Bibliography 73

Certificate

This is to certify that the project titled “Online F.I.R. ” has been completed successfully in Institute of Engg. & Mgmt. by:

Rohit Kumar Singh (IT, 0728913040)

8

Page 9: Project Report. of Online Tender in ASP.net

Shobhit Shukla (IT, 0728913047)

Utkarsh Shukla (IT, 0728913040)

Pushpendra Chturvedi(IT, 0728913037)

PROJECT GUIDE PROJECT HEAD Mr. Pankaj Saini Mr. Ravindra Singh [Lecturer in IT Dept., IEM] [Lecturer in IT Dept.,IEM]

PRESENT SCENARIO

Nowadays we have all information that is in our use, we get it by online.For example we have:

Online reservation

9

Page 10: Project Report. of Online Tender in ASP.net

Online booking Online movie watching

But DO WE HAVE ONLINE FIR?

No, so this is the field we can work upon.Efforts Up to Now

• There have been many efforts at the government and the authority level to make the process of lodging of fir more convenient and hassle free.

• But still the process remains a tedious one owing to various reasons like corruption, lack of information about the laws among the common people and a problem of maintaining a secure data base.

When we were faced with the problem of modeling a such a system that would have first hand information about the incidents and at the same time would be easy to use both the user and the authorities. We came up with this idea of Online FIR, which gives us the facility of maintaining an online data base and keeps the process corruption free.

BACKGROUND

10

Page 11: Project Report. of Online Tender in ASP.net

FIR is the information recorded by the police officer on duty, given either by the aggrieved person or any other person about the commission of an alleged offence. On the basis of the FIR the police commences its investigation.

One of the often-heard complaints in India, is that the police, in many cases , do not register the complaint from the general public, for reasons known only to them, under pressure from someplace, or because of some technicalities. Everyday one sees a few dozen cases in the newspaper.

Legally, any person can file the first information report, and need not even have first-hand knowledge of the incidence. The project will actually function to the benefit of the people, many of them still not prepared to visit the police stations. They can use the facility from their homes to lodge FIR. The police officer’s role is merely to reduce the complaint in writing and file the report and to make their working highly transparent and responsive.

Lodging online FIR, from anywhere in the country. The complainants will also have the privilege to get computerized copies of the FIR and know about the follow-ups just at the click of the mouse. This is going to be a major leap ahead in using technology for improving the overall image of the police.

11

Page 12: Project Report. of Online Tender in ASP.net

Feasibility Study

A feasibility study is a preliminary study, which investigates the information needs of the user and determines the proposed project.

In our study of the requirement, we found that the project is feasible and could be completed within the time, cost and requirement (both software and hardware) constraints applied to it.

The main objective of the project is to apply a new method and new tools for Maximum efficiency which make it feasible.

Problems are identified and reviewing related information solutions. Identifying measures or indicators of system performance and the actions needed to improve or correct performance, relative to the goals of the system.

Obtaining and seeing to the appropriate use of equipment, Facilities , and materials needed to do certain work.

Determining the kind of tools and equipment needed to make project work. Installing equipment, machines, wiring, or programs to meet specifications.

Performing routine maintenance on equipment and determining when and what kind of maintenance is needed.

The main objective of the project “Online FIR” is to lodge online complaint of the citizens. The project can be used by any state or country to provide a facility to its citizens to lodge FIR online without visiting to the police station Anyone who knows about the commission of a cognizable offence can file an FIR. It is not necessary that only the victim of the crime should file an FIR. A police officer who comes to know about a cognizable offence can file an FIR himself/herself. You can file an FIR if:You are the person against whom the offence has been committed; You know yourself about an offence which

12

Page 13: Project Report. of Online Tender in ASP.net

has been committed; You have seen the offence being committed. Witnesses, if any. Things you should NOT do:

Never file a false complaint or give wrong information to the police. You can be prosecuted under law for giving wrong information or for misleading the police. —[Section 203, Indian Penal Code 1860] Never exaggerate or distort facts. Never make vague or unclear statements. Thus, by making information available online about their case and investigation status reduces the manual work considerably and relieves the citizen of the mental agony and tension in visiting the police stations.

It is really hectic and painstaking for a single or a couple of persons to go to a police station & request the concerning officers to lodge his complaint.

13

Page 14: Project Report. of Online Tender in ASP.net

System Requirement SpecificationHardware Requirements:

Pentium Series Keyboard Hard Disk 40GB RAM 256 MB

Software Requirement:

Windows XP JDK 1.5 Tomcat Server 5.0 Internet Explorer

Technology Used:

Front End HTML JSP/JavaScript

Middleware JSP

14

Page 15: Project Report. of Online Tender in ASP.net

Backend MS ACCESS

Why J2EE ?

3 Tire Architecture Server-Side technology Provides a component-based approach to the design,

development, assembly, and deployment of enterprise applications.

Offers a multi tiered distributed application model Reusable components A unified security model Web services support Reduce costs and fast-track application design and

development

15

Page 16: Project Report. of Online Tender in ASP.net

DATABASE SCHEMA

Table 1: login_User

Field Name Data Type Description Key constraint

ID Int(25) User id (unique) Primary key

Password char(25) Password

Fname char(25) First name

Lname Char(25) Last name

State Char(40) State

City1 Char(40) City name

16

Page 17: Project Report. of Online Tender in ASP.net

Address Char(40) Self address

Contact1 Int(10) Phone no.

Contact2 Int(15) Mobile no.

Email Char(40) Email id

Idtyp Char(40) Type of id

Idno Int(30) Id no.

State2 Char(40) State

City2 Char(40) City

Incident place Char(40) Place of incident

Crime Char(1000) Crime

Gender Char(10) Gender

17

Page 18: Project Report. of Online Tender in ASP.net

Table 2: FIR Status

Field

Name

Data Type Description Key

constraint

ID Int(25) User id

(unique)

Primary key

Num int(25) No.of fir

Date Int(25) Date

Update Char(40) Updated status

18

Page 19: Project Report. of Online Tender in ASP.net

Detailed DesignHOME PAGE: It is the main page of the website that appears to the user when he open up the link of the website Online FIR.

19

Page 20: Project Report. of Online Tender in ASP.net

Coding for HOME PAGE<html >

<head>

<title>Our India -- Together we can & we will make diffference</title>

<link href="new.css" rel="stylesheet" type="text/css" />

</head>

<body> <div id="wrapper">

<div id="header">

</div><!-- END HEADER-->

<div id="menu"><ul> <li><a href="http://localhost:8080/fir/index.html" title="Back to the Home page">Home</a></ul><ul> <li><h2>F.I.R.</h2> <ul> <li><a href="http://localhost:8080/fir/lodge.html" title="Lodge a new complaint/FIR">Lodge a F.I.R.</a> <li><a href="http://localhost:8080/fir/update.html" title="Update/Change any detail of FIR">Update your details</a></li> <li><a href="http://localhost:8080/fir/status.html" title="Check the FIR status">Check F.I.R. status</a></li> </ul> </ul>

<ul> <li><h2>Rules & Sections</h2> <ul>

20

Page 21: Project Report. of Online Tender in ASP.net

<li><a href="http://localhost:8080/fir/fir.html" title="What is a FIR , who can lodge , wht does it do...">All about F.I.R.</a></li> <li><a href="http://localhost:8080/fir/section.html" title="Indian Penal Code sections/laws">IPC sections</a> <ul> <li><a href="http://localhost:8080/fir/ipc/ipc1.html" title="Indian Penal COde">INDIAN PENAL CODE</a></li> <li><a href="http://localhost:8080/fir/hma/hma1.html" title="Plain HTML Code">HINDU MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/companies/comp1.html" title="whatever:hover file">COMPANIES ACT, 1956</a></li>

<li><a href="http://localhost:8080/fir/it/it1.html" title="Plain HTML Code">INCOME TAX ACT</a></li> <li><a href="http://localhost:8080/fir/part/part1.html" title="whatever:hover file">INDIAN PARTNERSHIP</a></li>

<li><a href="http://localhost:8080/fir/sm/sm1.html" title="Plain HTML Code">SPECIAL MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/reg/reg1.html" title="whatever:hover file">THE REGISTRATION ACT</a></li> <li><a href="http://localhost:8080/fir/motor/motor1.html" title="whatever:hover file">MOTOR VEHICLE ACT</a></li>

</ul> <li><a href="http://localhost:8080/fir/links.html" title="Other useful Links to other sites">Useful links</a></li> </ul> </ul>

<ul> <li><h2>About Us</h2> <ul> <li><a href="http://localhost:8080/fir/about.html" title="About the System, how does it works, what we are for...">About Us</a></li> <li><a href="http://localhost:8080/fir/system.html" title="How does System work">How does System work</a></li> <li><a href="http://localhost:8080/fir/rules.html" title="Terms & Conditions">Rules</a></li> </ul>

21

Page 22: Project Report. of Online Tender in ASP.net

</ul> <ul> <li><h2>Contact Us</h2> <ul> <li><a href="http://localhost:8080/fir/write.html" title="Suggestions, sharing any information...">Write to us</a></li> <li><a href="http://localhost:8080/fir/contact.html" title="Important contacts of concerning authorities">Contacts</a></li> </ul> </ul>

</div><div class="sidenav">

<ul><li><a href="index.html"><b>Home</b></a></li></ul>

<h1>F.I.R.</h1><ul>

<li><a href="http://localhost:8080/fir/lodge.html">Lodge a FIR</a></li>

<li><a href="http://localhost:8080/fir/update.html">Update Details</a></li>

<li><a href="http://localhost:8080/fir/status.html">Check Status</a></li>

</ul>

<h1>Rules & Sections</h1><ul>

<li><a href="http://localhost:8080/fir/fir.html">All About FIR</a></li>

<li><a href="http://localhost:8080/fir/section.html">IPC sections</a></li>

<li><a href="http://localhost:8080/fir/links.html">Useful Links</a></li>

</ul>

22

Page 23: Project Report. of Online Tender in ASP.net

<h1>About Us</h1><ul>

<li><a href="http://localhost:8080/fir/about.html">About Us</a></li>

<li><a href="http://localhost:8080/fir/system.html">How Does This System Works</a></li>

<li><a href="http://localhost:8080/fir/rules.html">Rules</a></li>

</ul><h1>Check Status</h1><form action="status.jsp"><div>

<input type="text" name="status" class="styled" /> <input type="submit" value="Submit" class="button" />

</form> ------ </div>

<div align="center"> <marquee scrollamount="2" direction="up" loop="true" width="70%"> <center> <font color="#9a0c1c" size="+1"><strong> Our India<br> <br> Together We Can & We'll<br> Make Difference </strong></font> </center> </marquee></div>

</div><div id="content">

<div id="col1"><h1> Welcome to <span class="red">Our India</span> </h1><p> FIR is the information recorded by the police officer on duty, given either by the aggrieved person or any other person about the commission of an alleged offence. On the basis of the FIR the police commences its investigation.</p>

<p>One of the often-heard complaints in India, is that the police, in many cases , do not register the complaint from the general public, for reasons known only to them, under pressure from someplace, or because of some technicalities. Everyday one sees a few dozen cases in the newspaper.</p><p>Legally, any person can file the first information report, and need not even have first-hand knowledge of the incidence. The project will actually function to the benefit of the people, many of them still not prepared to visit the police stations. They can use the facility from their homes to lodge FIR. The police officer’s role is merely to reduce the complaint in writing and file the report and to make their working highly transparent and responsive.</p><p>Lodging online FIR, from anywhere in the country. The complainants will also have the privilege to get computerized copies of the FIR and know about the follow-ups just at the click of the mouse. This is going to be a major leap ahead in using technology for improving the overall image of the police.</p><p>Lodging FIR online by the general public will help in several ways:

<p>FIRs are the first touchpoints of the ordinary citizen with the justice system in this country. Loosen that link and what you have is a disconnect.</li></p>

23

Page 24: Project Report. of Online Tender in ASP.net

</p>

<p> In cases of corruption, not registered on traps laid, but on complaints, always a suitable preliminary enquiry into the allegation, is required. Such preliminary enquiries are relevant before the registration of case and are permissible under law. But as soon as it became clear to enquiring officer that the public servant appeared to be guilty of severe misconduct, it was his duty to lodge F.I.R. and proceed further in the investigation.<img src="Img/polaroid.jpg" alt="pictures" class="left"/> "Whoever, bring a public servant, knowingly disobeys any direction of law as to the way in which he is to conduct himself as such public servant, intending to cause, or knowing it to be likely that he will, by such disobedience, cause injury to any person, shall be punished with simple imprisonment for a term which may extend to one year, or with fine, or with both.

Sec. 217 IPC:

<p>Sec. 167 IPC: Public servant disobeying law, with intent to cause injury to any person.

Whoever, being a public servant, and being, as suchpublic servant, charged with the preparation or translation of any document, frames or translates that document in a manner which he knows or believes to be incorrect, in- tending thereby to cause or knowing it to be likely that he may thereby cause injury to any person, shall be punished udth imprisonment of either description for a term which may extend to three years, or with fine, or with both'.

</p>

</div> <!-- END COL2-->

</div> <!-- END CONTENT-->

<div id="footer"><p>&copy; 2008 (OurIndia) Design by <a href="http://www.Hurtle.awardspace.com">Hurtle Group</a> </p></div> <!-- END FOOTER -->

</body>

</html>

24

Page 25: Project Report. of Online Tender in ASP.net

Lodging FIR: In this section we take the personal and incident detail from the user. This section also requires the user to give his personal identification proof for later verification. After lodging fir user gets the information in a report format and a unique fir no which is to be used for further correspondence

25

Page 26: Project Report. of Online Tender in ASP.net

26

Page 27: Project Report. of Online Tender in ASP.net

CODING FOR LODGE FIR FORM

<html>

<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

<title>Our India -- Together we can & we will make diffference</title>

<link href="newm.css" rel="stylesheet" type="text/css" />

</head>

<body>

<div id="wrapper">

<div id="header"><a href="try2.htm"></a>

</div><!-- END HEADER-->

<div id="menu"><ul> <li><a href="http://localhost:8080/fir/index.html" title="Back to the Home page">Home</a></ul><ul> <li><h2>F.I.R.</h2> <ul> <li><a href="http://localhost:8080/fir/lodge.html" title="Lodge a new complaint/FIR">Lodge a F.I.R.</a> <li><a href="http://localhost:8080/fir/update.html" title="Update/Change any detail of FIR">Update your details</a></li>

27

Page 28: Project Report. of Online Tender in ASP.net

<li><a href="http://localhost:8080/fir/status.html" title="Check the FIR status">Check F.I.R. status</a></li> </ul> </ul>

<ul> <li><h2>Rules & Sections</h2> <ul> <li><a href="http://localhost:8080/fir/fir.html" title="What is a FIR , who can lodge , wht does it do...">All about F.I.R.</a></li> <li><a href="http://localhost:8080/fir/section.html" title="Indian Penal Code sections/laws">IPC sections</a> <ul> <li><a href="http://localhost:8080/fir/ipc/ipc1.html" title="Indian Penal COde">INDIAN PENAL CODE</a></li> <li><a href="http://localhost:8080/fir/hma/hma1.html" title="Plain HTML Code">HINDU MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/companies/comp1.html" title="whatever:hover file">COMPANIES ACT, 1956</a></li>

<li><a href="http://localhost:8080/fir/it/it1.html" title="Plain HTML Code">INCOME TAX ACT</a></li> <li><a href="http://localhost:8080/fir/part/part1.html" title="whatever:hover file">INDIAN PARTNERSHIP</a></li>

<li><a href="http://localhost:8080/fir/sm/sm1.html" title="Plain HTML Code">SPECIAL MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/reg/reg1.html" title="whatever:hover file">THE REGISTRATION ACT</a></li> <li><a href="http://localhost:8080/fir/motor/motor1.html" title="whatever:hover file">MOTOR VEHICLE ACT</a></li>

</ul> <li><a href="http://localhost:8080/fir/links.html" title="Other useful Links to other sites">Useful links</a></li> </ul> </ul>

28

Page 29: Project Report. of Online Tender in ASP.net

<ul> <li><h2>About Us</h2> <ul> <li><a href="http://localhost:8080/fir/about.html" title="About the System, how does it works, what we are for...">About Us</a></li> <li><a href="http://localhost:8080/fir/system.html" title="How does System work">How does System work</a></li> <li><a href="http://localhost:8080/fir/rules.html" title="Terms & Conditions">Rules</a></li> </ul> </ul> <ul> <li><h2>Contact Us</h2> <ul> <li><a href="http://localhost:8080/fir/write.html" title="Suggestions, sharing any information...">Write to us</a></li> <li><a href="http://localhost:8080/fir/contact.html" title="Important contacts of concerning authorities">Contacts</a></li> </ul> </ul>

</div><div class="sidenav">

<ul><li><a

href="index.html"><b>Home</b></a></li></ul>

<h1>F.I.R.</h1><ul>

<li><a href="http://localhost:8080/fir/lodge.html">Lodge a FIR</a></li>

29

Page 30: Project Report. of Online Tender in ASP.net

<li><a href="http://localhost:8080/fir/update.html">Update Details</a></li>

<li><a href="http://localhost:8080/fir/status.html">Check Status</a></li>

</ul>

<h1>Rules & Sections</h1><ul>

<li><a href="http://localhost:8080/fir/fir.html">All About FIR</a></li>

<li><a href="http://localhost:8080/fir/section.html">IPC sections</a></li>

<li><a href="http://localhost:8080/fir/links.html">Useful Links</a></li>

</ul>

<h1>About Us</h1><ul>

<li><a href="http://localhost:8080/fir/about.html">About Us</a></li>

<li><a href="http://localhost:8080/fir/system.html">How Does This System Works</a></li>

<li><a href="http://localhost:8080/fir/rules.html">Rules</a></li>

</ul><h1>Check Status</h1><form action="status.jsp"><div>

<input type="text" name="status" class="styled" /> <input type="submit" value="Submit" class="button" />

</div>

</form></div>

<div id="content">

30

Page 31: Project Report. of Online Tender in ASP.net

<fieldset><legend>Please Enter Your Personal Details:</legend>

<div align="left"> <table border="0" width="450" height="157"> <td width="572" height="29" colspan="2" align="center"> <form action="save.jsp" method=post></td>

<tr> <td width="310" height="4" align="right"> <p align="right"><font color="red">*</font>First Name</p> </td> <td width="355" height="4"><input type="text" maxlength="25" name="fname" size="25" onSubmit="validate(this)"> </td> </tr> <tr> <td width="310" height="22" align="right"> <p align="right"><font color="red">*</font>Last Name</p> </td> <td width="355" height="22"><input type="text" maxlength="25" name="lname" size="25"></td> </tr> <tr> <td width="310" height="24" align="right"> <p align="right">Address</p> </td> <td width="355" height="24"><textarea name="address" rows="5" column="50" ></textarea></td> </tr>

<tr> <td width="310" height="27"> <p align="right">State </td> <td width="347" height="27" valign="middle">

31

Page 32: Project Report. of Online Tender in ASP.net

<select name="state1"> <option value="other">other</option> <option value="AP">AP</option> <option value="HP">HP</option> <option value="MP">MP</option> <option value="UP">UP</option> <option value="NDLS">NDLS</option> <option value="HARIYANA">HARIYANA</option> </select> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">City </td> <td width="347" height="27" valign="middle"> <select name="city1"> <option value="other">other</option> <option value="KANPUR">KANPUR</option> <option value="LUCKNOW">LUCKNOW</option> </select> </td> </tr>

<tr> <td width="306" height="27" align="left"> <p align="right">Contact number</p> </td> <td width="349" height="27"> <p><input maxlength="15" name="cnct1" size="25" type="text"></p> </td> </tr>

32

Page 33: Project Report. of Online Tender in ASP.net

<tr> <td width="306" height="27" align="left"> <p align="right">Mobile no</p> </td> <td width="349" height="27"> <p><input maxlength="15" name="cnct2" size="25" type="text"></p> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">Sex</p> </td> <td width="347" height="27" valign="middle"> <input type="radio" value="Male" checked name="r1">Male<input type="radio" value="Female" name="r1">Female </td> </tr>

<tr> <td width="306" height="27" align="left"> <p align="right">Email-Id</p> </td> <td width="349" height="27"> <p><input maxLength="35" name="email" size="25" type="text" ></p> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">ID Proof Type </td> <td width="347" height="27" valign="middle"> <select name="idtyp"> <option value="other">other</option> <option value="VOTER ID">VOTER ID</option> <option value="PAN CARD">PAN CARD</option>

33

Page 34: Project Report. of Online Tender in ASP.net

<option value="DRIVING LICENCE">DRIVING LICENCE</option> <option value="PASSPORT">PASSPORT</option> </select> </td> </tr>

<tr>

<td width="310" height="27" align="right"> <p align="right"><font color="red">*</font>ID Proof No.</p> </td> <td width="355" height="27"><input maxlength="25" name="idno" size="25" type="text"></td> </tr></table></div><BR><BR></fieldset>

<br>

<fieldset><legend>Please Enter F.I.R. Details:</legend>

<div align="left"><table width="450" height="180"> <td width="482" height="13" colspan="2" align="center"> </td><tr> <td width="307" height="27"> <p align="right">State </td> <td width="347" height="27" valign="middle"> <select name="state2"> <option value="other">other</option> <option value="AP">AP</option> <option value="HP">HP</option> <option value="MP">MP</option> <option value="UP">UP</option> <option value="NDLS">NDLS</option> <option value="HARIYANA">HARIYANA</option>

34

Page 35: Project Report. of Online Tender in ASP.net

</select> </td> </tr><tr> <td width="307" height="27"> <p align="right">City </td> <td width="347" height="27" valign="middle"> <select name="city2"> <option value="other">other</option> <option value="KANPUR">KANPUR</option> <option value="LUCKNOW">LUCKNOW</option> </select> </td> </tr> <tr> <td width="310" height="28" align="right"> <p align="right"><font color="red">*</font>Other</p> </td> <td width="355" height="28"><input maxlength="50" name="Other" size="25" type="text"></td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right"><font color="red">*</font>Place of Occurence</p> </td> <td width="355" height="28"><input maxlength="50" name="poocc" size="25" type="text"></td> </tr> <tr> <td width="310" height="24" align="right"> <p align="right">Desscription</p> </td> <td width="355" height="24"><textarea name="des" rows="5" column="50" ></textarea></td> </tr></tr></table></div></fieldset> <p align="center"><input type="submit" value="submit" name="b1">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset" name="b2"></p><div align="center" style="width: 667; height: 22"> &nbsp;</div> <p> <font size="6"><font color="003300" size="4"></font> </font></td>

35

Page 36: Project Report. of Online Tender in ASP.net

</tr></div> </form></body></html>

Check Status: In this section we provide the facility to the user to have a regular check on the progress of the investigation. On submission of fir no user get the current status of his report.

36

Page 37: Project Report. of Online Tender in ASP.net

37

Page 38: Project Report. of Online Tender in ASP.net

38

Page 39: Project Report. of Online Tender in ASP.net

CODING FOR CHECK STATUS

<html>

<%@ page language="java" import="java.sql.*" %>

<head>

<title>Our India -- Together we can & we will make diffference</title>

<link href="new.css" rel="stylesheet" type="text/css" />

</head>

<body bgcolor="#FFCCFF">

<div id="wrapper"><div id="header">

<form method="post" action="index.htm">

</div><!-- END HEADER--><div id="menu">

<ul>

<li><a href="index.html" title="Back to the Home page">Home</a>

</ul>

<ul>

<li><h2>F.I.R.</h2>

<ul>

<li><a href="lodge.html" title="Lodge a new complaint/FIR">Lodge a F.I.R.</a>

<li><a href="update.html" title="Update/Change any detail of FIR">Update your details</a></li>

<li><a href="status.html" title="Check the FIR status">Check F.I.R. status</a></li>

39

Page 40: Project Report. of Online Tender in ASP.net

</ul>

</ul><ul>

<li><h2>Rules & Sections</h2>

<ul>

<li><a href="fir.html" title="What is a FIR , who can lodge , wht does it do...">All about F.I.R.</a></li>

<li><a href="section.html" title="Indian Penal Code sections/laws">IPC sections</a>

<ul>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">INDIAN PENAL CODE, 1860</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">HINDU MARRIAGE ACT, 1955</a></li>

<li><a href="http://www.xs4all.nl/~peterned/csshover.html" title="whatever:hover file">COMPANIES ACT, 1956</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">COMPETITION ACT</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">INDIAN CONTRACT ACT</a></li>

<li><a href="http://www.xs4all.nl/~peterned/csshover.html" title="whatever:hover file">INDIAN PARTNERSHIP ACT</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">THE FACTORIES ACT</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">INCOME TAX ACT</a></li>

<li><a href="http://www.xs4all.nl/~peterned/csshover.html" title="whatever:hover file">NARCOTICS DRUGS & PSYCHOTROPIC SUBSTANCES ACT, 1985</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">THE PAYMENT OF GRATUITY ACT, 1972</a></li>

40

Page 41: Project Report. of Online Tender in ASP.net

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">THE REGISTRATION OF BIRTHS & DEATHS ACT, 1969</a></li>

<li><a href="http://www.xs4all.nl/~peterned/csshover.html" title="whatever:hover file">THE INDIAN PARTNERSHIP ACT, 1932</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">THE PAYMENT OF WAGES ACT, 1936</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">THE SPECIAL MARRIAGE ACT, 1954</a></li>

<li><a href="http://www.xs4all.nl/~peterned/csshover.html" title="whatever:hover file">THE REGISTRATION ACT, 1908</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">THE COPY RIGHT ACT, 1957</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">THE CENTRAL EXCISES & SALT ACT, 1944</a></li>

<li><a href="http://www.xs4all.nl/~peterned/csshover.html" title="whatever:hover file">THE MOTOR VEHICLE ACT, 1988</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/css-dropdown-menus.asp" title="tanfa Introduction">THE FOREIGN MARRIAGE ACT, 1969</a></li>

<li><a href="http://www.tanfa.co.uk/css/examples/menu/" title="Plain HTML Code">THE CONTRACT LABOUR(REGULATION & ABOLITION), 1970</a></li>

</ul> <li><a href="link.html" title="Other useful Links to other sites">Useful links</a></li>

<li><a href="duties.html" title="Public duties & laws">Public Duties</a></li>

</ul></ul><ul>

<li><h2>About Us</h2>

41

Page 42: Project Report. of Online Tender in ASP.net

<ul>

<li><a href="about.html" title="About the System, how does it works, what we are for...">About Us</a></li>

<li><a href="system.html" title="How does this system work">How does this system work</a></li>

<li><a href="rules.html" title="Terms & Conditions">Rules</a></li>

</ul>

</ul>

<ul>

<li><h2>Contact Us</h2>

<ul>

<li><a href="write.html" title="Suggestions, sharing any information...">Write to us</a></li>

<li><a href="contact.html" title="Important contacts of concerning authorities">Contacts</a></li> </ul></ul></div>

<div class="sidenav">

<ul>

<li><a href="index.html"><b>Home</b></a></li>

</ul>

<h1>F.I.R.</h1>

<ul>

<li><a href="lodge.html">Lodge a FIR</a></li>

<li><a href="update.html">Update Details</a></li>

<li><a href="status.html">Check Status</a></li>

</ul>

42

Page 43: Project Report. of Online Tender in ASP.net

<h1>Rules & Sections</h1>

<ul>

<li><a href="fir.html">All About FIR</a></li>

<li><a href="section.html">IPC sections</a></li>

<li><a href="links.html">Useful Links</a></li>

<li><a href="duties.html">Public Duties</a></li>

</ul>

<h1>About Us</h1>

<ul>

<li><a href="about.html">About Us</a></li>

<li><a href="system.html">How Does This System Works</a></li>

<li><a href="rules.html">Rules</a></li>

</ul>

<h1>Check Status</h1>

<form action="">

<div>

<input type="text" name="search" class="styled" /> <input type="submit" value="" class="button" />

</div>

</form>

</div>

43

Page 44: Project Report. of Online Tender in ASP.net

<div id="content">

<div id="col1"><h1> Status of FIR No. <span class="red" ><%

try{

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

Connection db= DriverManager.getConnection("jdbc:odbc:fir","","");

String d11=request.getParameter("status");

out.println(d11);

String sql = "select * from status where num='"+d11+"'";

java.sql.Statement st=db.createStatement();

PreparedStatement statement =db.prepareStatement(sql);

ResultSet rs = statement.executeQuery();

/* ResultSet rs=st.executeQuery("select * from status "where num=?"");*/

if(rs!=null)

{

while(rs.next())

{}

}

rs.close();

st.close();

db.close();

44

Page 45: Project Report. of Online Tender in ASP.net

}catch (SQLException e)

{

System.err.println("SQL error: " + e.getErrorCode());

System.err.println("SQL state: " + e.getSQLState());

e.printStackTrace(System.err);

}

catch (Exception e)

{

e.printStackTrace(System.err);

}/*catch(Exception e)

{out.println(e);

}*/

%></span> </h1>

<table border="1" >

<TR><TH>DATE</TH><TH>STATUS</TH></TR>

<%

try{

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

Connection db= DriverManager.getConnection("jdbc:odbc:fir","","");

String d11=request.getParameter("status");

String sql = "select * from status where num='"+d11+"'";

java.sql.Statement st=db.createStatement();

45

Page 46: Project Report. of Online Tender in ASP.net

PreparedStatement statement =db.prepareStatement(sql);

ResultSet rs = statement.executeQuery();

/* ResultSet rs=st.executeQuery("select * from status "where num=?"");*/

if(rs!=null)

{

while(rs.next())

{%>

<TR>

<TD><%= rs.getString("date")%></TD>

<TD><%= rs.getString("update")%></TD>

</TR>

<%}

}

rs.close();

st.close();

db.close();

}catch (SQLException e)

{

System.err.println("SQL error: " + e.getErrorCode());

System.err.println("SQL state: " + e.getSQLState());

e.printStackTrace(System.err);

46

Page 47: Project Report. of Online Tender in ASP.net

}

catch (Exception e)

{

e.printStackTrace(System.err);

}/*catch(Exception e)

{out.println(e);

}*/

%></table></div></div>

</body>

</html>

Update: This feature user don’t gets in the present system of manual fir. It provide the facility to the user for submitting proof in audio, video or textual format. User can update the information any no of times with the help of unique fir number.

47

Page 48: Project Report. of Online Tender in ASP.net

48

Page 49: Project Report. of Online Tender in ASP.net

49

Page 50: Project Report. of Online Tender in ASP.net

CODING FOR UPDATE<html><head>

<title>Our India -- Together we can & we will make diffference</title>

<link href="newm.css" rel="stylesheet" type="text/css" />

</head><%@ page language="java" import="java.sql.*" %><body><div id="wrapper">

<div id="header"><a href="try2.htm"></a>

</div><!-- END HEADER-->

<div id="menu"><ul> <li><a href="index.html" title="Back to the Home page">Home</a></ul><ul> <li><h2>F.I.R.</h2> <ul> <li><a href="lodge.html" title="Lodge a new complaint/FIR">Lodge a F.I.R.</a> <li><a href="update.html" title="Update/Change any detail of FIR">Update your details</a></li> <li><a href="status.html" title="Check the FIR status">Chech F.I.R. status</a></li> </ul> </ul>

<ul> <li><h2>Rules & Sections</h2> <ul> <li><a href="fir.html" title="What is a FIR , who can lodge , wht does it do...">All about F.I.R.</a></li> <li><a href="section.html" title="Indian Penal Code sections/laws">IPC sections</a>

50

Page 51: Project Report. of Online Tender in ASP.net

<li><a href="link.html" title="Other useful Links to other sites">Useful links</a></li> <li><a href="duties.html" title="Public duties & laws">Public Duties</a></li>

</ul> </ul>

<ul> <li><h2>About Us</h2> <ul> <li><a href="about.html" title="About the System, how does it works, what we are for...">About Us</a></li> <li><a href="system.html" title="How does this system work">How does this system work</a></li> <li><a href="rules.html" title="Terms & Conditions">Rules</a></li> </ul> </ul> <ul> <li><h2>Contact Us</h2> <ul> <li><a href="write.html" title="Suggestions, sharing any information...">Write to us</a></li> <li><a href="contact.html" title="Important contacts of concerning authorities">Contacts</a></li> </ul> </ul>

</div><div class="sidenav">

<ul><li><a href="index.html"><b>Home</b></a></li></ul>

<h1>F.I.R.</h1>

51

Page 52: Project Report. of Online Tender in ASP.net

<ul><li><a href="lodge.html">Lodge a FIR</a></li><li><a href="update.html">Update Details</a></li><li><a href="status.html">Check Status</a></li></ul>

<h1>Rules & Sections</h1><ul>

<li><a href="fir.html">All About FIR</a></li><li><a href="section.html">IPC sections</a></li><li><a href="links.html">Useful Links</a></li><li><a href="duties.html">Public Duties</a></li>

</ul>

<h1>About Us</h1><ul>

<li><a href="about.html">About Us</a></li><li><a href="system.html">How Does This System

Works</a></li><li><a href="rules.html">Rules</a></li>

</ul>

<h1>Check Status</h1>

<div><input type="text" name="search" class="styled" /> <input

type="submit" value="" class="button" /></div>

</div>

<div id="content">

<fieldset><legend>Please Enter Your Personal Details:</legend>

<% try{

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection db= DriverManager.getConnection("jdbc:odbc:fir","","");

52

Page 53: Project Report. of Online Tender in ASP.net

String d11=request.getParameter("num"); String d12=request.getParameter("pass");

String sql = "select * from lodge where fnum='"+d11+"'and pass='"+d12+"'"; java.sql.Statement st=db.createStatement(); PreparedStatement statement =db.prepareStatement(sql); ResultSet rs = statement.executeQuery(); /* ResultSet rs=st.executeQuery("select * from lodge "where fname=?"");*/if(rs!=null){ while(rs.next()){%>

<br>

<div align="left"> <table border="0" width="500" height="157">

<form action="save2.jsp" method=post></td>

<tr> <td width="310" height="4" align="right"> <p align="right"><font color="red">*</font>First Name</p> </td> <td width="355" height="4"><input type="text" maxlength="25" value="<%= rs.getString("fname")%>" name="fname" size="25" "readonly" onSubmit="validate(this)"> </td> </tr> <tr> <td width="310" height="22" align="right"> <p align="right"><font color="red">*</font>Last Name</p> </td> <td width="355" height="22"><input type="text" maxlength="25" value="<%= rs.getString("lname")%>" name="lname" "readonly" size="25"></td> </tr> <tr> <td width="310" height="24" align="right"> <p align="right">Address</p> </td>

53

Page 54: Project Report. of Online Tender in ASP.net

<td width="355" height="24"><textarea value="<%= rs.getString("address")%>" name="address" rows="5" column="50" ></textarea></td> </tr>

<tr> <td width="310" height="27"> <p align="right">State </td> <td width="347" height="27" valign="middle"> <select name="state1"> <option value="other">other</option> <option value="AP">AP</option> <option value="HP">HP</option> <option value="MP">MP</option> <option value="UP">UP</option> <option value="NDLS">NDLS</option> <option value="HARIYANA">HARIYANA</option>

<option selected><%= rs.getString("state1")%></option> </select> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">City </td> <td width="347" height="27" valign="middle"> <select name="city1"> <option value="other">other</option> <option value="KANPUR">KANPUR</option> <option value="LUCKNOW">LUCKNOW</option> <option selected><%= rs.getString("city1")%></option> </select> </td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right"><font color="red">*</font>Other</p> </td> <td width="355" height="28"><input maxlength="50" name="city1" size="25" type="text"></td>

54

Page 55: Project Report. of Online Tender in ASP.net

</tr>

<tr> <td width="306" height="27" align="left"> <p align="right">Contact number</p> </td> <td width="349" height="27"> <p><input maxlength="15" value="<%= rs.getString("cnct1")%>" name="cnct1" size="25" type="text"></p> </td> </tr>

<tr> <td width="306" height="27" align="left"> <p align="right">Mobile no</p> </td> <td width="349" height="27"> <p><input maxlength="15" value="<%= rs.getString("cnct2")%>" name="cnct2" size="25" type="text"></p> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">Sex</p> </td> <td width="347" height="27" valign="middle"> <input type="radio" value="Male" checked name="r1">Male<input type="radio" value="Female" name="r1">Female </td> </tr>

<tr> <td width="306" height="27" align="left"> <p align="right">Email-Id</p> </td> <td width="349" height="27">

55

Page 56: Project Report. of Online Tender in ASP.net

<p><input maxLength="25" value="<%= rs.getString("email")%>" name="email" size="25" type="text" ></p> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">ID Proof Type </td> <td width="347" height="27" valign="middle"> <select "readonly" name="idtyp"> <option value="other">other</option> <option value="VOTER ID">VOTER ID</option> <option value="PAN CARD">PAN CARD</option> <option value="DRIVING LICENCE">DRIVING LICENCE</option> <option value="PASSPORT">PASSPORT</option> <option selected><%= rs.getString("idtyp")%></option> </select> </td> </tr>

<tr>

<td width="310" height="27" align="right"> <p align="right"><font color="red">*</font>ID Proof No.</p> </td> <td width="355" height="27"><input "readonly" maxlength="25" name="idno" size="25" value="<%= rs.getString("idno")%>" type="text"></td> </tr></table></div><BR><BR>

</fieldset>

<fieldset><legend>Please Enter F.I.R. Details:</legend>

<table width="500" height="180">

56

Page 57: Project Report. of Online Tender in ASP.net

<tr> <td width="307" height="27"> <p align="right">State </td> <td width="347" height="27" valign="middle"> <select name="state2"> <option value="other">other</option> <option value="AP">AP</option> <option value="HP">Himachal Pradesh</option> <option value="MP">MP</option> <option value="Uttar P">UP</option> <option value="NDLS">NDLS</option>

<option selected><%= rs.getString("state2")%></option> <option value="HARIYANA">HARIYANA</option> </select> </td> </tr>

<tr> <td width="307" height="27"> <p align="right">City </td> <td width="347" height="27" valign="middle"> <select name="city2"> <option value="other">other</option> <option value="KANPUR">KANPURt</option> <option value="LUCKNOW">LUCKNOW</option> <option selected><%= rs.getString("city2")%></option> </select> </td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right"><font color="red">*</font>Other</p> </td> <td width="355" height="28"><input maxlength="50" name="Other" size="25" type="text"></td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right"><font color="red">*</font>Place of Occurence</p>

57

Page 58: Project Report. of Online Tender in ASP.net

</td> <td width="355" height="28"><input maxlength="50" name="poocc" size="25" value="<%= rs.getString("poocc")%>" type="text"></td> </tr>

<tr> <td width="310" height="24" align="right"> <p align="right">Desscription</p> </td> <td width="355" height="24"><textarea name="des" rows="5" column="50" ><%= rs.getString("des")%></textarea></td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right">Audio File</p> </td> <td width="355" height="28"><input name="Audio_File" size="25" type="file">

</td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right">Video File</p> </td> <td width="355" height="28"><input name="Video_File" size="25" type="file">

</td> </tr>

<tr> <td width="310" height="28" align="right"> <p align="right">Description File</p> </td> <td width="355" height="28"><input name="Description_File" size="25" type="file">

58

Page 59: Project Report. of Online Tender in ASP.net

</td> </tr></table>

</fieldset> <p align="center"><input type="submit" value="Update" name="b1">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset" name="b2"></p><div align="center" style="width: 667; height: 22"> &nbsp;</div> <p> <font size="6"><font color="003300" size="4"></font> </font></td> </tr></form>

</div></div><TD><%= rs.getString("fname")%></TD>

<TD><%= rs.getString("lname")%></TD><TD><%= rs.getString("no")%></TD><TD><%= rs.getString("ADDRESS")%></TD><TD><%= rs.getString("des")%></TD><TD><%= rs.getString("idtyp")%></TD><TD><%= rs.getString("idno")%></TD><TD><%= rs.getString("city2")%></TD>

</TR><%}}rs.close();st.close();db.close();}catch (SQLException e) { System.err.println("SQL error: " + e.getErrorCode()); System.err.println("SQL state: " + e.getSQLState()); e.printStackTrace(System.err); } catch (Exception e) { e.printStackTrace(System.err); }/*catch(Exception e){out.println(e);}*/%></table></body></html>

59

Page 60: Project Report. of Online Tender in ASP.net

IPC Section: This section provides the whole information about the various IPC(Indian Penal Code) sections. This information helps the user to know bout the offence committed and the various provisions in the law for its penalty. This section also tells about the various public duties and useful links.

60

Page 61: Project Report. of Online Tender in ASP.net

61

Page 62: Project Report. of Online Tender in ASP.net

CODING FOR SECTIONS

<html >

<head>

<title>Our India -- Together we can & we will make diffference</title>

<link href="new.css" rel="stylesheet" type="text/css" />

</head>

<body> <div id="wrapper">

<div id="header">

</div><!-- END HEADER-->

<div id="menu"><ul> <li><a href="http://localhost:8080/fir/index.html" title="Back to the Home page">Home</a></ul><ul> <li><h2>F.I.R.</h2> <ul> <li><a href="http://localhost:8080/fir/lodge.html" title="Lodge a new complaint/FIR">Lodge a F.I.R.</a> <li><a href="http://localhost:8080/fir/update.html" title="Update/Change any detail of FIR">Update your details</a></li> <li><a href="http://localhost:8080/fir/status.html" title="Check the FIR status">Check F.I.R. status</a></li> </ul> </ul>

<ul> <li><h2>Rules & Sections</h2> <ul> <li><a href="http://localhost:8080/fir/fir.html" title="What is a FIR , who can lodge , wht does it do...">All about F.I.R.</a></li>

62

Page 63: Project Report. of Online Tender in ASP.net

<li><a href="http://localhost:8080/fir/section.html" title="Indian Penal Code sections/laws">IPC sections</a> <ul> <li><a href="http://localhost:8080/fir/ipc/ipc1.html" title="Indian Penal COde">INDIAN PENAL CODE</a></li> <li><a href="http://localhost:8080/fir/hma/hma1.html" title="Plain HTML Code">HINDU MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/companies/comp1.html" title="whatever:hover file">COMPANIES ACT, 1956</a></li>

<li><a href="http://localhost:8080/fir/it/it1.html" title="Plain HTML Code">INCOME TAX ACT</a></li> <li><a href="http://localhost:8080/fir/part/part1.html" title="whatever:hover file">INDIAN PARTNERSHIP</a></li>

<li><a href="http://localhost:8080/fir/sm/sm1.html" title="Plain HTML Code">SPECIAL MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/reg/reg1.html" title="whatever:hover file">THE REGISTRATION ACT</a></li> <li><a href="http://localhost:8080/fir/motor/motor1.html" title="whatever:hover file">MOTOR VEHICLE ACT</a></li>

</ul> <li><a href="http://localhost:8080/fir/links.html" title="Other useful Links to other sites">Useful links</a></li> </ul> </ul>

<ul> <li><h2>About Us</h2> <ul> <li><a href="http://localhost:8080/fir/about.html" title="About the System, how does it works, what we are for...">About Us</a></li> <li><a href="http://localhost:8080/fir/system.html" title="How does System work">How does System work</a></li> <li><a href="http://localhost:8080/fir/rules.html" title="Terms & Conditions">Rules</a></li> </ul> </ul>

63

Page 64: Project Report. of Online Tender in ASP.net

<ul> <li><h2>Contact Us</h2> <ul> <li><a href="http://localhost:8080/fir/write.html" title="Suggestions, sharing any information...">Write to us</a></li> <li><a href="http://localhost:8080/fir/contact.html" title="Important contacts of concerning authorities">Contacts</a></li></ul> </ul>

</div><div class="sidenav">

<ul><li><a href="index.html"><b>Home</b></a></li></ul>

<h1>F.I.R.</h1><ul>

<li><a href="http://localhost:8080/fir/lodge.html">Lodge a FIR</a></li>

<li><a href="http://localhost:8080/fir/update.html">Update Details</a></li>

<li><a href="http://localhost:8080/fir/status.html">Check Status</a></li>

</ul>

<h1>Rules & Sections</h1><ul>

<li><a href="http://localhost:8080/fir/fir.html">All About FIR</a></li>

<li><a href="http://localhost:8080/fir/section.html">IPC sections</a></li>

<li><a href="http://localhost:8080/fir/links.html">Useful Links</a></li>

</ul>

<h1>About Us</h1><ul>

<li><a href="http://localhost:8080/fir/about.html">About Us</a></li>

<li><a href="http://localhost:8080/fir/system.html">How Does This System Works</a></li>

<li><a href="http://localhost:8080/fir/rules.html">Rules</a></li>

</ul><h1>Check Status</h1>

64

Page 65: Project Report. of Online Tender in ASP.net

<form action="status.jsp"><div>

<input type="text" name="status" class="styled" /> <input type="submit" value="Submit" class="button" />

</div>

</div><div id="content">

<div id="col1"><h1> INDIAN <span class="red">LAWS</span> </h1>

<li> <a href="http://localhost:8080/fir/ipc/ipc1.html" title="">INDIAN PENAL CODE, 1860</a></li> <br> <br> <li><a href="http://localhost:8080/fir/hma/hma1.html" title="">HINDU MARRIAGE ACT, 1955</a></li> <br> <br> <li><a href="http://localhost:8080/fir/companies/comp1.html" title="">COMPANIES ACT, 1956</a></li> <br> <br> <li><a href="http://localhost:8080/fir/part/part1.html" title="">INDIAN PARTNERSHIP ACT</a></li> <br> <br> <li><a href="http://localhost:8080/fir/it/it1.html" title="">INCOME TAX ACT</a></li> <br> <br> <li><a href="http://localhost:8080/fir/sm/sm1.html" title="">THE SPECIAL MARRIAGE ACT, 1954</a></li> <br> <br> <li><a href="http://localhost:8080/fir/reg/reg1.html" title="">THE REGISTRATION ACT, 1908</a></li> <br> <br> <li><a href="http://localhost:8080/fir/motor/motor1.html" title="">THE MOTOR VEHICLE ACT, 1988</a></li></div> <!-- END COL2--></div> <!-- END CONTENT-->

</body>

</html>

Contact Us: This module provide user the facility to contact to the web master regarding any query and for

65

Page 66: Project Report. of Online Tender in ASP.net

any complaint. If any body else want to give some information that would be helpful for further investigation.

.

66

Page 67: Project Report. of Online Tender in ASP.net

CODING FOR CONTACT US

<html ><head><title>Our India -- Together we can & we will make diffference</title>

<link href="newm.css" rel="stylesheet" type="text/css" />

</head>

<body> <div id="wrapper">

<div id="header"><a href="index.htm"></a>

</div><!-- END HEADER-->

<div id="menu"><ul> <li><a href="http://localhost:8080/fir/index.html" title="Back to the Home page">Home</a></ul><ul> <li><h2>F.I.R.</h2> <ul> <li><a href="http://localhost:8080/fir/lodge.html" title="Lodge a new complaint/FIR">Lodge a F.I.R.</a> <li><a href="http://localhost:8080/fir/update.html" title="Update/Change any detail of FIR">Update your details</a></li> <li><a href="http://localhost:8080/fir/status.html" title="Check the FIR status">Check F.I.R. status</a></li> </ul> </ul>

<ul> <li><h2>Rules & Sections</h2> <ul>

67

Page 68: Project Report. of Online Tender in ASP.net

<li><a href="http://localhost:8080/fir/fir.html" title="What is a FIR , who can lodge , wht does it do...">All about F.I.R.</a></li> <li><a href="http://localhost:8080/fir/section.html" title="Indian Penal Code sections/laws">IPC sections</a> <ul> <li><a href="http://localhost:8080/fir/ipc/ipc1.html" title="Indian Penal COde">INDIAN PENAL CODE</a></li> <li><a href="http://localhost:8080/fir/hma/hma1.html" title="Plain HTML Code">HINDU MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/companies/comp1.html" title="whatever:hover file">COMPANIES ACT, 1956</a></li>

<li><a href="http://localhost:8080/fir/it/it1.html" title="Plain HTML Code">INCOME TAX ACT</a></li> <li><a href="http://localhost:8080/fir/part/part1.html" title="whatever:hover file">INDIAN PARTNERSHIP</a></li>

<li><a href="http://localhost:8080/fir/sm/sm1.html" title="Plain HTML Code">SPECIAL MARRIAGE ACT</a></li> <li><a href="http://localhost:8080/fir/reg/reg1.html" title="whatever:hover file">THE REGISTRATION ACT</a></li> <li><a href="http://localhost:8080/fir/motor/motor1.html" title="whatever:hover file">MOTOR VEHICLE ACT</a></li>

</ul> <li><a href="http://localhost:8080/fir/links.html" title="Other useful Links to other sites">Useful links</a></li> </ul> </ul>

<ul> <li><h2>About Us</h2> <ul> <li><a href="http://localhost:8080/fir/about.html" title="About the System, how does it works, what we are for...">About Us</a></li> <li><a href="http://localhost:8080/fir/system.html" title="How does System work">How does System work</a></li> <li><a href="http://localhost:8080/fir/rules.html" title="Terms & Conditions">Rules</a></li> </ul>

68

Page 69: Project Report. of Online Tender in ASP.net

</ul> <ul> <li><h2>Contact Us</h2> <ul> <li><a href="http://localhost:8080/fir/write.html" title="Suggestions, sharing any information...">Write to us</a></li> <li><a href="http://localhost:8080/fir/contact.html" title="Important contacts of concerning authorities">Contacts</a></li> </ul> </ul>

</div><div class="sidenav">

<ul><li><a href="index.html"><b>Home</b></a></li></ul>

<h1>F.I.R.</h1><ul>

<li><a href="http://localhost:8080/fir/lodge.html">Lodge a FIR</a></li>

<li><a href="http://localhost:8080/fir/update.html">Update Details</a></li>

<li><a href="http://localhost:8080/fir/status.html">Check Status</a></li>

</ul>

<h1>Rules & Sections</h1><ul>

<li><a href="http://localhost:8080/fir/fir.html">All About FIR</a></li>

<li><a href="http://localhost:8080/fir/section.html">IPC sections</a></li>

<li><a href="http://localhost:8080/fir/links.html">Useful Links</a></li>

</ul>

69

Page 70: Project Report. of Online Tender in ASP.net

<h1>About Us</h1><ul>

<li><a href="http://localhost:8080/fir/about.html">About Us</a></li>

<li><a href="http://localhost:8080/fir/system.html">How Does This System Works</a></li>

<li><a href="http://localhost:8080/fir/rules.html">Rules</a></li>

</ul><h1>Check Status</h1><form action="status.jsp"><div>

<input type="text" name="status" class="styled" /> <input type="submit" value="Submit" class="button" />

</form></div>

</div><div id="content">

<div id="col1">

<fieldset><legend>Write to Us:</legend>

<div align="left"> <table border="0" width="550" height="157"> <td width="500" height="29" colspan="2" align="center"> <form action="write.jsp" method=post></td>

<tr> <td width="90" height="4" align="right"> <p align="right">Your E-mail ID</p> </td> <td width="115" height="4"><input type="text" maxlength="25" name="email" size="25" onSubmit="validate(this)"> </td> </tr> <tr>

70

Page 71: Project Report. of Online Tender in ASP.net

<td width="110" height="22" align="right"> <p align="right"><font color="red">*</font>Write Us</p> </td> <td width="55" height="22"><TEXTAREA class=Field_White1 name=des rows=10 cols=40 ></TEXTAREA> </td> </tr></table></fieldset>

<p align="center"><input type="submit" value="submit" name="b1">&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="Reset" name="b2"></p>

</form></div> <!-- END COL2-->

</div> <!-- END CONTENT-->

</body>

</html>

71

Page 72: Project Report. of Online Tender in ASP.net

LIMITATIONS OF PROJECT

1. Direct interaction with higher authorities is not feasible.

2. This software does not provide better security any one

with fake ID or stolen ID can misuse it..

3. This site is implemented in English only so could be

uncomfortable to some people.

4. The result of case by the court is not published.

5. This is a computerized project, so it would require some

modification in the software from time to time. Since the

modifications are not easy, so the maintenance is a form

of limitation for the project.

72

Page 73: Project Report. of Online Tender in ASP.net

FUTURE SCOPE

Software scope : Software scope describes the data and control to be processed, function

performance, constraints, interfaces and reliability. Function describes in the statement of

scope are evaluated and in some case refined to provide more detail prior to the beginning

of the estimation. Because both cost and schedule estimates are functionally oriented,

some degree of decomposition is often useful.

We can implement easily this application. Reusability is possible as and when we require

in this application. We can update it next version. We can add new features as and when

we require. There is flexibility in all the modules. Scope of this document is to put down

the requirements, clearly identifying the information needed by the user, the source of the

information and outputs expected from the system.

Reusability: Reusability is possible as and when we require in this application. We can

update it next version. Reusable software reduces design, coding and testing cost by

amortizing effort over several designs. Reducing the amount of code also simplifies

understanding, which increases the likelihood that the code is correct. We follow up both

types of reusability: Sharing of newly written code within a project and reuse of

previously written code on new projects.

Extensibility: This software is extended in ways that its original developers may not

expect. The following principles enhance extensibility like Hide data structure, Avoid

traversing multiple links or methods, Avoid case statements on object type and distinguish

public and private operations.

Robustness: Its method is robust if it does not fail even if it receives improper

parameters. There is some facilities like Protect against errors, Optimize after the program

runs, validate arguments and Avoid predefined limits.

73

Page 74: Project Report. of Online Tender in ASP.net

Understandability: A method is understandable if someone other than the creator of

the method can understand the code (as well as the creator after a time lapse). We use the

method with small and coherent helps to accomplish this.

Cost-effectiveness: Its cost is under the budget and make within given time period. It

is desirable to aim for a system with a minimum cost subject to the condition that it must

satisfy all the requirements.

Future scope:

It is directly dependent on the lay stone of the project that is we will have to design a

system which when the time passes having a better system initially should not become a

joke later.

It is highly likely that the scope will change as the web application project moves

forward; the web-E process model should be incremental. This allows the

development team to “freeze” the scope for one increment so that an operational web

application release can be created. The next increment may scope changes suggested

by a review of the preceding increment, but once the second increment commences,

scope is again frozen temporarily. This approach enables the Web App team to work

without having to accommodate a continual stream of changes but still recognizes the

continuous evolution characteristics of most web application. Besides that, the

following basic quality in the software always safeguards the future scope of the

software.

This project could be upgraded in some other languages, in order to make it user

friendly.

Some Biometrics features could be implemented for identification purpose.

The project could be extended to show the order or justice of the court.

some features could be added like live interactions with higher authorities.

Some NGO’s and Human Rights authorities could be included.

74

Page 75: Project Report. of Online Tender in ASP.net

BIBLIOGRAPHY

Books:

SAMS JAVA SERVER PAGES O’REILLY JAVA SERVER PAGES HEAD FIRST SERVLETS & JSP

Websites:

www.saferindia.com www.fironline.com

www.vidhayakpuripolicejaipur.org

www.delhipolice.nic.in

75

Page 76: Project Report. of Online Tender in ASP.net

76