Acn Microproject
Acn Microproject
PROJECT REPORT
ON
SUBMITED BY,
Kundan Kanchan Mhatre (2211450042)
Mr. Sagar Surekar
SUBMITED TO
Maharashtra State Board of Technical Education
&
Department of Computer
Engineering
BHARTIYA EDUCATION/SOCIAL CHARITABLE TRUSTS
SHETH SHREE OTARMAL SHESHMAL PARMAR COLLEGE OF
DIPLOMA ENGINEERING AT/POST: - NAGOTAHNE
(VELSHET)-402106, TAL:- ROHA, DIST:-RAIGAD (M.S.) INDIA
I further certify that this work has not been submitted to any other college
for the purpose of degree or diploma.
DATE: - Place:-Nagothone
It is with profoundly sense of gratitude that we acknowledge from our guide Mr.
Sagar Surekar he has been guide in the true sense of word a guide who
satisfaction from our word & progress.
We are highly obliged Mr. Sagar Surekar of Department for aberrance & good co-
operation given to us fur bringing this project to almost standard.
We are grateful to our principal Mr. P.P. Jain for proceeding acknowledgement to us
in the connection of this project concluding. We appreciate the assistance of all staff
that helps us in for their sincere& obliging help to make our project successfully.
PREFACE
Consistent with the level of presentation every effort has been made to ensure that the
material included in the report is state of art and in the current expectation of the direct of
future development.
This report has covered as much as it could and especially all the important points
about our project. The Information in this report is accurate and great care has been taken
about the face and figures mentioned in this report.
All the information that could be brought before you have been provided in this
report. The synopsis has been a joint effort of all members of our group and I am thank full
to them for their co-operation.
.
Part A
Micro-Project Proposal
1. 0 Brief introduction:
Today we all are aware of the need of creating dynamic web pages i.e the oneswhich have the
capability to change the site contents according to the time orare able to generate the contents
according to the request received by the client.If you like coding in Java, then you will be
happy to know that using Java therealso exists a way to generate dynamic web pages and that
way is Java Servlet.But before we move forward with our topic let’s first understand the need
forserver-side extensions.Servlets are the Java programs that run on the Java-enabled web
server orapplication server. They are used to handle the request obtained from thewebserver,
process the request, produce the response, then send a response backto the
webserver.Properties of Servlets are as follows:
Servlets work on the server-side.
Servlets are capable of handling complex requests obtained from thewebserver.Servlet
Architecture is can be depicted from the image itself as provided belowas follows:
Execution of Servlets basically involves six basic steps:
1.The clients send the request to the webserver.2.The web server receives the
request.3.The web server passes the request to the corresponding servlet.4.The
servlet processes the request and generates the response in the formof
output.5.The servlet sends the response back to the webserver.6.The web server
sends the response back to the client and the client browserdisplays it on
the screen.
Now let us do discuss eccentric point that why do we need For Server-
Sideextensions?
The server-side extensions are nothing but the technologies that are used tocreate
dynamic Web pages. Actually, to provide the facility of dynamic Web pages, Web
pages need a container or Web server. To meet this requirement , independent
Web server providers offer some proprietary solutions in the form of
APIs(Application Programming Interface).
These API s allow us to build programs that can run with a Web server. In this
case , Java Servlet is also one of the component APIs of Java Platform Enterprise
Edition which sets standards for creating dynamic Web applications in Java.
Before learning about something, it’s important to know the need for that
something , it’s not like that this is the only technology available for creating
dynamic Web pages.
The Servlet technology is similar to other Web server tensions such asCommon
Gateway Interface(CGI) scripts and Hypertext Preprocessor (PHP). However,
Java Servlets are more acceptable since they solve the limitations of CGI
such as low performance and low degree scalability.
What is CGI?CGI is actually an external application that is written by using any
of the programming languages like C or C++
Many Web servers that are suitable for personal use or low-trac
websites are orered for free or at extremelycheap costs
eg. Java servlet.However, the majority of commercial-grade Web
servers are ratherexpensive, with the notable excepon
of Apache, which is free.
+
HTML
HTML
stands for Hyper Text Markup Language. It is used to design web
pages using a markup language. HTML is the combination of
Hypertext and Markup language. Hypertext desnes the link between
web pages. A markup language is used to defne the text document
within the tag which defines the structure of web pages. This language
is used to annotate (make notes for the computer)text so that a
machine can understand it and manipulate text accordingly. Most
markup languages (e.g. HTML) are human-readable. The language
uses tags to define what manipulation has to be done on the
text.HTML is a markup language used by the browser to manipulate
text, images, and other content, in order to display it in the required
format. HTML was created by Tim Berners-Lee in 1991. The first-
ever version of HTML was HTML1.0, but the first standard version
was HTML 2.0, published in 1995.
<!DOCTYPE html>: This is the document type declaration (not technically a
tag). It declares a document as being an HTML document. The doctype
declaration is not case-sensitive
<html>: This is called the HTML root element. All other elements are
contained within it.
<head>: The head tag contains the “behind the scenes” elements for a webpage.
Elements within the head aren’t visible on the front-end of a webpage. HTML
elements used inside the <head> element include:
<style>-This html tag allows us to insert styling into our webpages and
make them appealing to look at with the help of CSS.
<base>-It specifies the base URL for all relative URL’s in a document.
<script>-This tag is used to add functionality in the website with the help
of JavaScript.
<meta>-This tag encloses the meta data of the website that must be
loaded every time the website is visited. For eg:- the metadata charset
allows you to use the standard UTF-8 encoding in your website. This in
turn allows the users to view your webpage in the language of their
choice. It is a self closing tag.
<link>– The ‘link’ tag is used to tie together HTML, CSS and JavaScript.
It is self closing.
Source Code:
index.html:
<!DOCTYPE html>
<html>
<head>
<title>Create you Resume Here!</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
</head>
<body bgcolor="Silver">
Servlet:
import java.io.IOException; import java.io.PrintWriter;
import javax.servlet.ServletException; import
javax.servlet.annotation.WebServlet; import
javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest; import
javax.servlet.http.HttpServletResponse;
@WebServlet("/Resume")
public class Resume extends HttpServlet { @Override
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException,
IOException
{
String name=request.getParameter("name");
String fathername=request.getParameter("fathersname"); String
address=request.getParameter("address");
String phonenumber =request.getParameter("phonenumber");
String emailid=request.getParameter("emailid");
String date=request.getParameter("Date"); String
month=request.getParameter("Month"); String
year=request.getParameter("Year");
String course1=request.getParameter("Course1"); String
course2=request.getParameter("Course2"); String
course3=request.getParameter("Course3"); String
grade1=request.getParameter("Grade1"); String
grade2=request.getParameter("Grade2"); String
grade3=request.getParameter("Grade3"); String
py1=request.getParameter("passingyear1"); String
py2=request.getParameter("passingyear2"); String
py3=request.getParameter("passingyear3"); String
org1=request.getParameter("org1");
String desig1=request.getParameter("desig1"); String
Years1=request.getParameter("Years1"); String
org2=request.getParameter("org2"); String
desig2=request.getParameter("desig2"); String
Years2=request.getParameter("Years2"); String
org3=request.getParameter("org3"); String
desig3=request.getParameter("desig3"); String
Years3=request.getParameter("Years3"); String
h1=request.getParameter("h1");
String h2=request.getParameter("h2"); String
h3=request.getParameter("h3");
String h4=request.getParameter("h4"); String
r1=request.getParameter("lang1"); String
r2=request.getParameter("lang2"); String
r3=request.getParameter("lang3"); String
r4=request.getParameter("lang4"); String
r5=request.getParameter("lang5"); String
r6=request.getParameter("lang6"); String
r7=request.getParameter("lang7"); String
r8=request.getParameter("lang8");
response.setContentType("text/html"); PrintWriter out =
response.getWriter(); out.print("<h1>Resume</h1> <br/>");
out.print("<h3><u>Personal Information</u></h3><br/>");
out.print("Name :"+name+"<br>");
out.print("Father's name : "+ fathername +"<br/>");
out.print("Resisential Address : "+ address +"<br/>");
out.print("Contact Number : "+ phonenumber +"<br/>");
out.print("Email Address : "+ emailid +"<br/>");
out.print("Date of Birth :"+date+ " "+month+" "+year);
out.print("<h3><u>Qualification Related
Information</u></h3><br/>");
out.print("<h2><b>Graduation:</b></h2><br/>");
out.print("Course : "+course1+"<br/>"); out.print("Grade :
"+grade1+"<br/>"); out.print("Year of Passing :
"+py1+"<br/>");
out.print("<h2><b>Intermediate:</b></h2><br/>");
out.print("Course : "+course2+"<br/>"); out.print("Grade :
"+grade2+"<br/>"); out.print("Year of Passing :
"+py2+"<br/>");
out.print("<h2><b>Matriculation:</b></h2><br/>");
out.print("Course : "+course3+"<br/>");
out.print("Grade : "+grade3+"<br/>"); out.print("Year of Passing :
"+py3+"<br/>"); out.print("<h3><u>Experience</u></h3><br/>");
out.print("Organisation's Name : "+org1+"<br/>");
out.print("Designation : "+desig1+"<br/>"); out.print("Years of
Experience: "+Years1+"<br/>"); out.print("Organisation's Name :
"+org2+"<br/>"); out.print("Designation : "+desig2+"<br/>");
out.print("Years of Experience: "+Years2+"<br/>");
out.print("Organisation's Name : "+org3+"<br/>");
out.print("Designation : "+desig3+"<br/>"); out.print("Years of
Experience: "+Years3+"<br/>");
out.print("<h3><u>Skills</u></h3><br/>");
out.print("</body></html>")
}
References:
1. https://www.google.com
2. www.geeksforgeeks.com
3. www.tutorialspoint.com
4. https://www.techtarget.com