Upload
koushik-sarkar
View
150
Download
0
Tags:
Embed Size (px)
Citation preview
project On
Web site of Agriculture information services
PROJECTSUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTFOR THE DEGREE OF B.Sc. in Information Technology
OF NORTH BENGAL UNIVERSITY.2010-2011
By
Koushik Sarkar Reg No : 100295
Roll No : 10/BITSS/090196&
Ratan MandalReg No :
Roll No : 10/BITSS/090195
Zed CA STUDY CENTER,UNIVERSITY OF NORTH BENGAL,
RAIGANJ, UTTAR DINAJPUR.Pin code:-733134
We are grateful to Registrar of North Bengal University to co-operate us.
We are also thankful to our internal project guide Smt. Jayati Lahiri(Dey) (Faculty, Raiganj Zed C A) for there moral support and they helps regarding the technical aspects. We are also grateful to Smt.Jayati lahiri (Dey) (Faculty, Raiganj Zed C A) for their kind support.
We are very thankful to NBU study center, Raiganj ZCA for in indebted for being the authority of this course.
We are also grateful to Smt.Bandana Poddar (Centre Manager Raiganj Zed CA) for their kind support.
Signature By:
Smt. Jayati Lahiri (Dey)
Koushik Sarkar Ratan Mandal.
~: ACKNOWLEDGEMENT: ~
CONTENTChapters
1. Introduction
Introduction to Web Page & Web SiteAim Of Our Project:ObjectiveDesigning Smart What is Web Site Hosting?
2. System Analysis.
Have a Specific Site Development Process. Existing SystemDrawbacks in the existing systemProposed SystemBenefit of Proposed SystemProject IntentionFuture of E-Agriculture Information System
3. Introduction to JAVA
4. DatabaseJDBC Connectivity.
5. Java Server page. Introduction to JSP? How Server works?
6. Script Languages Used
JAVASCRIPT How to use Java Script?
DHTML/HTML
7. System Design
DATABASE DesignDataflow DiagramSystem Testing and Implementation Software/Hardware RequirementsRequired Skill Set
8. Code Listing User part. Admin Part.
9. Outputs
Farther Enhancement of Project
Introduction
In the current Internet age, every application is being ported to web and allows the
users to connect with the system and work online. It has allowed people to remove the
barriers of time and distance. Competition and changes in technology and lifestyles have
changed the face of Agriculture. Agriculture being the main financial backbone of any
economy cannot stay behind. Nowadays, Agriculture Information Service are seeking
alternative ways to provide and differentiate their services. Customers, both corporate and
retail, are no longer willing to queue in Agriculture Information Service, or wait on
phones, for the most basic of services. They demand and expect to be able to transact
their financial dealings where and when they wish. With the number of computers
increasing every year, the electronic delivery of Agriculture services is becoming the
ideal way for Agriculture Information Service to meet their client’s expectations.
Online Agriculture or e-Agriculture can be defined as online systems which allow
customers to plug into a host of Agriculture services from a personal computer by
connecting with the AIS server computer over telephone wires. Technology continues to
make online Agriculture easier for average consumers. Agriculture Information Service
use a variety of names for online Agriculture services, such as PC Agriculture, home
Agriculture, electronic Agriculture or Internet Agriculture. Regardless of the name, these
systems offer certain advantages over traditional Agriculture methods.
This application is designed to implement the Agriculture Problem solution on the
web to enable the customers to new Advance agriculture technology available to them 24
hours a day. While the customer has all the options of help online, the administrative
functions are still limited to the AIS officials.
The system should allow the customers to perform the following tasks online:
1. View Agriculture crops cultivation process.2. Farmer’s comment or user comment.3. Request Agriculture crops cultivation related any Question from user.
4. Administrator Staff answering user question. 5. Request the Article from the user or farmer.
The system should also allow the Agriculture Information Service officials to do the following operations:
1. Open a new account and create a new user2. Service the Farmer cultivation question request3. Service the new cultivation process.4. Service the new Crops seed verity and the cultivation process.
Aim Of Our Project:
With rapid advances in telecommunication systems and digital technology, it is
difficult to predict how Internet Agriculture will improve and expand in coming years.
But with the number of computers increasing every year, the electronic delivery of
services is becoming popular in the Agriculture sector. The Indian experience of E –
Agriculture is gradually merging with its international counterparts. While the private
sector and National or our State Agriculture Information Service have been first and fast
in adopting internet technology in client servicing, there is a gradual trend for the major
public sectors and numerous co-operative units to move in the same direction.
Objective
Objective of this project is to allow the Agriculture Information Service to expose its
functionality on the web, making their service available to the user – Customers. While
the customers can enjoy operating their account sitting in their homes, the Agriculture
Information Service officials, working as administrators of the system are exposed to the
service areas of the application.
A Customer can have multiple accounts with the Agriculture Information Service
and use the same user name and password to access them. The user name and password is
provided to the customer on successful opening of the account. On acceptance of the
details, an account is opened and the user name and password is created and given to
them. Customers can change the password at their on leisure. Customers can modify their
personal / account details or change their password.
Once a transaction is saved, the account balances must be adjusted accordingly and
the new balance must be shown. Requires interaction of the Agriculture Information
Service officials and hence it can only be requested. The request will be seen by the
Agriculture Information Service official during their business hours and processed. It
might be required for the Agriculture Information Service to freeze someone’s account be
provided to this effect and the customer whose accounts are frozen should not be allowed
to interact with the system.
Designing Smart
"Smart" designing is the key to keeping visitors at your site. If a visitor stay long enough
your message should get across & increases your chances of turning that visitor into a
customer. If a site is poorly designed the visitor will become frustrated, confused &
finally fed-up enough to leave. We make many steps to make sure this
Does not happen on our site. We have to pay careful attention to the navigational
structure of your site during the designing stages. A web site should ideally have:
No broken links or dead ends.
The navigational bar or website directory should be easy to understand and attractive.
Design should be attractive in 1024 X 768 resolutions.
Text only versions of any forms should be made available to visitors who are using
browsers that do not support forms. This also extends to the use of frames in a web site
which are highly recommended not using unless there is a text only alternative.
Customs colors should all be loaded on to your Web site so that visitors without high-end
computers can still view your site as you intended.
You should always use Alt image tag on all graphics for those visitors who are “surfing
text-only”.
Graphics file size should be reducing to decrease load time.
What is web site hosting?
To have a web site for world to see, you have to keep it on the web server. Your web
browse will communicate to your web browser just to retrieve and display the web page
on the screen.
You can either buy your web server or you can pay someone else for use of their
web server. If you choose to have your own, you will be committing labour and money to
purchase and support that server and all that implies. There are capital expenses for
hardware and software up front and if you don’t have one already, you will need a high
speed connection to your office 24 hours a day, 7 days a week. Such permanent
connections are not inexpensive. And your web site visitor, whether current or
prospective clients, will need the server to be constantly available. They will come to
count on it.
Web site hosting providers are a new breed of Internet providers. These specialists
have one or more powerful web servers that can be shared by several companies. And
these servers allow each web site to appear with its won virtual web domain. In addition
to powerful web servers, providers also should have a very fast connection to the Internet.
The better providers will have a full T3 fiber-optic connection delivering a staggering
45bps. That is the equivalent of almost 2000 modems at 28.8 Kbps all operating at top
speed.
Chapter 2
SYSTEM ANALYSIS
Perhaps the most overlooked aspect of the Web development is the planning process.
This might be because most people need or want their web site yesterday, so a mad dash
to get the site up ensues. The optimistic world of Web development is akin to a fast
moving train. It arrives on time but can leave a sloppy mess in its path!
Have a specific site Development Process
Web developers need to slow down, take a deep breath, and apply planning & production
techniques to their site development goals. At the end of web, they are sure to be more
gratified knowing that they have done the job well and they don’t have to go back and
read something because it was a rush job.
There is simply no reason that developer can’t draw from existing methodologies to
create a framework upon which to build their sites. To areas of strength already exists:
media production technologies and software application development guidelines. By
combining these methodologies, developers can significantly strengthen their work.
A combination of media production and software development methods is a natural for
web site design.
Existing system:
For any type of transaction a person has to go to Agriculture Information Service. It
is a very time-consuming process. Because if a person is out of station then a person has
to come to a particular branch of Agriculture Information Service for any type of
transaction. It means that a person who wants to do any type of transaction such as he
wants to open a new account then he has to come to the Agriculture Information Service
himself manually. All tasks such as deposit and withdrawal of money, opening a new
account, applying for car loan, educational loan, house loan etc. are processed by the
employees of a Agriculture Information Service. If an employee is busy then a customer
has to wait for a while, so this is very time consuming for the customer to do a particular
transaction with the Agriculture Information Service. If more than one person come for
transaction then person has to wait in a queue for a long time.
In existing system there is a limitation of time for doing a transaction, because a
person has to walk with the Agriculture Information Service timing specified by the
Agriculture Information Service. And if a person who wants to transfer his money from
his account to another account of a person, then it takes time to be processed.
Drawbacks in the existing system:
There are a few drawbacks in the existing system like:
1. The main drawback of existing system is ,its time consuming.
2. The second drawback is it uses pen and paper technique.
Proposed System:
Limitations faced in the existing system can be overcome with the concept of E-
Agriculture. All tasks performed manually can be done with computerized systems
nowadays. Today E-Agriculture has become the most efficient way to do a transaction
very fast. Majority of the transactional services will be provided by way of Internet. Net-
Based Agriculture comes at only 10% of the operating costs of conventional Agriculture
and services.
A cost comparison study done by IBM Global Services Consulting Group shows the
advantage of using Internet as medium for Agriculture Services over other traditional
medium. As per the recent survey traditional Agriculture Information Service spend 60%
of the revenues generated to run a branch where as the cost of providing the same services
via Internet comes out to be only 15%. This is a huge savings for Agriculture Information
Service and Consumers. Consumers will access the same Services with more efficiency at
low cost.
A research shows that a large population use Internet for gathering information
about different financial products like Personal Loan, Credit Card, Insurance etc. thus
reducing cost of printing, promotion and distribution.
The Major prospect of this project is to make web enabled application, which is
administrative based to provide the complete information about all the internal activities
taking place in side a Agriculture Information Service. This application is also aimed to
provide the information for the account holders to know all there transactions.
Benefits of Proposed System
The main benefit is, customers can enjoy operating their account in their homes, the
Agriculture Information Service officials, working as administrators of the system are
exposed to the service areas of the application. It allows us to build a unique personal
payee list on-line and schedule payments to be made on time. Totally compressive, yet
customizable by each and every user ,bill pay thorough Net advantage providers the
convenient, accessibility, reliability and security demanded by today’s Agriculture
customer.
Project Intention
To overcome the problems of existing system. To develop computerized system to handle all types problems occurring in the Agriculture Information Service. To reduce time and cost.
Potential areas where E-Agriculture can be used are as follows:
Anywhere Agriculture: Citizen can
Advantage: Customer
Consumers can use their computer and a telephone modem to dial in from home or any site where they access to a computer.
The services are available seven days a week, 24 hrs a day
Transactions are executed and confirmed almost instantaneously.
Also, the range of transactions available is fairly broad. Consumers can do everything from simply checking on an account balance to applying for a mortgage.
Time saving and convenience.
Advantage: Organizations
Improve customer access
Facilitate the offering of more services
Increase customer loyalty
Attract new customers
Increase customer satisfaction
24 x 7 client-servicing- for general services
Reduction in cost, as the need for manpower is reduced
Transparent and fast response
Future of E-Agriculture
With rapid advances in telecommunication systems and digital technology, it is
difficult to predict how e Agriculture will improve and expand in coming years. For
example, Internet Agriculture via mobile phones using Wireless Application Protocol
(WAP) or Agriculture services through the TV screen via the new interactive TV
channels may become established. It is likely that the number of customers wanting to
Agriculture Information Service online will increase which could lead to high street
Agriculture Information Service offering personalized services and better online customer
care. To combat computer crime and increase security levels, Agriculture Information
Service may consider new security measures such as iris, voice and fingerprint
recognition, smart cards and electronic signatures.
The Agriculture sector, as a whole, is undergoing a transformation, primarily
because of the advent of the internet. Financial institutions are realizing that e-Agriculture
is not just another distribution channel for their services, but a revolution as the Internet
and its associate development challenge the traditional Agriculture practices and core
business units.
Corporate Agriculture Information Service are carefully considering the best way
forward and many are viewing the e-Agriculture phenomenon an opportunity and not a
threat. Smaller Agriculture Information Service need to look at how they can best
compete in their market. Developing their own Internet solutions is rarely possible and so
they must look at other options to facilitate e-Agriculture and e-commerce initiatives.
System Study:
Initial study:
This involves the investigation of the existing system which is time consuming with
the user and is insufficient depth. This also includes the collection and study of detailed
information and literature regarding the complete existing procedure.
The detailed initial study properly documented and the failing and problems are
noted separately. The system is properly designed and proper outline of the proposed
computerized system is prepared. The proposed design is brought against all the known
facts and further proposals are made. Various resources including the software, hardware
and manpower requirements are decided and are mentioned in the report.
User Objectives:
The system shall:
Be in accord with macro and micro level activities of a Net Agriculture Information
Service.
Be user-friendly and shall facilitate smooth functioning of an e-Assembly application.
Reduce operating costs and saves time.
Enable online –status review.
Be flexible and adaptable to the existing process.
Allow some amount of customization.
Provide for seamless integration of all the modules.
User Requirement Specifications:
Actual user community participation and their requirements analysis is key to
success of any new information system. To carry out this work, identification of users
who will actually use the system is foremost. Users at every level were even an
opportunity to define their goals, objectives and their respective information needs. In
addition to this exercise a critical through investigation of present reports and query
generated, were carried out to define any other additional requirements that can be useful
to the others.
The findings of users and other related exercise to access particular user needs are
summarized below concisely:
The System must provide a graphical user interface.
Redundancy must be reduced at the maximum level.
Discrepancies should be avoided
Security systems must be provided
Feasibility Study:
The prime focus of the feasibility study is evaluating the practicality of the proposed
system keeping in mind a number of factors. The following factors are taken into account
before deciding in favor of the new system:
Technical Feasibility
As the saying goes, "to err is human". Keeping in view the above fact, bow-a-days
all organizations are automating the repetitive and monotonous works done by humans.
The key process areas of current system are nicely amenable to automation and hence the
technical feasibility is proved beyond doubt.
Operational Feasibility: -
The day to day maintenance of the Resume details is error prone and time-
consuming. The computerization will not only increase the operational efficiency of the
staff.
Time and Resource Feasibility: -
This system helps the user to find in the best usage of resources keeping in track of
all the resume details over a period of time, thereby reducing the decision making process
easier and worthwhile. Acts to be a solution provider in determining the best allocation of
resources and finding out the way for time reduction.
System design provides the understandings and procedural details necessary for
implementing the system recommended in the system study. Emphasis is on the
translating the performance requirements into design specifications. The design phase is a
transition from a user-oriented document (System proposal) to a document oriented to the
programmers or database personnel.
System design goes through two phases of development:
1) Logical Design
2) Physical Design
A data flow diagram shows the logical flow of the system. For a system it describes
the input (source), output (destination), database (data stores) and procedures (data flows)
all in a format that meets the user’s requirement. When analysis prepare the logical
system design, they specify the user needs at a level of detail that virtually determines the
information flow into an out of the system and the required data resources. The logical
design also specifies input forms and screen layouts.
The activities following logical design are the procedure followed in the physical
design e.g., producing programs, software, file and a working system. Design
specifications instruct the user about what the system should do.
Logical and Output Design:
The logical design of an information system is analogous to an engineering blue
print of an automobile. It shows the major features and how they are related to oe another.
The detailed specification for the new system was drawn on the bases of user’s
requirement data. The outputs inputs and databases are designed in this phase.
Output design is one of the most important features of the information system. When
the outputs is not of good quality the users will be averse to use the newly designed
system and may not use the system. There are many types of output, all of which can be
either highly useful or can be critical to the users, depending on the manner and degree to
which they are used.
Outputs from computer system are required primarily to communicate the results of
processing to users, They are also used to provide a permanent hard copy of these results
for later consultation. Various types of outputs required can be listed as below:
External Outputs, whose destination is outside the organisation
Internal outputs, whose destination is with the organisation
Operational outputs, whose use is purely with in the computer department e.g., program-listing etc.
Interactive outputs, which involve the user is communicating directly with the
computer, It is particularly important to consider human factor when designing computer
outputs. End user must find outputs easy to use and useful to their jobs, Without quality
output, user may find the entire system unnecessary and avoid using it. The term
“Output” in any information system may apply to either printer or displayed information.
During the designing the output for this system, it was taken into consideration, whether
the information to be presented in the form of query of report or to create documents etc.
Other important factors that were taken into consideration are:
The End user, who will use the output.
The actual usage of the planned information
The information that is necessary for presentation
When and how often output and their format is needed. While designing output for
project based Attendance Compilation System, the following aspects of outputs designing
were taken into consideration.
The outputs (i.e., well formatted table outputs in the screen itself) designed are
simple to read and interpret.
Format of each output was another important point taken into consideration. Output
media, for each output appropriate media is decided whether it will be displayed on
screen or will be taken to printer or both.
Other output design related specifications, i.e., how frequently the outputs will be
generated, how many pages or sheets approximately it will keep up, what is its planned
use and output distribution to users are also taken into account.
These were a few major designing issues, which were taken into consideration,
while deciding the output specifications for the system. As direct beneficiary of reports is
the user community, they were consulted constantly at every level. Formats and screen
design for various reports were identified, taking into account the user requirements.
Before finalising these were given to users for any improvement and suggestions. End
users issues taken into consideration were Readability, Relevance and Acceptability.
Once all the output reports to be generated by ACS system were identified, they
were given to users for their acceptance. For prototyping various outputs, final outputs
models were created with dummy data, before they were finalised.
Output Sources:
Output contents originate from these sources:
Retrieval from a data source.
Transmission from a process or system activity.
Directly from an input source.
The information produced in an output can be presented as
Tabular contents
Graphic format
Using Icons
Output Definition:
The output should be defined in terms of:
Types of outputs
Content-headings, numeric, alphanumeric, etc.,
Format-hardcopy, screen, microfilm, etc.,
Location-local, remote, transmitted, etc.,
Frequency-daily, weekly, hourly, etc.,
Response-immediate with in a period, etc.,
Data items
The name given to each data item should be recorded and its characteristics described clearly in a standard form:
Whether alphanumeric or numeric
Legitimate and specific range of characteristics
Number of characters
Positions of decimal point, arithmetic design, etc.,
Input Design:
The input design is the link that ties the information system into the user’s world. Input
specifications describe the manner in which data enters the system for processing. Input
design features can ensure the reliability of the system and produce results from accurate
data, or they can result in the production of erroneous information.
Input Design consists of
Developing specifications and procedures for data preparation
Steps necessary to put data into a usable form for processing.
Data entry, the activity of putting data into the computer processing.
Objectives of Input design
Five objectives of design input focus on
Controlling the amount of input required
Avoid delay
Avoiding errors in data
Avoiding extra steps.
Keeping the process simple.
Input stages several activities have to be carried out as part of te overall input process. They include some or all of te following.
Data recording (i.e., collection of data)
Data encapsulation (i.e., transfer of data)
Data conversion (i.e., controlling the flow of data)
Data transmission (i.e., transporting the data)
Data validation (i.e., checking te input data)
Data correction (i.e., correcting the errors)
Input Performa were designed, after a careful discussion with users. It was attempted
to cover all user requirements. Designed Performa were given to user for any suggestion
and final approval.
Various data items were identified and wherever necessary were recorded. As the
data concerning of ACS is voluminous in nature and number of case will grow
dynamically in future, proper care was taken for accuracy and consistency of data.
Input designs are aimed at reducing the chances of mistakes of errors. As the human
beings are prone to errors there is always a possibility of occurrence of chance of errors.
Adequate validation checks are incorporated to ensure error free data storage. Some of the
data validation checks applied are as following:
Redundancy of data is checked. It means the records of primary key do not occur
twice.
Primary key field of any table must not be left blank.
Wherever items are coded, input code is checked for it’s validly with respect to
several checks.
Utmost care has been taken to incorporate the validation at each stage of the system.
E.g. when entering records into employee information table for employee, it is checked
that whether the corresponding employee exists in the employee information table etc.,
Enough messages and dialogue boxes are provided while design screen, which does
guide user at the time of any errors, or at time of entry. This feature provides a user-
friendly interface to native users. It can be emphasized that input deigns of ACS system is
so designed that it ensures easy and error free data entry mechanism. Once one is sure of
input data the output formatting becomes an routine work.
Modules of the project:
E-Agriculture has in all 2 modules and shall be implemented in phases. The number
of phases and the modules will be implemented as follows.
Module-1
Admin Module
Module-2
User Module
INTRODUCTION TO JAVA
CREATION OF JAVA
Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank and Mike
Sheridan at SUN Microsystems Incorporation in the year 1991.It took 18 months to
develop the 1st working version. This language was initially called “OAK”, but was
renamed “JAVA” in 1995, many more contributed to the design and evolution of the
language.
JAVA OVERVIEW
Java is a powerful but lean object-oriented programming language. It has generated
a lot of excitement because it makes it possible to program for Internet by creating Applets.
Programs that can be embedded in web page. The context of an applet can be an animation
with sound, an interactive game or a ticker tape. With constantly updated stock prices.
Applets can be just little decorations to liven up web page, or they can be serious
applications like Word processor or Spreadsheet.
But Java is more than a programming language for writing Applets. It is being used
more and more for writing standalone applications as well. It is becoming so popular that
many people believe it will become standard language for both general purpose and
Internet programming.
There are many buzzwords associated with Java, but because of its spectacular
growth in popularity, a new buzzword has appeared ubiquitous. Indeed, all indications are
that it will soon be everywhere.
Java builds on the strength of C++. It has taken the best features of C++ and
discarded the more problematic and error prone parts. To this lean core, it has added
garbage collection (automatic memory management), multithreading (the capacity for one
program to do more than one thing at a time), security capabilities. This result is that Java is
simple, elegant, and powerful and easy-to-use.
Java is actually a platform consisting of 3 components:
1. Java Programming Language.
2. Java Library of Classes and Interfaces.
3. Java Virtual Machine
The following sections will say more about these components.
JAVA IS PORTABLE:
One of the biggest advantages Java offers is that it is portable. An application
written in Java will run on all the major platforms. Any computer with a Java-based
browser can run the applications or Applets written in the Java-Programming-Language. A
programmer no longer has to write one program to run on a Macintosh, another program to
run on a Windows-machine still another to run on a UNIX-machine and so on. In other
words, with Java developers write their programs only once.
The Virtual Machine is what gives Java is cross platform capabilities. Rather being
compiled into machine language, which is different for each OS’s and computer
architecture, Java code is compiled into Byte codes.
With other languages, the program code is compiled into a language that the
computer can understand. The problem is that other computers with different machine
instruction set cannot understand that language. Java code on the other hand is compiled
into Byte-Code rather than a machine language. These byte codes go to the JVM, which
executes them directly or translates them into the language that is understood by the
machine running it.
In summary, these means that with the JDBC API extending Java, a programmer
writing Java code can access all the major RDBMS on any platform that supports the JVM.
JAVA IS OBJECT-ORIENTED
The Java programming language is OBJECT-ORIENTED, which makes program
design focus on what you are dealing with, rather than on how your are going to do
something. This makes it more useful for programming in sophisticated projects, because
one can break the things into understandable components. A big benefit is that these
components can then be reused.
Object-Oriented Languages use the paradigm of classes. In simplest term, a class
includes both the data and the functions to operate on data. You can create an instance of a
class, also called an object, which will have all the data members and functionality of its
class. Because of this, you can think of a class as being like template, with each object
being a specific instance of a particular type of class.
The class paradigm allows one to encapsulate data so that specific data values are
those using the data cannot see the function implementation. Encapsulation makes it
possible to make the changes in code without breaking other programs that use that code.
If for example, the implementation of a function is changed, the change is invisible
to any programmer who invokes that function, and does not affect his/her program, except
hopefully to improve it.
Java includes inheritance, or the ability to derive new classes from existing classes.
The derived class, is also called as Sub-Class, inherits all the data in the functions of the
existing class.
JAVA DEVOLPMENT EVNIRONMENT
To code, edit, debug and test the java programs, one needs to have a java development
environment. At the minimum this will consists of a java compiler interpreter and applet
viewer where applets can be tested.
Sun’s java development kit (JDK) latest version is 2.2 can be freely downloaded
from the Internet.
Java compiler is available on DOS, Win95, WIN’NT, Solaris and MAC etc
INTRODUCTION TO JDBC
JDBC (Java Database connectivity) is a front-end tool for connecting to a server to
ODBC in that respect, however JDBC can connect only java client and it uses ODBC for
the connectivity. JDBC is essentially a low-level API since any data manipulation, storage
and retrieval has to be done by the program itself. Some tools, which provide a higher-level
abstraction, are expected shortly.
The next question that needs to be answered is why we need JDBC, once we have
ODBC on hand. We can use the same ODBC to connect the entire database and ODBC is
a proven technology.
Problem for doing this is ODBC gives a ‘c’ language API, which uses pointers
extensively. Since java does not have any pointes and is object-oriented sun
Microsystems, inventor of java developed to suit its needs.
Requirements to use JDBC:
To use JDBC you need a basic knowledge of databases and SQL.A part from this
you need the jdk1.1 (Java Development Kit1.1 available javasoft’s website) or a version
of Java since jdk1.1 and above come bundled with JDBC software.
After that you need to have a back-end database engine for which a JDBC driver is
available. When JDBC drivers are not available JDBC-ODBC bridge drivers are used to
access the database through ODBC. Back-end is not needed when JDBC driver is capable
of storing and retrieving the data itself, or if JDBC-ODBC Bridge and the ODBC driver
can be used to store and retrieve the information.
Database Models:
JDBC and accessing the database through applets and JDBC API via an
intermediate server resulted server resulted in a new type of database model which is
different from the client-server model. Based on number of intermediate server through
the request should go it is named as single tire, two tire and multi tire architecture
Single Tier
In a single tier the server and client are the same in the sense that a client program
that needs information (client) and the source of this type of architecture is also possible
in java, in case flat files are used to store the data. However this is useful only in case of
small applications. The advantage with this is the simplicity and portability of the
application developed.
Database
Two Tier (client-server)
In two tier architecture the database resides in one machine and client in different
machine they are connected through the network. In this type of architecture a database
management takes control of the database and provides access to clients in a network.
This software bundle is also called as the server. Software in different machines,
requesting for information are called as the clients.
Server and client
Server
Client
Client
Database
JDBC Driver Types:
The JDBC drivers that we are aware of at this time fit into one of four categories:
1. JDBC-ODBC BRIDGE PLUS ODBC DRIVER
The java soft bridge product provides JDBC access via ODBC drivers. Note that
ODBC binary code end in many cases database client code must be loaded on each client
machine that uses this driver. As a result, this kind of driver is most appropriate on a
corporate network where client installations are not major problem, or for application
server code written in java in a 3-tier architecture.
2. NATIVE API PARTLY-JAVA DRIVER
This kind of driver converts JDBC calls into calls on the client API for oracle
Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of
driver requires that some binary code be loaded on each client machine.
Chaper7JAVA Server Page
The java framework provide s a platform for enterprise application with a wide support for API like JSP, Servelets, Java Support for XML , Java messaging, JDBC and EJB etc.
Java server pages or JSP is similar to Microsoft‘s Java Server Pages. Both provide web developers with a framework to create dynamic contention server using HTML templates. However JSP does this by means of java byte code and it extends the java Server API.
We can dynamically edit, change or any edit content of a web page Respond to user requires or data submitted from JSP forms Access any data or databases and returned the results to a browser customize a web page to make it more useful for individual users The advantages of using JSP instead of CGI and Perl, are those of simplicity and speed provides security since your JSP code can not be viewed from the browser Since JSP files are returned as plain HTML, they can be viewed in any browser Clever JSP programming can minimize the network traffic .
JSP stands for Java Server Pages. JSP is a program that runs inside all major web Servers including apache, to run a JSP form we have needed apache tomcat server; we can download this from the apache group’s sites as a free component. We can use any plat forms by the several Microsoft Windows, Mac OS, Linux and any other UNIX platform.
2) How Does a JSP do its Work?
To see how a JSP works and its lifecycle? Let's look at a very simple JSP program.We create a simple HTML form, SimpleJSP.html which allows a user to type number into a form in their web browser, and submit the form to the server. The server will respond with "Hello! World" repeated that number of times followed by a standard footer at the bottom of the page.
Introduction To Java server page (jsp)
The content of the SimpleJSP.jsp are:<HTML><BODY><TITLE> SIMPLE JSP EXAMPLE</TITLE><BODY><P>HOW MANY TIMES?</P><FORM METHOD="GET" ACTION="SimpleJSP.jsp"><INPUT TYPE="TEXT" SIZE=15 NAME="NAME"><INPUT TYPE="SUBMIT"> </FORM></BODY></HTML>
When the user clicks the submit button, the browser sends a request to the web server for SimpleJSP.jsp, and includes with its request the value entered by the user.
So, what happens when the browser requests our JSP page?First, as we said, the browser sends its request to the server, asking for the page SimpleJSP.jsp with its full address. This specifies the value of the NAME parameter as a GET parameter.The web server recognizes the .jsp file extension in the URL requested by the browser, indicating that the requested resources a Java Server Page, and therefore that this request must be handled by the JSP engine.
The JSP page is then translated into a Java class, which is then compiled into a Servlet . This translation and compilation phase occurs only when the JSP file is first call, or when it subsequently changes. You will notice a slide delay the first time that a Java Server Page is run because of this. For each additional request of a JSP there after, there is no delay because the request goes to the Servlet byte code already in memory.
When the servlet is first loaded into the Virtual machine the init() method is called, to perform a new global initialization that every request of the Servlet will need. Then the individual requests are sent to service() method, where the response is put together.
3) What do JSPs contains?
Java Server Page are, on the whole text files that combine standard HTML, and new scripting tags .JSP's look like HTML, but they get compile in the Java Servers the first time they are invoked. The resulting Servlet is a combination of the HTML from the JSP file and embedded dynamic content specified by the new tags. That is not to say that JSP's must contain HTML. Some of them will contain only Java Code, this is particularly useful in JSP is responsible for a particular task like maintaining application flow. Everything in a JSP page can be broken into two categories.
Elements that are processed on the server. Template data or everything other than elements that the engine processing the JSP
ignores.
Now it is important to examine the JSP model a little to see what these elements actually do.
A JSP page is executed by a JSP engine or container, which is installed on a web server, or an application server. When the client asks for a JSP resource the engine wraps up that request and delivers it to the JSP along with a response object. The JSP process the request and modifies the response object to incorporate the communication with the client. The container then wraps of the responses from the JSP page and delivers it to the client. It is imperative to keep in mind that the underline layer for a JSP is that of a Servlet implementation. The abstractions of the request and response are the same as the javax.servlet.ServletRequet and javax.servlet.ServletResponse respectively. Keep in mind that the basic Servlet architecture in most protocol specific and the javax.servlet.http package is just one implementation of this architecture. A JSP container or a Engine must support HTTP, but is free to support additional protocols.
The first time the engine intercepts a request for a JSP, it compiles this translation unit into a class file that implements the server protocol. If the dependent files are other JSP's they are compiled into their own classes. This is shown into figure two:
4) Element Data:-
Element data are that part of JSP which are processed on the Server, can be classified into following categories:
Directives Declarations Scriplets Expressions Standard Actions
# Directives:-
JSP directives serve as messages to the JSP container from the JSP. They are used to set global variables such as class declaration, methods to be implemented output content, type etc. . They do not produce any output to the client. All directives have scope of the enter JSP file. In other words, directives affect the whole JSP file, and only that JSP file. Directives are characterized by the @ character within the tag, and the general syntax is
<%@ directivename attribute="value" attribute="value" %>The three directives are
The page directives1> The include directives2> The taglib directives
The page directives:-The page directive defines a number of important attribute that affect the whole page.
<%@page attributes %>
The attributes are as follows:1.. Language2.. extends3.. import4.. session5.. buffer6.. autoFlush7.. isThreadSafe8.. info9.. isErrorPage10.. errorPage11.. contentType
The include directive:-
The directive notifies the container to include the content of resource to the current JSP, inline, at the specified place. Of course the file specified should be accessible and available to the JSP container.
<%@include attributes %>
The attribute is as follows:1..file
The taglib directive:-
This directives allows the page to use custom user defined tags. It also names the tag library that they are defined in. The engine uses this tag library to find out what to do when it comes across the custom tags in the JSP.
<%@taglib uri:=tagLibraryURI prefix="tagPrefix" %>
The attributes are as follows:
1..uri2..tagPrefix
5) Scripting Elements:-
Scripting elements are used to include scripting code within the JSP. They allow you to declare variables and methods, include arbitrary scripting code, and evaluate an expression.
The three types of scripting elements are:1> Declarations2> Scriptlets3> Expressions
Declarations:-
A declaration is a block of Java code in a JSP that is used to define class-wide variables and methods in the generated class file. Declarations are initialized when the JSP page is initialized and have "class" scope. Anything defined in a declaration is available through out the JSP, to other declarations, expressions or code. A declaration block is enclosed between <%! %>.
<%!java variable and method declaration(s) %>
Scriptlets:-
A Scriptlet is a block of Java code that is executed at request processing time. A scriptlet is enclosed between <% %> tags . What the scriptlet actually does depends on the code, and it can produce output into the output stream to the client. Multiple scriptlets are combined in the compiled class in the order objects inside them as a result of method invocation.
<% java code statements. %>Expressions:-
An expression is a shorthand notation for a scriptlet that outputs a value in the response stream back to the client. When the expression is evaluated, the result is converted to a string and displayed. An expression is enclosed within <%= %>. If any part of the expression is an object, the conversion is defined by using the toString() method of the object.
<%= java expression to be evaluated %>
Running JSP on PCs:
User can run JSP on PCs with an external server. To do that user must install Apache Tomcat Web Server in C:\\ drive.
To install Tomcat 4.1.18
1. Download the zip file from www.webagesolutions.com/download/ jakartatomcat-4.1.18.zip using the username and password access2.
2. Unzip the file into <drive>\temp. This will create a new subdirectory namedJakarta-tomcat-4.1.18.
3. Move the contents of the jakarta-tomcat-6.0 to <drive>\tomcat.
4. From the Control Panel, select System, the advanced tab and then Environment Variables. Add the following new environment variable to point to the root directory of your Tomcat hierarchy:
Variable Name: CATALINA_HOMEVariable Value: <drive>\tomcatMake sure you do not place a \ after tomcat.
5. Add the following new environment variable, JAVA_HOME, to point to the root directory of your JDK hierarchy:
Variable Name: JAVA_HOMEVariable Value: <drive>\jdk1.3.1_08
6. Set the environment variable, CLASSPATH, to point to the root directory of your class files you will create. I.e., set it to:<drive>\tomcat\common\lib\servlet.jar;
7. Start Tomcat using the <tomcat install>\bin\startup command. Open aCommand Prompt window, change the directory prompt to<drive>\tomcat\bin>and enterstartup
8. Open a web browser, such as Internet Explorer or Netscape Navigator, and go tohttp://localhost:8080. You should see a web page with the Tomcat logo at thetop.Run Project: - http://localhost:8080\Online Travel ManagementStop Tomcat using the <tomcat install>\bin\shutdown command.
We now consider and study the simple ‘three-tier architecture’ that is implemented using a java beans. As in show in figure.
How Java Server pages works?
An incoming request from abrowser is response to by a servlet that controls the processing within the Application Server. Next that is controller select one or JavaBeans. Which provided access to the application business logic. The jsp then perform or orchestrate the performance of the necessary computation. Which result in the dynamic to be presented back to the client. Next the controller will select the appropriate “presentation” template a java Server Pages(JSP) and invoke it to display the dynamic control. This JSP merges the dynamic content into an HTML page template..
Chapter 8
Scripting Language Uses
Hypertext Markup Language/Dynamic Hypertext Markup Language (HTML/DHTML) Dynamic Hypertext Markup Language, or DHTML, is a system of codes that you see to use to create interactive, online pages.DHTML is a system of codes that identify parts and characteristics of documents. HTML's are plain text files, and DHTML’s are files that containing images, sounds, videos, division and animations. These can include "pointers" or links to the files, and also take care of the Web pages that contain non text elements. HTML and DHTML are made up of tags and attributes that work together to identify document parts and tell browses how to display them.
What tools do you need?You need only two basic tools, to create your first HTML/DHTML document.
An HTML/DHTML editor, to create and save your HTML/DHTML documents.A web browser, to view and test your HTML/DHTML documents.
In general, HTML/DHTML editors fall into two categories:1) Text or code based, which allow you to see the HTML/DHTML code as you
are creating documents.2) WYSIWYG (What You See Is What You Get), which show the results of
code, similar to way it will appear in a browser, as you are formatting your document.
The life cycle of any HTML/DHTML document includes developing, testing and maintaining
it - whether it’s ultimate home is an intranet, on the Internet. The development of a web
document is a four-phase process, and within each phase there are sub processes
JavaScript Language:
JavaScript is a script-based programming language that supports the development of both client and server components of Web-based applications. We have mostly used Java Script as a client side tool through out of our project especially for client side form validation, putting some effects etc.On the client side, it can be used to write programs that are executed by a web browser within the content of the Web page.
An User can use JavaScript by the following way in an notepad or any text editor :
How to use JavaScript?
<html><head><title>Use of JavaScript</title><Script language=JavaScript>Function message()alert(“Java Script is running”);End Function</Script> <head><body onload=”message()”></body></html>
While an user can not mention any scripting language then users have to declare <Script language=”JavaScript”>java code</Script>.By default it takes VbScript.
Dynamic Hypertext Markup Language, or DHTML, is a system of codes that you see to use to create interactive, online pages.DHTML is a system of codes that identify parts and characteristics of documents. HTML's are plain text files, and DHTML’s are files that containing images, sounds, videos,division and animations. These can include "pointers" or links to the files, and also take care of the Web pages that contain non text elements. HTML and DHTML are made up of tags and attributes that work together to identify document parts and tell browses how to display them.
What tools do you need?You need only two basic tools, to create your first HTML/DHTML document.
An HTML/DHTML editor, to create and save your HTML/DHTML documents.A web browser, to view and test your HTML/DHTML documents.
In general, HTML/DHTML editors fall into two categories:1) Text or code based, which allow you to see the HTML/DHTML code as you
are creating documents.2) WYSIWYG (What You See Is What You Get), which show the results of
code, similar to way it will appear in a browser, as you are formatting your document.
The life cycle of any HTML/DHTML document includes developing, testing and maintaining
it - whether it’s ultimate home is an intranet, on the Internet. The development of a web
document is a four-phase process, and within each phase there are sub processes
HTML DHTML
JavaScript Language :
JavaScript is a script-based programming language that supports the development of both
client and server components of Web-based applications. We have mostly used Java Script as
a client side tool through out of our project especially for client side form validation, putting
some effects etc.. On the client side, it can be used to write programs that are executed by a
web browser within the content of the Web page.
SYSTEM DESIGN
DATABASE DESIGN:
New User Register information
Sl.No
Field Name Data Type Length Domain Constraints
1. Registration No Number 10 0-9 Not Null
2. Country Text 250-9,a-z,A-
ZNot Null
3. User Name Text 100-9,a-z,A-
ZPrimary Key
4. Password Text 20 0-9,-,’ ‘ Not Null
5. Secret Question Text 400-9,a-z,A-
ZNot null
6. Secret Answer Text 400-9,a-z,A-
ZNot null
7. First Name Text 20 a-z, A-Z Not null
8. Sure Name Text 20 a-z, A-z Not Null
9. Sex Text 10 a-z, A-z Not Null
10. Date of Birth date 10 Not Null
11.Edu_Qualificatio
n Text 12
0-9, a-z, A-Z
Not Null
12. E – mail Id Text 250-9, a-z,
A-ZNot Null
13. Phone Text 15 0-9 Not Null
14. Mobile Text 10 0-9 Not Null
15. City Text 20 a-z, A-Z Not Null
16. State Number 3 0-9 Not Null
Article Post
Sl.No Field Name Data Type Length Domain Constraints
1. Name Text 250-9,a-z,A-
ZNot null
2. Article Text 2550-9,a-z,A-
ZNot null
Comments Post
Sl.No Field Name Data Type Length Domain Constraints
4. Name Text 30 A-Z, a-z Not null
5. E-mail Text 50 A-Z, a-z Not null
6. Comments Text 2550-9, -, a-z,
A-ZNot null
Question & Answare
Sl.No Field Name Data Type Length Domain Constraints
1.Question Number
Number 10 0-9Primary Key
2. User Name Text 25A-Z, a-z,0-
1Not null
3. Question Text 2550-9, -, a-z,
A-ZNot null
4. Answare Text 2550-9, -, a-z,
A-ZNot null
W.B. Scholl Information
Sl.No Field Name Data Type Length Domain Constraints
1.Name of the
InstituteNumber 100
0-9,>,<,a-z, A-z
Not null
2. Code number 10 0-9 Not null
3. Postal Address Text 200-9,>,<,a-z,
A-zNot null
4. Pin code number 7 0-9 Not null
5. Block Text 200-9,>,<,a-z,
A-zNot Null
6. Municipality Text 300-9,>,<,a-z,
A-zNot Null
7. Phone No1 Text 25 0-9 Not Null
8. Phone No2 Text 12 0-9 Not Null
9. District Text 120-9,>,<,a-z,
A-zNot Null
DATAFLOW DIAGRAM:
LEVEL 0:
view Provide info.
Login
Login Change info.
Unregistered User
1
Agriculture Information Service Activity
Unregistered User
Registered User
Administrator
Registered User
Administrator
LEVEL 1:
D2 Request Details
Registration User Details
D1 Login Details
Valid User
D2 Account Details
Administrator
1 Administrator
Question Request
3 Administrator
Post diff. schemes available
1 Administrator
Login
Unregistered User
1 User
Registration
3 User View E-KRISHI
Registered User
2 User Login
D3 Request Details
D3 Post Details
D3 Post Details
LEVEL 2:
D1 Login Details
D2 Personal Info
D3 Admin
D3 Admin Answare
4 User
Request for Any cultivation related Questions.
5 User Comments E-KRISHI
6 User Send farmer or user Articles
1 Register
1.1 User
Login details
1.2 User Personal Info.
Unregistered User
2 Question and Request Answare
2.1 Question. 2.2 Answare
Unregistered User
Registered User
SYSTEM TESTING AND IMPLIMENTATION
The philosophy behind testing is to fine errors. The common view of testing is that it
is performed to prove that there are no errors in a program. However it is virtually
impossible to prove that no program will be free and clear of errors. Therefore the most
useful approach and practical approach is with the understanding that testing is the
process of executing a program with explicit intention of finding errors, that is, making
the program fail.
Executing a program in a simulated environment performs verification. It is
sometimes called Alpha Testing. Validation is the process of using the software in a live
environment in order to find errors. It can be called as Beta Testing.
System testing is the stage of implementation, which aims at ensuring that the
system works accurately and efficiently before actual operation commences. No program
or system design is perfect; communication between the user and the designer is not
always complete or clear, and time is usually short. The result is errors and more errors.
The number and nature of errors in a design depend on several factors:
Communication between the user and the designer.
The programmers’ ability to generate a code that reflects exactly.
The system specification.
The time frame for the design.
Why system testing?
Testing is vital to the success of the system. System testing makes a logical
assumption that if all the parts of the system are correct, the goal will be successively
achieved. Inadequate testing or non-testing leads to errors that may not appear month
later.
This creates two problems:
1. The time lag between the cause and appearance of the problem.
2. The effect of system errors on files and records with in the system.
A small system error can conceivably explode into a much larger problem.
Effective testing early in the process translates directly into long-term cost saving a
reduced number of errors.
Another reason for system testing is its utility as a user-oriented vehicle before
implementation. The best program is worthless if it does not meet the user needs. The
system should be tested properly to see whether it meet the user needs. The system should
be tested properly to see whether it meets user requirements.
Testing is carried at the following states during development.
Function Level
Module Level
Function Level testing is carried out during individual program development to test
the functionality of the entire system and the efficiency of the system, while working with
large volume of data.
Individual models were checked for system and programming errors. Whether the
module is doing the intended work according to the requirement specification was also
tested with help of sample data.
Module testing was carried out with under mentioned objectives:
Module interface has to be tested after compete development.
To test whether all the features provided in the module are performing satisfactorily.
To check if on receipt of erroneous data appropriate error message are generated.
After the completion of the above mentioned testing, acceptance testing is carried
out. Acceptance testing is running the system with live data by the actual user. In
acceptance testing issues like performance, user friendliness etc., are considered.
TESTING STRATEGIES:
There are two general strategies for testing software. There are follows
1. Code Testing
2. Specification Testing
Code Testing:
This examines the logic of the program. To follow this test, cases are developed such that
very path of the program is tested.
Specification testing:
Specification testing examines the specifications starting what the program should do and
how it should perform under various conditions. Then test cases are developed for each
conditions and combinations of conditions and to be submitted for processing.
–
SOFTWARE REQUIREMENT:
Concept => Web Application
Technologies => Client-Server Technology, Tomcat 7
Front-End Tool => HTML, JavaScript, JSP, CSS
Back-End Tool => Ms Access 2003
Environment => Internet
Browser => Mozilla Firefox
HARDWARE REQUREMENTS:
Machine => Intel 80x
HDD => 4.3 GB
RAM => 64MB
CD ROM => 48 X
Clock Speed => 450 MHz
Floppy Drive => 1.44 MB
User AreaAIS.html
<html>
<head>
<!--Head Start-->
<!-- head view -->
<title>Agriculture Information Service, ZCA RAIGANJ-2011</title>
<link href="CSS/masterroot.css" type="text/css" rel="stylesheet">
<link href="CSS/tables.css" type="text/css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="home_data/theme.css">
<style type="text/css"> </style>
<link href="CSS/style.css" rel="stylesheet" type="text/css">
<link href="CSS/reset.css" rel="stylesheet" type="text/css">
<link href="CSS/text.css" rel="stylesheet" type="text/css">
<link href="CSS/grid.css" rel="stylesheet" type="text/css">
<link href="CSS/superfish.css" rel="stylesheet" type="text/css">
<link href="CSS/superfish-navbar.css" rel="stylesheet" type="text/css">
<link href="CSS/typo.css" rel="stylesheet" type="text/css">
<link href="CSS/ui.css" rel="stylesheet" type="text/css">
<link href="CSS/slidenav.css" rel="stylesheet" type="text/css">
<link href="CSS/lightbox.css" rel="stylesheet" type="text/css">
<link href="CSS/jquery.css" rel="stylesheet" type="text/css">
<link href="CSS/skin.css" rel="stylesheet" type="text/css">
<link href="CSS/style-bn.css" rel="stylesheet" type="text/css">
<script src="CSS/ga.js" async="" type="text/javascript"></script><script
src="CSS/ga.js" async="" type="text/javascript"></script><script src="CSS/jquery-1.js"
type="text/javascript"></script>
<script src="CSS/common.js" type="text/javascript"></script>
<script src="CSS/slidenav.js" type="text/javascript"></script>
<script src="CSS/jquery-ui-personalized-1.js" type="text/javascript"></script>
<script src="CSS/jquery_003.js" type="text/javascript"></script>
<script src="CSS/jquery.js" type="text/javascript"></script>
<!--Head End-->
</head>
<body>
<form name="aspnetForm" method="post" action="Home.html" id="aspnetForm">
<div class="wrapper_12" id="wrapper">
<!--Header Start-->
<!-- header view -->
<div class=" grid_12" id="header">
<h1 class="logo"><a href="#" title="Agriculture Information Services
(AIS)">Agriculture Information Services</a></h1>
<div class="head-right">
<div class="instruction"><a href="BnInstruction.jsp">Instruction</a></div>
<div> <h2 class="version_bn"><a
href="sing_up.jsp"> &n
bsp;</a></h2>
</div>
</div>
<div class=" grid_12 alpha omega" id="navigation">
<div class="nav-container-outer">
<img src="CSS/images/nav-bg-l.jpg" alt="" class="float-left" />
<img src="CSS/images/nav-bg-r.jpg" alt="" class="float-right" />
<ul id="nav-container" class="nav-container">
<li><a class="item-primary" href="#"> প্রথম পা�তা�</a>
</li>
<li><span class="divider divider-vert" ></span></li>
<li><a class="item-primary" href="#"> কা�র্যক্রম </a>
</li>
<li><span class="divider divider-vert" ></span></li>
<li><a class="item-primary"
onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">গ্যা��লা�রি�</a>
</li>
<li><span class="divider divider-vert" ></span></li>
<li><a class="item-primary" href="#;"> কা� রি� তাথ� ও যোর্য�গ্যা�যোর্য�গ্যা যোকান্দ্র</a>
<ul style="width:150px;">
<li><span class="item-secondary-title" >f¢ÕQjh‰</span></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> কা� রি� যোর্য�গ্যা�যোর্য�গ্যা যোকান্দ্র</a></li>
</ul></li>
<li><span class="divider divider-vert" ></span></li>
<li><a class="item-primary" href="#;">অন্যা��ন্যা�</a>
<ul style="width:150px;">
<li><span class="item-secondary-title" >L«¢o ¢nr¡ÙÛ¡e</span></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">l¡SÉ L«¢o¢hcÉ¡mu</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">L«¢o ¢hnÄ¢hcÉ¡mu</a></li>
</ul></li>
<li><span class="divider divider-vert" ></span></li>
<li><a class="item-primary" href="#">ই-কা� রি�</a>
<ul style="width:150px;">
<li><span class="item-secondary-title" > সবু�জ ফসলা</span></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> যোতালা ফসলা.</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> দা�ন্যা� ফসলা</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> সবুরিজ ফসলা</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> মসলা� ফসলা</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> ফলা </a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> অথকা�� ফসলা</a></li>
<li><span class="divider divider-horiz" ></span></li>
<li><span class="item-secondary-title" >Ae¡eÉ pÇfc</span></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">পাশুসম্পদা</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">ম v স� সম্পদা</a></li>
<li><a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html"> কা� রি� র্যন্ত্রপা�তা� </a></li>
</ul></li>
<li><span class="divider divider-vert" ></span></li>
<li><a class="item-primary" href="#;"> প্রযো#�জন্যা�# ওযো#বু রিলাস্ক</a>
<ul style="width:150px;">
<li><span class="item-secondary-title" ></span></li>
<li><a href="http://agricoop.nic.in/add.htm" target="_blank">S¡a£u
L«¢oj¿»e¡mu</a></li>
<li><a href="http://wbagrisnet.gov.in/" target="_blank">l¡SÉ
L«¢oj¿»e¡mu</a></li>
<li><a href="http://www.nabard.org/" target="_blank">S¡a£u L«¢o N-
hoe¡N¡l</a></li>
<li><a href="http://www.nabard.org/" target="_blank">S¡a£u L«¢o hÉ¡ˆ</a></li>
</ul></li>
<li class="clear"> </li></ul>
</div>
</div>
<span class="clear"></span>
</div>
<span class="clear"></span><!-- eof header view -->
<!--Header End -->
<!--Content Start-->
<script src="CSS/thickbox.js" type="text/javascript"></script>
<link href="CSS/thickbox.css" rel="stylesheet" type="text/css">
<script>
$(document).ready(function(){
$(".lightbox").lightbox();
});
</script>
<div id="content">
<div class=" grid_12 partner-block" style="margin-bottom: 20px; margin-top: 0px;">
<div class="partner-block-conten">
<div class="grid_7 alpha">
<div class="notice">
<marquee onmouseover="this.stop();" onmouseout="this.start();" direction="left"
scrollamount="1" scrolldelay="70" top="60" left="200">
<a href="#;"> পারি�চ্ছন্নভা�যোবু যোদাখযোতা মরিজলা� ব্রা�উজ��টি বু�বুহা��
কারুন্যাপারি�চ্ছন্নভা�যোবু যোদাখযোতা মরিজলা� ব্রা�উজ��টি বু�বুহা�� কারুন্যা</a>
</marquee>
</div>
</div>
<div class="grid_5 omega">
<div class="head-ads">
<iframe src="search.html" width="322" height="30" frameborder="0"
scrolling="no"></iframe>
</div>
</div>
<span class="clear"></span> </div>
</div>
<script src="CSS/jquery_002.js" type="text/javascript"></script>
<script src="CSS/easySlider.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#slider").easySlider();
});
$(function() {
$('#slideshow').cycle();
});
</script>
<div class=" grid_7">
<div class=" slide">
<div class="slide-show">
<div style="position: relative;" id="slideshow">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 20; opacity: 0;"
src="bn_files/DSC_0038.GIF" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 19; opacity: 0;"
src="bn_files/minister.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 18; opacity: 0;"
src="bn_files/1000.gif" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 17; opacity: 0;"
src="bn_files/1000.gif" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 16; opacity: 0;"
src="bn_files/Untitled-1.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 15; opacity: 0;"
src="bn_files/Untitled-1.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 14; opacity: 0;"
src="bn_files/India.gif" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 13; opacity: 0;"
src="bn_files/India.gif" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 12; opacity: 0;"
src="bn_files/rice10.gif" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 11; opacity: 0;"
src="bn_files/rice10.gif" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 10; opacity: 0;"
src="bn_files/minister.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 9; opacity: 0;"
src="bn_files/Bangobandu_Pu_2010_copy.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 8; opacity: 0;"
src="bn_files/Bangobandu_Pu_2010_copy.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 7; opacity: 0;"
src="bn_files/_DSC0100-1200.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 6; opacity: 0;"
src="bn_files/_DSC0100-1200.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 5; opacity: 0;"
src="bn_files/DSC_0038.GIF" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: block; z-index: 4; opacity: 1;"
src="bn_files/DSC_3695-1000.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 3; opacity: 0;"
src="bn_files/DSC_3695-1000.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 2; opacity: 0;"
src="bn_files/01.jpg" alt="slider" width="518" height="258">
<img style="position: absolute; top: 0pt; left: 0pt; display: none; z-index: 1; opacity: 0;"
src="bn_files/01.jpg" alt="slider" width="518" height="258">
</div>
</div>
</div>
</div>
<div class=" grid_5 director_message">
<h2 class="welcome-note">যোমযোসযোজস.</h2>
<div id="slider">
<ul style="width: 350px;">
<li style="float: left;">
<div class="director">
<img src="bn_files/director-photo1.png"
alt="Director" width="60" height="60">
<font face="Pandit" color="#B22222">‡KŠwkK
miKvi I iZb gÛj</font>
পারি�চা�লাকা </span><span
class=" clear"></span></div>
<p></p><p style="text-align: justify;"><span style="font-size: medium;">
কা� রি� তাথ� স�রিভা যোস� বু�0লা� ওযো#বু স�ইযো1 আপান্যা�যোদা� শুযোভাচ্ছ� ও
স�স্বা�গ্যাতাম । কা� রি� তাথ� স�রিভা স একাটি উন্ন#ন্যা
সহা�#কা গ্যাণযোর্য�গ্যা�যোর্য�গ্যা স0স্থা� । রিবুরিভান্ন গ্যাণম�ধ্য�যোম� সফলা ও যোর্য9রি:কা বু�বুহা�যো��
ম�ধ্য�যোম উদ্ভা�রিবুতা ন্যাতা<ন্যা ন্যাতা<ন্যা কা� রি� প্রর্য�রি: ও তাথ�সম=হা কা� �কাসহা সকালা
যোবু�দ্ধা�,...
</span></p>
</li>
</ul>
</div><span id="prevBtn"><a style="display: none;" href="javascript:void(0);">
< </a></span> <span id="nextBtn"><a style="display: none;"
href="javascript:void(0);"> > </a></span>
</div>
<span class="clear"> </span> <br>
<script>
$(document).ready(function(){
var url ='News.html';
$("#more").click(function () {
$.post (url,{},
function (data){
$("#News").html(data);
}
);
});
});
</script>
<div class=" grid_7 news-sl">
<div class="round-block-gra">
<div class="round-gra-t"> <div> <div> </div> </div> </div>
<div class="block-conten-gra">
<h2 class="alert-head"> স0বু�দা </h2>
<!------------*********/--->
<div class="news-scroll" style="height: 190px;" id="News">
<marquee onmouseover="this.stop();" onmouseout="this.start();" direction="up"
scrollamount="2" scrolldelay="40" top="60" left="200">
<div class="news-slide"><span class="news-clip"><a href="#"><img
src="bn_files/timthumb.gif" alt="News" width="138" height="60"></a></span>
<p><b> আলা�� ন্যা�বু� ধ্বস� যো��যোগ্যা কা� �কা ভা�ইযোদা� কা�ণ�#</b></p>
<p></p><p style="text-align: left;"><span style="font-size: large;">
<span style="color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);">
<span style="color: rgb(255, 102, 0);"><strong style="" float:left;="" font-size:12px;="">
<b></b> </strong></span>
<strong style="" float:left;="" font-size:12px;="">
<span class="news-details">
<a href="#news-2117.html">Details</a></span>
</strong>
</span>
</span>
</p>
</div>
<strong style="" float:left;="" font-size:12px;="">
<span class="clear"></span>
</strong>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<span class="clear"></span>
</strong>
</strong>
<strong style="" float:left;=""font-size:12px;="">
<strong>
<strong>
<span class="clear"></span>
</strong>
</strong>
</strong>
<div class="news-slide">
<span class="news-clip">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<a href="#">
<img src="bn_files/timthumb_003.gif" alt="News" width="138" height="60">
</a>
</strong>
</strong>
</strong>
</span>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<b> আলা�� কা�1<ই যোপা�কা� দামযোন্যা� উপা�#</b>
</strong>
</strong>
</strong>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
</p>
<p style="text-align: justify;">
<span style="color: rgb(0, 128, 0);">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="font-size: large;">
আলা�� কা�1<ই যোপা�কা� দামযোন্যা�......
</span>
</strong>
</strong>
</strong>
</strong>
</span>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="float: left; font-size: 12px;">
<b> </b>
</span>
<span class="news-details">
<a href="#news-2292.html">Details</a>
</span>
</strong>
</strong>
</strong>
</strong>
</div>
<strong style="" float:left;="" font-size:12px;="">
<span class="clear"></span>
</strong>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<span class="clear"></span>
</strong>
</strong>
<strong style="" float:left;=""font-size:12px;="">
<strong>
<strong>
<span class="clear"></span>
</strong>
</strong>
</strong>
<div class="news-slide">
<span class="news-clip">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<a href="#">
<img src="bn_files/timthumb_007.gif" alt="News" width="138" height="60">
</a>
</strong>
</strong>
</strong>
</span>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<b> সম#মযোতা� যোসচা রিদাযোলা অরিধ্যকা হা�যো� ফলান্যা রিমযোলা</b>
</strong>
</strong>
</strong>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
</p>
<p style="text-align: justify;">
<span style="color: rgb(0, 128, 0);">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="font-size: large;">
সম#মযোতা� যোসচা...........
</span>
</strong>
</strong>
</strong>
</strong>
</span>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="float: left; font-size: 12px;">
<b> </b>
</span>
<span class="news-details">
<a href="#news-2292.html">Details</a>
</span>
</strong>
</strong>
</strong>
</strong>
</div>
<div class="news-slide">
<span class="news-clip">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<a href="http://127.0.0.1:8080/e-krisi/content-49.jsp">
<img src="bn_files/Maize-Photo.gif" alt="News" width="138" height="60">
</a>
</strong>
</strong>
</strong>
</span>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<b><img src="bn_files/NEW.gif"> একান্যাজযো� ভা@ট্টা�� চা��..................</b>
</strong>
</strong>
</strong>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
</p>
<p style="text-align: justify;">
<span style="color: rgb(0, 128, 0);">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="font-size: large;">
...........
</span>
</strong>
</strong>
</strong>
</strong>
</span>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="float: left; font-size: 12px;">
<b> </b>
</span>
<span class="news-details">
<a href="http://127.0.0.1:8080/e-krisi/content-49.jsp">Details</a>
</span>
</strong>
</strong>
</strong>
</strong>
</div>
<strong style="" float:left;="" font-size:12px;="">
<span class="clear"></span>
</strong>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<span class="clear"></span>
</strong>
</strong>
<strong style="" float:left;=""font-size:12px;="">
<strong>
<strong>
<span class="clear"></span>
</strong>
<strong style="" float:left;="" font-size:12px;="">
<span class="clear"></span>
</strong>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<span class="clear"></span>
</strong>
</strong>
<strong style="" float:left;=""font-size:12px;="">
<strong>
<strong>
<span class="clear"></span>
</strong>
</strong>
</strong>
<div class="news-slide">
<span class="news-clip">
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<a href="#">
<img src="bn_files/timthumb_002.jpeg" alt="News" width="138" height="60">
</a>
</strong>
</strong>
</strong>
</span>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
</strong>
</strong>
</strong>
<p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<b><img src="bn_files/NEW.gif"> আযোম� ভা�লা ফলান্যা যোপাযোতা এ সমযো# কা�ণ�#
</b>
</strong>
</strong>
</strong>
</p>
<strong style="" float:left;="" font-size:12px;="">
<strong>
<strong>
<strong>
<span style="float: left; font-size: 12px;">
<b> </b>
</span>
<span class="news-details">
<a href="#news-2292.html">Details</a>
</span>
</strong>
</strong>
</strong>
</strong>
</div>
</div>
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong>
</marquee>
<!---*****----------->
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong></div>
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong>
<div class="round-gra-b">
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong>
<div>
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong>
<div></div>
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong>
</div>
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong></div>
</div>
</div>
<div class=" grid_5 alpha">
<strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong>
</strong>
<div class="e-krishi">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="######"><img src="bn_files/ekrishi.png" alt="E-krishi"
usemap="#Map"></a>
<map name="Map" id="Map">
<area shape="rect" coords="15,120,101,202" href="###" title="E-krishi" alt="E-
krishi">
<area shape="rect" coords="148,115,231,199" href="##" title="E-krishi" alt="E-
krishi">
<area shape="rect" coords="279,116,365,203" href="###" title="E-
krishi" alt="E-krishi">
</map>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
<div class="grid_12" style="margin-top: 20px;">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<ul class="mid-nav">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<li class="your-ans"><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">
Question</a></strong></strong></strong></strong></strong></strong></strong></
strong></strong>
</li>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<li class="question"><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a onClick="window.open('AIS_ter&con.htm','','width=549,height=456')"
href="AIS.html">Question</a></strong></strong></strong></strong></strong></
strong></strong></strong></strong></li>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<li class="submit-article"><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a onClick="window.open('article.jsp','','width=500,height=450')" href="AIS.html">
Article</a></strong></strong></strong></strong></strong></strong></strong></
strong></strong>
</li>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<li class="live-support"><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="sing_up.jsp">Live
Support</a></strong></strong></strong></strong></strong></strong></strong></
strong></strong>
</li>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<li class="vdo-chat" style="margin-right: 0px;"><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="new_user.html">Vedio
Chat</a></strong></strong></strong></strong></strong></strong></strong></
strong></strong>
</li>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
</ul>
</div>
<!-- PhotoGallary -->
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="grid_6 gal">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="round-block-gra">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="round-gra-t">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
<div></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="block-conten-gra">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<h2 class="alert-head" style="margin-bottom: 10px;">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="http://www.ais.gov.bd/bn/home/publication/Picture-Gallery-39.html">
গ্যা��লা�রি�</a>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
</h2>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="photo-thumb"><strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
<a href="bn_files/timthumb_004.jpeg" class="lightbox">
<img src="bn_files/timthumb_004.jpeg" alt="Krishi" width="120" height="100">
</a>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
<div class="photo-thumb"><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="bn_files/timthumb_007.jpeg" class="lightbox"> <img
src="bn_files/timthumb_007.jpeg" alt="Krishi-koytha" width="120" height="100"></a>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="photo-thumb">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="bn_images/_DSC00041.JPG" class="lightbox">
<img src="bn_files/timthumb_006.jpeg" alt="Krishi-koytha" width="120"
height="100">
</a>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
<div class="photo-caption" style="margin-top: 10px;"><strong style="" float:left;=""
font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="Picture-Gallery.jsp"> দা�ন্যা� ফসলা </a>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="photo-caption" style="margin-top: 10px;">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="Picture-Gallery.jsp"> যোপা�রিলাট্র </a>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="photo-caption" style="margin-top: 10px;">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="Picture-Gallery.jsp"> ফলা ফসলা </a>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong><div
class="round-gra-b">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong><div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong><div></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<!-- Media -->
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="grid_6 mov">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="round-block-gra">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="round-gra-t">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="block-conten-gra">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<h2 class="alert-head">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="http://www.weatherreports.com/India/Kolkata_Calcutta_"
target="blank"><font face="Protik">AvenvIqv</font></a>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></h2>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div style="height: 160px;"><strong style="" float:left;="" font-size:12px;="">
<strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="vedio-clip">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<h3 class="alert-head">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="http://www.weatherreports.com/India/Kolkata_Calcutta_"
target="blank"><font face="Pandit">DËi e½</font></a>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></h3>
<!--NORTH BENGAL--> <iframe
src="http://weatherreports.com/banners/234x60_lblue_no_search_box.html?
location=Malda, India&units=c" width="220" height="60" frameborder="0"
scrolling="no"></iframe>
<iframe
src="http://weatherreports.com/banners/234x60_lblue_no_search_box.html?
location=Siliguri, India&units=c" width="220" height="60" frameborder="0"
scrolling="no"></iframe>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="vedio-clip">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<h2 class="alert-head">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<a href="http://www.weatherreports.com/India/Kolkata_Calcutta_"><font
face="Pandit">`w¶b e½</font></a>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></h2>
<!--SOUTH BENGAL--> <iframe
src="http://weatherreports.com/banners/234x60_lblue_no_search_box.html?
location=Kolkata_Calcutta_, India&units=c" width="220" height="60" frameborder="0"
scrolling="no"></iframe>
<iframe
src="http://weatherreports.com/banners/234x60_lblue_no_search_box.html?
location=Midnapore, India&units=c" width="220" height="60" frameborder="0"
scrolling="no"></iframe>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong><div
class="round-gra-b">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong><div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong><div></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
/strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
</div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<!-- footer prametre -->
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></strong>
<div class="grid_12 partner-block">
<strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong>
<div class="partner-block-conten" style="padding-top: 5px;"><strong style=""
float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<span style="margin: 0px 10px;">
<a target="_blank" href="##"><img src="bn_files/image328.jpg" alt="Partner"
width="200" height="40">
</a> </span>
<span style="margin: 0px 10px;">
<a target="_blank" href="http://ndmindia.nic.in/"><img src="bn_files/Untitled.jpg"
alt="Partner" width="200" height="40">
</a> </span>
<span style="margin: 0px 10px;">
<a target="_blank" href="http://www.agmarknet.nic.in/">
<img src="bn_files/krishi-bazar.gif" width="200" height="40"> </a>
</span>
<span style="margin: 0px 10px;">
<a target="_blank"href="http://sahajtathyamitrakendra.tech.officelive.com/Home.aspx">
<img src="bn_files/logo.jpg" width="200" height="40"> </a>
</span>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
</div><strong style="" float:left;="" font-
size:12px;=""><strong><strong><strong><strong><strong><strong><strong><strong>
<span class="clear"></span>
</strong></strong></strong></strong></strong></strong></strong></strong></
strong></div>
<!--Content End-->
<!-- footer -->
<div id="overlay"></div><div style="display: none;" id="lightbox">
<div style="width: 250px; height: 250px;" id="outerImageContainer">
<div id="imageContainer"><img id="lightboxImage">
<div id="hoverNav">
</div>
<div id="loading">
</div></div></div>
<div style="width: 250px;" id="imageDataContainer" class="clearfix">
<div id="imageData">
<div id="imageDetails">
<span id="caption"></span>
<span id="numberDisplay"></span>
</div>
<div id="bottomNav">
<a href="javascript://" id="bottomNavClose" title="close image gallery">
<img src="bn_files/closelabel.htm">
</a>
</div></div></div></div>
<!-- footer -->
<div id="footer">
<div class="footer-container">
</body>
</html>
New User:
New_user.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>New Account Creation</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="CSS/ie.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var no="0123456789"
function validateForm()
{
if(document.form1.userid.value=="")
{
alert("User Name Blank");
document.form1.userid.focus();
return false;
}
else if(document.form1.txt_accno.value=="")
{
alert("Input password");
document.form1.txt_accno.focus();
return false;
}
else if(document.form1.txt_sa.value=="")
{
alert("Input Answare");
document.form1.txt_sa.focus();
return false;
}
else if(document.form1.txt_fn.value=="")
{
alert("Input your First name");
document.form1.txt_fn.focus();
return false;
}
else if(document.form1.txt_sn.value=="")
{
alert("Input password");
document.form1.txt_sn.focus();
return false;
}
else if(document.form1.cmb_sex.value=="false")
{
alert("Select a value");
document.form1.cmb_sex.focus();
return false;
}
else if(document.form1.cmb_bra.value=="false")
{
alert("Select a value");
document.form1.cmb_bra.focus();
return false;
}
else if(document.form1.mm.value=="mm")
{
alert("Select a month");
document.form1.mm.focus();
}
else if(document.form1.dd.value=="dd")
{
alert("Select a Date");
document.form1.dd.focus();
return false;
}
else if(document.form1.yy.value=="yy")
{
alert("Select a Year");
document.form1.yy.focus();
return false;
}
else if(document.form1.txt_email.value=="false")
{
alert("e-mail id please");
document.form1.txt_email.focus();
return false;
}
else if(document.form1.txt_city.value=="")
{
alert("Input City Name");
document.form1.txt_city.focus();
return false;
}
else if(document.form1.txt_pwd.value=="")
{
alert("Enter the state");
document.form1.txt_pwd.focus();
return false;
}
else if(document.form1.txt_rp.value=="")
{
document.form1.txt_rp.focus();
alert("Enter the valid phone number");
return false;
}
else if(document.form1.txt_op.value=="")
{
document.form1.txt_op.focus();
alert("Enter the valid Mob. number");
return false;
}
var email=document.form1.txt_email.value;
var at=email.indexOf('@');
if (at == -1 )
{
alert("Email id not a valid one");
document.form1.txt_email.focus();
return false;
}
else if (email.indexOf('@',at+1) != -1)
{
alert("Email id not a valid one");
document.form1.txt_email.focus();
return false;
}
at=email.indexOf('.',at+1);
if (at == -1 )
{
alert("Email id not a valid one");
document.form1.txt_email.focus();
return false;
}
var le=email.length;
if (email.charAt(le-1)=='.')
{
alert("Email id not a valid one");
document.form1.txt_email.focus();
return false;
}
if(!validate(document.form1.txt_rp.value),no)
{
document.form1.txt_rp.focus();
alert("Enter the valid phone number");
return false;
}
if(!validate(document.form1.txt_op.value),no)
{
document.form1.txt_op.focus();
alert("Enter the valid phone number");
return false;
}
document.form1.txt_email.value=Trim(document.form1.txt_email.value);
document.form1.txt_city.value=Trim(document.form1.txt_city.value);
return true;
}
</script>
<script language="JavaScript" src="CSS/usefun.js"></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
onLoad="sta()" bgcolor="#D7EADF">
<form name="form1" method="post" action="new_ant.jsp" onSubmit="return
validateForm()">
<div class="thumbnail">
<table width="779" border="0" cellpadding="0" cellspacing="0" bgcolor="#D7EADF">
<!--DWLayoutTable-->
<tr>
<td width="77" height="19"> </td>
<td width="60"> </td>
<td width="181"> </td>
<td width="149"> </td>
<td width="170"> </td>
</tr>
<tr>
<td height="30"></td>
<td></td>
<td colspan="3" valign="top"><img src="bn_files/tit_apy_new_user.gif"
width="500" height="30"></td>
<td> </td>
</tr>
<tr>
<td height="10"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="19"></td>
<td colspan="2" valign="top"><a
onClick="window.open('ter&con.htm','','width=549,height=456')"
href="new_user.html">
<u>
<font color="#0000CC">Terms and Conditions</font>
</u>
</a></td>
<td> </td>
<td colspan="2" valign="top"><div align="right"><font color="#CC3300">*
indicates mandatory fields</font></div></td>
</tr>
<tr>
<td height="4"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="866"></td>
<td colspan="5" valign="top"> <table width="100%" height="790" border="1"
cellpadding="0" cellspacing="0" bgcolor="#ded7bd">
<!--DWLayoutTable-->
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"> <font
color="#CC3300" face="Times New Roman, Times, serif"> </font></td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="right"><font color="#CC3300" face="Times New Roman, Times, serif"><strong>
<b>Country</font>
<font color="Green" SIZE="3">*</font><font size="4"></b></font>
</strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <div align="left">
<select name="cuntry" size="1">
<option>
Afghanistan
</option>
<option>
Aland Islands
</option>
<option>
Albania (Shqipëria)
</option>
<option>
Algeria
</option>
<option>
American Samoa
</option>
<option>
Andorra
</option>
<option>
Angola
</option>
<option>
Anguilla
</option>
<option>
Antarctica
</option>
<option>
Antigua and Barbuda
</option>
<option>
Argentina
</option>
<option>
Armenia
</option>
<option>
Aruba
</option>
<option>
Australia
</option>
<option>
Austria
</option>
<option>
Azerbaijan
</option>
<option>
Bahamas
</option>
<option>
Bahrain
</option>
<option>
Bangladesh
</option>
<option>
Barbados
</option>
<option>
Belarus
</option>
<option>
Belgium
</option>
<option>
Belize
</option>
<option>
Benin
</option>
<option>
Bermuda
</option>
<option>
Bhutan
</option>
<option >
Bolivia
</option>
<option >
Bosnia and Herzegovina
</option>
<option>
Botswana
</option>
<option>
Bouvet Island
</option>
<option>
Brazil
</option>
<option>
British Indian Ocean Territory
</option>
<option>
Brunei
</option>
<option>
Bulgaria
</option>
<option>
Burkina Faso
</option>
<option>
Burundi
</option>
<option>
Cambodia
</option>
<option >
Cameroon
</option>
<option>
Canada
</option>
<option>
Cape Verde
</option>
<option>
Cayman Islands
</option>
<option>
Central African Republic
</option>
<option>
Chad (Tchad)
</option>
<option>
Chile
</option>
<option>
China
</option>
<option>
Christmas Island
</option>
<option>
Cocos Islands
</option>
<option>
Colombia
</option>
<option>
Comoros (Comores)
</option>
<option>
Congo
</option>
<option>
Congo, Democratic Republic of the
</option>
<option>
Cook Islands
</option>
<option>
Costa Rica
</option>
<option>
Côte d'Ivoire
</option>
<option>
Croatia (Hrvatska)
</option>
<option >
Cuba
</option>
<option >
Cyprus
</option>
<option>
Czech Republic (Cesko)
</option>
<option>
Denmark (Danmark)
</option>
<option >
Djibouti
</option>
<option>
Dominica
</option>
<option>
Dominican Republic
</option>
<option >
Ecuador
</option>
<option>
Egypt
</option>
<option>
El Salvador
</option>
<option>
Equatorial Guinea (Guinea Ecuatorial)
</option>
<option >
Eritrea (Ertra)
</option>
<option>
Estonia (Eesti)
</option>
<option>
Ethiopia
</option>
<option >
Falkland Islands
</option>
<option >
Faroe Islands
</option>
<option >
Fiji
</option>
<option>
Finland (Suomi)
</option>
<option>
France
</option>
<option>
French Guiana
</option>
<option>
French Polynesia
</option>
<option >
French Southern Territories
</option>
<option>
Gabon
</option>
<option>
Gambia
</option>
<option>
Georgia
<option>
Germany (Deutschland)
</option>
<option>
Ghana
</option>
<option >
Gibraltar
</option>
<option>
Greece
</option>
<option>
Greenland
</option>
<option>
Grenada
</option>
<option>
Guadeloupe
</option>
<option >
Guam
</option>
<option>
Guatemala
</option>
<option>
Guernsey
</option>
<option>
Guinea (Guinée)
</option>
<option>
Guinea-Bissau (Guiné-Bissau)
</option>
<option>
Guyana
</option>
<option>
Haiti (Haïti)
</option>
<option>
Heard Island and McDonald Islands
</option>
<option>
Honduras
</option>
<option>
Hong Kong
</option>
<option >
Hungary (Magyarország)
</option>
<option>
Iceland (Ísland)
</option>
<option selected>
India
</option>
<option>
Indonesia
</option>
<option>
Iran
</option>
<option>
Iraq
</option>
<option>
Ireland
</option>
<option>
Isle of Man
</option>
<option>
Israel
</option>
<option>
Italy (Italia)
</option>
<option>
Jamaica
</option>
<option>
Japan
</option>
<option>
Jersey
</option>
<option>
Jordan
</option>
<option>
Kazakhstan
</option>
<option >
Kenya
</option>
<option>
Kiribati
</option>
<option>
Kuwait
</option>
<option>
Kyrgyzstan
</option>
<option>
Laos
</option>
<option>
Latvia
</option>
<option>
Lebanon
</option>
<option >
Lesotho
</option>
<option>
Liberia
</option>
<option>
Libya
</option>
<option>
Liechtenstein
</option>
<option>
Lithuania
</option>
<option>
Luxembourg
</option>
<option>
Macao
</option>
<option>
Macedonia
</option>
<option>
Madagascar
</option>
<option>
Malawi
</option>
<option>
Malaysia
</option>
<option>
Maldives
</option>
<option>
Mali
</option>
<option>
Malta
</option>
<option>
Marshall Islands
</option>
<option>
Martinique
</option>
<option>
Mauritania
</option>
<option>
Mauritius
</option>
<option>
Mayotte
</option>
<option>
Mexico
</option>
<option>
Micronesia
</option>
<option>
Moldova
</option>
<option>
Monaco
</option>
<option>
Mongolia
</option>
<option>
Montenegro
</option>
<option>
Montserrat
</option>
<option>
Morocco
</option>
<option>
Mozambique
</option>
<option>
Myanmar (Burma)
</option>
<option>
Namibia
</option>
<option>
Nauru (Naoero)
</option>
<option>
Nepal
</option>
<option>
Netherlands (Nederland)
</option>
<option>
Netherlands Antilles
</option>
<option>
New Caledonia
</option>
<option>
New Zealand
</option>
<option>
Nicaragua
</option>
<option>
Niger
</option>
<option>
Nigeria
</option>
<option>
Niue
</option>
<option>
Norfolk Island
</option>
<option>
Northern Mariana Islands
</option>
<option>
North Korea
</option>
<option>
Norway (Norge)
</option>
<option>
Oman
</option>
<option>
Pakistan
</option>
<option>
Palau (Belau)
</option>
<option>
Palestinian Territories
</option>
<option>
Panama (Panamá)
</option>
<option>
Papua New Guinea
</option>
<option>
Paraguay
</option>
<option>
Peru (Perú)
</option>
<option>
Philippines (Pilipinas)
</option>
<option>
Pitcairn
</option>
<option>
Poland (Polska)
</option>
<option>
Portugal
</option>
<option>
Puerto Rico
</option>
<option>
Qatar
</option>
<option>
Reunion
</option>
<option>
Romania (România)
</option>
<option>
Russia
</option>
<option>
Rwanda
</option>
<option>
Saint Helena
</option>
<option>
Saint Kitts and Nevis
</option>
<option>
Saint Lucia
</option>
<option>
Saint Pierre and Miquelon
</option>
<option>
Saint Vincent and the Grenadines
</option>
<option>
Samoa
</option>
<option>
San Marino
</option>
<option>
São Tomé and Príncipe
</option>
<option>
Saudi Arabia
</option>
<option>
Senegal
</option>
<option>
Serbia
</option>
<option>
Serbia and Montenegro
</option>
<option>
Seychelles
</option>
<option>
Sierra Leone
</option>
<option>
Singapore (Singapura)
</option>
<option
>
Slovakia (Slovensko)
</option>
<option>
Slovenia (Slovenija)
</option>
<option>
Solomon Islands
</option>
<option>
Somalia (Soomaaliya)
</option>
<option>
South Africa
</option>
<option>
South Georgia and the South Sandwich Islands
</option>
<option>
South Korea
</option>
<option>
Spain
</option>
<option>
Sri Lanka
</option>
<option>
Sudan
</option>
<option>
Suriname
</option>
<option>
Svalbard and Jan Mayen
</option>
<option>
Swaziland
</option>
<option>
Sweden
</option>
<option>
Switzerland
</option>
<option>
Syria
</option>
<option>
Taiwan
</option>
<option>
Tajikistan
</option>
<option>
Tanzania
</option>
<option>
Thailand
</option>
<option>
Timor-Leste
</option>
<option>
Togo
</option>
<option>
Tokelau
</option>
<option>
Tonga
</option>
<option>
Trinidad and Tobago
</option>
<option>
Tunisia
</option>
<option>
Turkey
</option>
<option>
Turkmenistan
</option>
<option>
Turks and Caicos Islands
</option>
<option>
Tuvalu
</option>
<option>
Uganda
</option>
<option>
Ukraine
</option>
<option>
United Arab Emirates
</option>
<option>
United Kingdom
</option>
<option>
United States
</option>
<option>
United States minor outlying islands
</option>
<option>
Uruguay
</option>
<option>
Uzbekistan
</option>
<option>
Vanuatu
</option>
<option>
Vatican City
</option>
<option>
Venezuela
</option>
<option>
Vietnam
</option>
<option>
Virgin Islands, British
</option>
<option>
Virgin Islands, U.S.
</option>
<option>
Wallis and Futuna
</option>
<option>
Western Sahara
</option>
<option>
Yemen
</option>
<option>
Zambia
</option>
<option>
Zimbabwe
</option>
</select>
</div></td>
</tr>
<tr bgcolor="#efefe0">
<td height="8" colspan="4"
valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"><font color="#CC3300"></font></div>
<div align="right"><strong><font color="#CC3300"><b>User Name</font>
<font color="Green" SIZE="3">*</font><font size="4"></b></font></strong>
</div></td>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"><strong></strong></div>
<div align="left">
<input name="userid" type="text" id="userid" maxlength="20">
</div></td>
</tr>
<tr>
<td height="5" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="right"><font color="#CC3300"><strong><b>Password</font>
<font color="Green" SIZE="3">*</font><font
size="4"></b></strong></font></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <input name="txt_accno"
type="password" id="txt_accno">
</td>
</tr>
<tr>
<td height="11" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="right"><strong><font color="#CC3300">Secreat
Question</font><font color="Green" SIZE="3">*</font><font
size="4"></font></strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <select name="txt_sq">
<option>Your first Scholl Name</option>
<option>Your pet Name</option>
<option>Your femus person</option>
<option selected>your First ID Card No</option>
<option>Your First Teacher Name</option>
<option>Your Friends Name</option>
<option>Your Favorite Hero</option>
<option>Your Favorite Plyer</option>
<option>Your Favorite Food.</option>
</select></td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="right"><strong><font color="#CC3300">Answer</font>
<font color="Green" SIZE="3">*</font><font
size="4"></font></font></strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <input name="txt_sa"
type="text" id="txt_sa" size="45"></td>
</tr>
<tr>
<td height="10" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"><div
align="right"><strong><font color="#CC3300">First
Name</font><font color="Green" SIZE="3">*</font><font
size="4"></font></font></strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <input name="txt_fn"
type="text" id="txt_fn2"></td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"><strong></strong></div>
<div align="right"><font color="#CC3300"><strong>Last Name</font><font
color="Green" SIZE="3">*</font><font size="4"></strong></font>
</div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <div align="center"><font
color="#CC3300"></font></div>
<div align="left">
<input name="txt_sn" type="text" id="txt_sn">
</div></td>
</tr>
<tr>
<td height="10" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"><div
align="right"><strong><font color="#CC3300">Sex</font><font color="Green"
SIZE="3">*</font><font size="4"></font></strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <select name="cmb_sex"
size="1" id="select2">
<option value="false" selected>--Select Please--</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select></td>
</tr>
<tr>
<td height="10" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"><div
align="right"><strong><font color="#CC3300">Date of Birth</font><font
color="Green" SIZE="3">*</font><font size="4"></font></strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> </label><select
name="mm"><option>mm</option>
<option>jan</option><option>feb</option><option>mar</option><option>apr</
option><option>may</option>
<option>june</option><option>july</option><option>aug</option><option>sep</
option><option>oct</option>
<option>nov</option><option>dec</option></select><select
name=dd><option>dd</option>
<option>1</option><option>2</option><option>3</option><option>4</
option><option>5</option>
<option>6</option><option>7</option><option>8</option><option>9</
option><option>10</option>
<option>11</option><option>12</option><option>13</option><option>14</
option><option>15</option>
<option>16</option><option>17</option><option>18</option><option>19</
option><option>20</option>
<option>21</option><option>22</option><option>23</option><option>24</
option><option>25</option>
<option>26</option><option>27</option><option>28</option><option>29</
option><option>30</option>
<option>31</option></select>
<select name=yy>
<option> 1951 </option>
<option> 1952 </option>
<option> 1953 </option>
<option> 1954 </option>
<option> 1955 </option>
<option> 1956 </option>
<option> 1957 </option>
<option> 1958 </option>
<option> 1959 </option>
<option> 1960 </option>
<option> 1961 </option>
<option> 1962 </option>
<option> 1963 </option>
<option> 1964 </option>
<option> 1965 </option>
<option> 1966 </option>
<option> 1967 </option>
<option> 1968 </option>
<option> 1969 </option>
<option> 1970 </option>
<option> 1971 </option>
<option> 1972 </option>
<option> 1973 </option>
<option> 1974 </option>
<option> 1975 </option>
<option> 1976 </option>
<option> 1977 </option>
<option> 1978 </option>
<option> 1979 </option>
<option> 1980 </option>
<option> 1981 </option>
<option> 1982 </option>
<option> 1983 </option>
<option> 1984 </option>
<option> 1985 </option>
<option> 1986 </option>
<option> 1987 </option>
<option> 1988 </option>
<option> 1989 </option>
<option> 1990 </option>
<option> 1991 </option>
<option> 1992 </option>
<option> 1993 </option>
<option> 1994 </option>
<option> 1995 </option>
<option> 1996 </option>
<option> 1997 </option>
<option> 1998 </option>
<option> 1999 </option>
<option> 2000 </option>
<option> 2001 </option>
<option> 2002 </option>
<option> 2003 </option>
<option> 2004 </option>
<option> 2005 </option>
<option> 2006 </option>
<option> 2007 </option>
<option> 2008 </option>
<option> 2009 </option>
<option> 2010 </option>
<option selected> 2011 </option>
</select>
</label>
</td>
</tr>
<tr>
<td height="10" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top"><div align="right"><font
color="#CC3300"><b>Educational Qualification</font><font color="Green"
SIZE="3">*</font><font size="4"></b></strong></font></div></td>
<td colspan="2" valign="top"><select name="cmb_bra" id="select3">
<option value="Less 10th">Less 10th</option>
<option value="10th +">10th +</option>
<option value="Less 12th">Less 12th</option>
<option value="12th+">12th+</option>
<option selected value="Under graduate">Under graduate</option>
<option value="graduate">graduate</option>
<option value="Post Graduate">Post Graduate</option>
<option value="3 years Diploma">3 Years Diploma</option>
<option value="B-tech">B-tech</option>
</select></td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"><strong></strong></div>
<div align="right"><strong><font color="#CC3300">Email</font><font
color="Green" SIZE="3">*</font><font size="4"></font></strong>
</div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"><strong></strong></div>
<div align="left">
<input name="txt_email" type="text" id="txt_email">
</div></td>
</tr>
<tr>
<td height="10" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="right"><strong><font color="#CC3300">
Phone</font><font color="Green" SIZE="3">*</font><font
size="4"></font></font></strong></div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <input name="txt_rp"
type="text" id="txt_rp">E.g 03523 225710</td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"></div>
<div align="center"></div>
<div align="right"><strong><font color="#CC3300">Mobile</font><font
color="Green" SIZE="3">*</font><font size="4"></font></strong>
</div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="left"><strong></strong></div>
<div align="left">
<input name="txt_op" type="text" id="txt_op">E.g. +919614823386
</div></td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="center"><strong></strong></div>
<div align="right"><strong><font color="#CC3300">City<font color="Green"
SIZE="3">*</font></font></strong>
</div></td>
<td colspan="2" valign="top" bgcolor="#ded7bd"> <div
align="left"><strong></strong></div>
<div align="left">
<input name="txt_city" type="text" id="txt_city">
</div></td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="27" colspan="2" valign="top"><div align="right"><strong><font
color="#CC3300">State<font color="Green"
SIZE="3">*</font></font></strong></div></td>
<td colspan="2" valign="top"> <input name="txt_pwd" type="text"
id="txt_pwd"></td>
</tr>
<tr>
<td height="21" colspan="4" valign="top" bgcolor="#efefe0"><!--
DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td width="167" height="27" valign="top"><!--DWLayoutEmptyCell--
> </td>
<td width="123" height="27" valign="top"><div align="center">
<input type=submit name="Submit" value="Submit">
</div></td>
<td width="142" height="27" valign="top"><div align="center">
<input type="reset" name="Reset" value="Reset">
</div></td>
<td width="161" height="27" valign="top"><!--DWLayoutEmptyCell--
> </td>
</tr>
</table></td>
<td bgcolor="#D7EADF"> </td>
</tr>
<tr>
<td height="34"></td>
<td> </td>
<td> </td>
<td> </td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</div>
<div class="thumbnail">
<img src="bn_files/key-board.jpg" width="135" height="400">
</div>
</form>
</body>
</html>
New_ant.jsp
<html>
<head>
</head>
<%@ page contentType="text/html;" language="java" import="java.sql.*" errorPage=""
%>
<%
Connection con=null;
Statement smt=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
}
catch(ClassNotFoundException ce){out.println("Check the values and try again...");}
catch(SQLException ce){out.println("Check the values and try again...");}
smt=con.createStatement();
rs=smt.executeQuery("select max(reg_no) from reg_user");
int id;
if(!rs.next())
{
id=0;
}
else
{
id=rs.getInt(1);
}
id=id+1;
String country=request.getParameter("cuntry");
String user=request.getParameter("userid");
String fname=request.getParameter("txt_fn");
String sname=request.getParameter("txt_sn");
String sex=request.getParameter("cmb_sex");
String password=request.getParameter("txt_accno");
String sque=request.getParameter("txt_sq");
String sans=request.getParameter("txt_sa");
String dd=request.getParameter("dd");
String mm=request.getParameter("mm");
String yy=request.getParameter("yy");
String ph=request.getParameter("txt_rp");
String mob=request.getParameter("txt_op");
String city=request.getParameter("txt_city");
String edu=request.getParameter("cmb_bra");
String tpwd=request.getParameter("txt_pwd");
try
{
smt.executeUpdate("insert into reg_user values(" + id + ",'" + country + "','"+ user +
"','" + request.getParameter("txt_accno") + "','" + sque + "','" + sans + "','" + fname + "','"
+ sname + "','" + sex + "','" + dd +"/"+ mm +"/"+ yy + "','" + edu + "','" +
request.getParameter("txt_email") + "','" + ph + "','" + mob + "','" + city + "','" + tpwd +
"','User')");
out.println("You are Succesfully Registerd");
}
catch(SQLException ce){
out.println("This User Name already exist please chose USER NAME...");
smt.close();
con.close();
}
smt.close();
con.close();
%>
<p align="center"><font color="blue" size=14> Please Click here to </font><a
href="sing_up.jsp"><input type="button" value="Login"></a><a
href="new_user.html"><input type="button" value="Sing Up"></a>
</body>
</html>
Login.jsp
<html>
<head>
<%@ page import="java.sql.*" contentType="text/html" errorPage="" %>
<title> Agricultur Information service Login</title>
<link href="CSS/ie.css" type="text/css" rel="stylesheet">
<script language="JavaScript" src="CSS/usefun.js"></script>
<script language="JavaScript">
var num="0123456789";
function fonload()
{
document.form1.txt_accno.focus();
}
function vali()
{
if(Trim(document.form1.txt_accno.value)=="")
{
document.form1.txt_accno.focus();
alert("Enter the account number");
return false;
}
if(Trim(document.form1.txt_pwd.value)=="")
{
document.form1.txt_pwd.focus();
alert("Enter the password");
return false;
}
document.form1.txt_accno.value=Trim(document.form1.txt_accno.value);
document.form1.txt_pwd.value=Trim(document.form1.txt_pwd.value);
return true;
}
</script>
</head>
<%
String ent=request.getParameter("va");
if (ent!=null)
{
Connection con=null;
Statement smt=null;
ResultSet rs=null;
String accno;
String passw;
accno=request.getParameter("txt_accno");
passw=request.getParameter("txt_pwd");
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
}
catch(ClassNotFoundException ce){ out.print("<p> </p><p
align=center><strong><font color=#CC3300>");
out.print("Check the
values and try again...");
out.print("</font></strong></p>");}
catch(SQLException ce){ out.print("<p> </p><p
align=center><strong><font color=#CC3300>");
out.print("Check the values and
try again...");
out.print("</font></strong></p>");}
smt=con.createStatement();
String query=new String("select password,role from reg_user where user_name='"
+ accno + "'");
rs=smt.executeQuery(query);
if (rs.next())
{
String pass=rs.getString(1);
String r=rs.getString(2);
if (pass.equals(passw))
{
if(r.equals("Admin"))
{
session.setAttribute("entadm","yes");
%>
<body
onload=window.open("admin_home.jsp","_top");>
</body>
<%
// response.sendRedirect("E_r_1.jsp");
}
else if(r.equals("User"))
{
r=String.valueOf(accno);
rs=smt.executeQuery("select reg_no from reg_user where
user_name='" + accno + "'");
rs.next();
int re=rs.getInt(1);
rs=smt.executeQuery("select f_name from reg_user where
reg_no=" + re);
rs.next();
%>
<body onload=window.open("Home.html","_top");>
</body>
<%
// response.sendRedirect("E_r_1.jsp");
}
else
{
session.setAttribute("entadm","yes");
%>
<body onload=window.open("Home.html","_top");>
</body>
<%
// response.sendRedirect("loged_E_r_1.jsp");
}
}
else
{
out.print("<p> </p><p align=center><strong><font
color=#CC3300>");
out.print("The given password is incorrect..");
out.print("</font></strong></p>");
}
}
else
{
out.print("<p> </p><p align=center><strong><font
color=#CC3300>");
out.print("The given User name is incorrect..");
out.print("</font></strong></p>");
}
}
%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
onLoad="fonload()" >
<table width="779" border="0" cellpadding="0" cellspacing="0" >
<!--DWLayoutTable-->
<tr>
<td width="5" height="35"> </td>
<td width="65"> </td>
<td width="55"> </td>
<td width="130"> </td>
<td width="175"> </td>
<td width="65"> </td>
<td width="127"> </td>
<td width="48"> </td>
</tr>
<tr>
<td height="19"> </td>
<td colspan="7" valign="top"><img src="bn_files/reg_user_login_area.gif"
width="665" height="19"></td>
<td> </td>
</tr>
<tr>
<td height="66"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="19"></td>
<td> </td>
<td colspan="3" rowspan="2" valign="top" ><form name="form1" method="post"
action="login.jsp?va=1" onSubmit="return vali()">
<p><font face="Courier New, Courier, mono">User
Name
<input name="txt_accno" type="text" id="txt_accno">
</font></p>
<p><font face="Courier New, Courier,
mono">Password
<input name="txt_pwd" type="password" id="txt_pwd">
</font></p>
<p><font face="Courier New, Courier, mono">
<input name="btn_sub" type="submit" id="btn_sub" value=" Login ">
<input name="btn_rst" type="reset" id="btn_rst" value=" Reset ">
</font></p>
</form></td>
<td> </td>
<td valign="top"><a href="new_user.html">New User</a></td>
<td> </td>
<td></td>
</tr>
<tr>
<td height="101"></td>
<td></td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="24"></td>
<td></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="16"></td>
<td></td>
<td></td>
<td valign="top"><font size="2" face="Courier New, Courier, mono"><a
href="for_pwd.jsp">Forget Password?</a></font></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="45"></td>
<td></td>
<td></td>
<td> </td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</center>
</form>
</body>
</html>
User_Question.jsp
<html>
<head>
<title> Agriculture Question</title>
</head>
<body background="bn_files/backgrnd[2].gif">
<form name="question" action="question_user.jsp" method="post">
<center>
<h1><font face="Pandit">K…wl cªkœ </font> AGRICULTURE
Question</h1>
</center>
<pre>
<font face="Pandit" size="6">
MªvnK bvg</font> <font size="6">/User Name :</font> <input type="text"
name="user" size="25">
<font face="Pandit" size="6">
Avcbvi cªkœ :</font>
<textarea name="question" cols="50" rows="5">Type your Question here in
English.</textarea>
<input type=submit name="Submit" value="Submit">
</pre>
<%@page language="java" import="java.util.*"%>
</form>
<%@ page contentType="text/html;" language="java" import="java.sql.*" errorPage=""
%>
<%
Connection con=null;
Statement smt=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
}
catch(ClassNotFoundException ce){out.println("Check the values and try again...");}
catch(SQLException ce){out.println("Check the values and try again...");}
smt=con.createStatement();
rs=smt.executeQuery("select max(q_no) from Table2");
int id;
if(!rs.next())
{
id=0;
}
else
{
id=rs.getInt(1);
}
id=id+1;
String user=request.getParameter("user");
String question=request.getParameter("question");
try
{
smt.executeUpdate("insert into Table2 values("+id+",'" + user + "','" + question +"','
')");
out.println(" ");
}
catch(SQLException ce)
{
out.println("Check Your Value ");
smt.close();
con.close();
}
smt.close();
con.close();
%>
</body>
</html>
User_question_answare.jsp
<%@ page session="false" %>
<%@ page import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> DATABASE OUTPUT FROM SQL</TITLE>
</HEAD>
<BODY>
<form name="user_answare" action="user_answare2.jsp" method=post">
<TABLE BORDER="0" align="center">
<tr>
<td>INPUT YOUR USER NAME
</tr>
<tr><td> <input name="user" type="text" size="20">
</tr>
<tr>
<td> <input name="submit" type="submit" value="submit">
<TR>
</TR>
<%
String kk=request.getParameter("user");
Connection con=null;
Statement smt=null;
ResultSet rs=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
smt=con.createStatement();
rs=smt.executeQuery("select * from Query2 where user_name='"+kk+"'");
while(rs.next())
{
String roll=rs.getString("question");
String dept=rs.getString("answare");
String f_n=rs.getString("f_name");
String l_n=rs.getString("l_name");
%>
<tr>
<td align="center" bgcolor="#FFF8DC"> <b>Q:</b><%= roll %> </td>
</tr>
<tr>
<td align="center" bgcolor="#8FBC8F"> <b>Ans:</b><%= dept %> </td>
</tr>
<% } %>
</TABLE>
</BODY>
</HTML>
Article.jsp
<html>
<head>
<title> Agriculture Question</title>
</head>
<body background="bn_files/backgrnd[2].gif">
<form name="question" action="article.jsp" method="post">
<center>
<h1><font face="Amar Bangla Normal">Bfe¡l B¢VÑLm </font> </h1>
</center>
<pre>
<font face="Pandit" size="6">
bvg</font> <font size="6">/ Name :</font> <input type="text" name="user"
size="25">
<font face="Pandit" size="6">
Avcbvi AvwUчKj :</font>
<textarea name="question" cols="50" rows="5">Type your Question here in
English.</textarea>
<input type=submit name="Submit" value="Submit">
</pre>
</form>
<%@ page contentType="text/html;" language="java" import="java.sql.*" errorPage=""
%>
<%
Connection con=null;
Statement smt=null;
ResultSet rs=null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
}
catch(ClassNotFoundException ce){out.println("Check the values and try again...");}
catch(SQLException ce){out.println("Check the values and try again...");}
smt=con.createStatement();
String user=request.getParameter("user");
String question=request.getParameter("question");
try
{
smt.executeUpdate("insert into article values('" + user +"','"+ question+"')");
out.println("You are Succesfully posted your Question");
}
catch(SQLException ce)
{
out.println("Check Your Value ");
smt.close();
con.close();
}
smt.close();
con.close();
%>
</body>
</html>
Administrator Area
Admin login is the same page of the user login.
Admin_home.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Admin Area</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="104,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="admin_top.jsp" name="topFrame" scrolling="NO" noresize >
<frame src="admin_left_sup.jsp" name="leftFrame" noresize>
</frameset>
<noframes><body>
</body></noframes>
</html>
Admi_top.jsp
<%@ page contentType="text/html;" language="java" import="java.sql.*" errorPage=""
%>
<%
String ent=String.valueOf(session.getAttribute("entadm"));
if (ent.equals("yes"))
{
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="780" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="66" colspan="3" valign="top"><img src="bn_files/admin_top_1.gif"
width="980" height="66"></td>
</tr>
<tr>
<td width="663" height="30" valign="top"><img
src="images/admin/admin_top_2.gif" width="863" height="30"></td>
<td width="97" valign="top"><a href="admin_logout.jsp" target="_parent"><img
src="images/admin/admin_top_log.gif" width="97" height="30" border="0"></a></td>
<td width="20"><img src="images/admin/admin_top_4.gif" width="20"
height="30"></td>
</tr>
<tr>
<td height="52" colspan="3"><img src="images/admin/admin_top_5.gif" width="780"
height="104"></td>
</tr>
</table>
</body>
</html>
<%
}
else
out.println("Unregistered User");
%>
Admin_left_sup.jsp
<%@ page contentType="text/html;" language="java" import="java.sql.*" errorPage=""
%>
<%
String ent=String.valueOf(session.getAttribute("entadm"));
if (ent.equals("yes"))
{
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset cols="204,*" cols="*" frameborder="NO" border="0" framespacing="0">
<frame src="admin_req.jsp" name="topFrame" scrolling="NO" noresize
marginheight="0" marginwidth="20" />
<frame src="admin_wel.jsp" name="body" noresize marginheight="5"
marginwidth="20" />
</frameset>
<noframes><body>
</body></noframes>
<%
}
else
out.println("Unregistered User");
%>
Userlist.jsp
<%@ page session="false" %>
<%@ page import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> NEW USER REGISTRATION</TITLE>
</HEAD>
<BODY bgcolor="#C0C0C0">
<TABLE BORDER=2 align="center">
<TR>
<TH align="center">Name</TH>
<TH align="center">User Name</TH>
<TH align="center">Password</TH>
<TH align="center">State</TH>
</TR>
<%
Connection con=null;
Statement smt=null;
ResultSet rs=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
smt=con.createStatement();
rs=smt.executeQuery("select * from reg_user");
while(rs.next())
{
String name=rs.getString("f_name");
String name1=rs.getString("l_name");
String roll=rs.getString("user_name");
String dept=rs.getString("password");
String state=rs.getString("state");
%>
<tr bgcolor="#483D8B">
<td align="center" bgcolor="#FFCCFF"> <%= name %> <%= name1 %></td>
<td align="center" bgcolor="#DCDCDC"> <%= roll %> </td>
<td align="center" bgcolor="#99FFCC"> <%= dept %> </td>
<td align="center"> <%= state %> </td>
</tr>
<% } %>
</TABLE>
</BODY>
</HTML>
Articleview.jsp
<%@ page session="false" %>
<%@ page import="java.sql.*" %>
<HTML>
<HEAD>
<TITLE> NEW USER REGISTRATION</TITLE>
</HEAD>
<BODY bgcolor="#C0C0C0">
<TABLE BORDER=2 align="center">
<TR>
<TH align="center">Name</TH>
<TH align="center">Article</TH>
</TR>
<%
Connection con=null;
Statement smt=null;
ResultSet rs=null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:KRISHI");
smt=con.createStatement();
rs=smt.executeQuery("select * from article");
while(rs.next())
{
String name=rs.getString("name");
String name1=rs.getString("article");
%>
<tr bgcolor="#483D8B">
<td align="center" bgcolor="#DCDCDC"> <%= name %> </td>
<td align="center" bgcolor="#99FFCC"> <%= name1 %> </td>
</tr>
<% } %>
</TABLE>
</BODY>
</HTML>
Admin_logout.jsp
<%@ page contentType="text/html;" language="java" import="java.sql.*" errorPage=""
%>
<%
String ent=String.valueOf(session.getAttribute("entadm"));
if (ent.equals("yes"))
{
session.invalidate();
%>
<html>
<head>
<title>Log Out</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body background="images/bg.gif" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table width="753" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="138" height="153"> </td>
<td width="324"> </td>
<td width="61"> </td>
<td width="29"> </td>
<td width="201"> </td>
</tr>
<tr>
<td height="26"> </td>
<td colspan="2" valign="top"><div align="center"><strong><font color="#3333CC"
size="+2">SIGN
OUT COMLETE</font></strong></div></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="59"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td height="30"> </td>
<td> </td>
<td colspan="2" valign="top"><a href="Home.html" target="_parent"><img
src="images/btn_home.gif" width="90" height="30" border="0"></a></td>
<td> </td>
</tr>
<tr>
<td height="71"> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
<%
}
else
out.println("Unregistered User");
%>
Reference Books:
1. N.B.U. Study materials. Year 3(B.I.S. Part1, B.I.S.Part3)
2. Java Server Programming for Professionals...Ivan Bayross, Sharanam Shah, Cynthia, Vaishali Shah.
3. JavaScript application Cookbook Bradenbaugh
4. The Complete Reference Java 2Herbert Schildt.
5. Access Database Design & Programming.Roman.
6. Java Application Programming. Hunt.
Visiting Website:
http://agricoop.nic.in/add.htmhttp://www.nabard.org/
www.wbagriculture.nic
Conclusion
It is believed that in the future Internet Agriculture will recede in importance as a
strategic application to become a competitive necessity that must be adopted by most of
the government departments.
India is striding smoothly towards integrated E-Governance. In next five years
situation will be entirely different. Most of the Agriculture and Governmental transactions
will be web based. This is just a transformation phase towards knowledge economy.
There is a great role to paid by the citizens of the country to adopt E-Governance and
should not resist to change. Quick adoption emerging pro-active knowledge society, the
Central Government and the State Government will have no choice to constantly
improvise to bring in greater efficiency, Accountability and Transparency in their
functioning.
With the development of asynchronous technologies and secured electronics
transaction technologies, more Agriculture Information Service and departments are using
Internet for transactional and information medium. Users of E-Agriculture can perform
common Agriculture tasks such as writing checks, paying bills, transferring funds,
printing statements in balance inquiry etc. Internet Agriculture has evolved into ‘One stop
service and information unit’ that promises great benefits to all.
Future Enhancement
In this project only part of the e-Agriculture features are implemented. In the future
the complete features of the Agriculture process can be built into this system.