You are on page 1of 76

NH#2, CHAUMUHAN, MATHURA

A Final Year Project On

ONLINE 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:
Mr PANKAJ SAINI
[Lecturer in IT Dept., IEM]

Submitted By:
ROHIT KUMAR SINGH
0728913040 [Team Leader]

Er.RAM AVTAR MAURYA


[Software developer in Infosys., Candigarh]

SHOBHIT SHUKLA
0728913047 [Member]

UTKARSH SHUKLA
0728913056 [Member]

PUSHPENDRA CHATURVEDI
0728913037 [Member]

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 Pushpendra 0728913040 0728913037

Shobhit Shukla 0728913047

Utkarsh Shukla 0728913040

Signature Signature

Signature

Signature

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 officers 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 ways: FIR online by the general public will help in several

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, wont 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 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 Address 2: Contact Number 3: Identification Proof 4: E-mail address (not mandatory) 5: Place of occurrence of incident 6. Date & Hour of Occurrence 6: 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 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 states police websites etc.

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 officers 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

This report is written as a text for the partial fulfillment of the B.TECH program pursuing for INSTITUTE UNIVERSITY) ENGINEERING AND MANAGEMENT(SIEM) FORM (UPTU

Table of Contents
S.No. No.
1. 2. 3. 4. 5.

Topic
Title Page Abstract Preface Acknowledgement Index

Page
1 2 5 6 7

6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19.

Certificates Present scenario Background Feasibility Study Requirement Analysis Hardware Specification Software Specification DFDs or Flowcharts Databas Schema Program Coding Screen Shoots Limitations of Project Future Developments Bibliography

8 9 10 11 12 13 13 13 15 17 19 70 71 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) Shobhit Shukla (IT, 0728913047)

Utkarsh Shukla (IT, 0728913040) Pushpendra Chturvedi(IT, 0728913037)

PROJECT GUIDE PROJECT HEAD Mr. Pankaj Saini Ravindra Singh


[Lecturer in IT Dept., IEM]

Mr.
[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 Online booking
9

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

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 officers 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

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 has been committed;

12

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

System Specification
Hardware Requirements:
Pentium Series Keyboard Hard Disk 40GB RAM 256 MB

Requirement

Software Requirement:
Windows XP JDK 1.5 Tomcat Server 5.0 Internet Explorer

Technology Used:
Front End HTML JSP/JavaScript Middleware JSP

14

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

DATABASE SCHEMA

Table 1: login_User
Field Name Data Type Description Key constraint

ID Password Fname Lname State

Int(25) char(25) char(25) Char(25) Char(40)

User id (unique) Password First name Last name State

Primary key

16

City1 Address Contact1 Contact2 Email Idtyp Idno State2 City2 Incident place Crime Gender

Char(40) Char(40) Int(10) Int(15) Char(40) Char(40) Int(30) Char(40) Char(40) Char(40) Char(1000) Char(10)

City name Self address Phone no. Mobile no. Email id Type of id Id no. State City Place of incident Crime Gender

17

Table 2: FIR Status


Field Name ID Num Date Update Int(25) int(25) Int(25) Char(40) User (unique) No.of fir Date Updated status id Data Type Description Key constraint Primary key

18

Detailed Design
HOME 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

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

<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

</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 FIR</a></li> <li><a Details</a></li> <li><a Status</a></li> </ul> <h1>Rules & Sections</h1> <ul> <li><a href="http://localhost:8080/fir/fir.html">All FIR</a></li> <li><a sections</a></li> <li><a Links</a></li> </ul> href="http://localhost:8080/fir/links.html">Useful href="http://localhost:8080/fir/section.html">IPC href="http://localhost:8080/fir/status.html">Check href="http://localhost:8080/fir/update.html">Update

About

22

<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 firsthand 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 officers 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

</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 href="http://www.Hurtle.awardspace.com">Hurtle Group</a> </p></div> FOOTER --> </body> </html> by <a <!-- END

24

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

26

CODING FOR LODGE FIR FORM


<html> <head> <meta http-equiv="content-type" content="text/html; charset=iso8859-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> <li><a href="http://localhost:8080/fir/status.html" title="Check the FIR status">Check F.I.R. status</a></li>

27

</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> <ul> <li><h2>About Us</h2> <ul>

28

<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> <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>

29

</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">

<fieldset> <legend>

30

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"> <select name="state1"> <option value="other">other</option> <option value="AP">AP</option> <option value="HP">HP</option> <option value="MP">MP</option>

31

<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> <tr> <td width="306" height="27" align="left"> <p align="right">Mobile no</p> </td> <td width="349" height="27">

32

<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> <option value="DRIVING LICENCE">DRIVING LICENCE</option> <option value="PASSPORT">PASSPORT</option> </select> </td>

33

</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> </select> </td> </tr> <tr> <td width="307" height="27"> <p align="right">City

34

</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> </tr></div> </form> </body></html>

35

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

37

38

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> </ul>

39

</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" sections/laws">IPC sections</a> <ul> <li><a href="http://www.tanfa.co.uk/css/examples/css-dropdownmenus.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-dropdownmenus.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-dropdownmenus.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-dropdownmenus.asp" title="tanfa Introduction">THE PAYMENT OF GRATUITY ACT, 1972</a></li> title="Indian Penal Code

40

<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-dropdownmenus.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-dropdownmenus.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-dropdownmenus.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

<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 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 Details</a></li> <li><a Status</a></li> </ul> href="status.html">Check href="update.html">Update href="rules.html" title="Terms &

42

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

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

<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

<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

}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

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

} catch (Exception e) { e.printStackTrace(System.err); }/*catch(Exception e) {out.println(e); }*/ %></table></div></div> </body> </html>

Update: This feature user dont 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

48

49

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

<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

<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 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>

System

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

52

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

<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

</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

<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

<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

</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

</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

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

61

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

<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

<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 FIR</a></li> <li><a Details</a></li> <li><a Status</a></li> </ul> <h1>Rules & Sections</h1> <ul> <li><a href="http://localhost:8080/fir/fir.html">All FIR</a></li> <li><a sections</a></li> <li><a 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> href="http://localhost:8080/fir/links.html">Useful href="http://localhost:8080/fir/section.html">IPC href="http://localhost:8080/fir/status.html">Check href="http://localhost:8080/fir/update.html">Update

About

64

<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

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

66

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

<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

</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 FIR</a></li> <li><a Details</a></li> <li><a Status</a></li> </ul> <h1>Rules & Sections</h1> <ul> <li><a href="http://localhost:8080/fir/fir.html">All FIR</a></li> <li><a sections</a></li> <li><a Links</a></li> </ul> href="http://localhost:8080/fir/links.html">Useful href="http://localhost:8080/fir/section.html">IPC href="http://localhost:8080/fir/status.html">Check href="http://localhost:8080/fir/update.html">Update

About

69

<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

<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

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

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.

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.

73

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 NGOs and Human Rights authorities could be included.

74

BIBLIOGRAPHY

Books:
SAMS JAVA SERVER PAGES OREILLY JAVA SERVER PAGES HEAD FIRST SERVLETS & JSP

Websites:
www.saferindia.com www.fironline.com www.vidhayakpuripolicejaipur.org www.delhipolice.nic.in

75

76