Webpage Generator
#1

[attachment=391]
Presented by:Partha Bag Yl
Webpage Generator



Abstract
The aim of this project is to generate course webpages details entered by a faculty meruber.The mmiiier of frames, links, their destinations, backgrounds and other specific details will be enter by Uic'faculty member and the tool will automatically generate the page.

Introduction


1.1 Problem Definition
To generate the course webpages according to the data fields entered by the faculty member.

1.2 Specification
Input: Data field in the HTML forms. Output: Web pages will be generated.

1.3 Motivation
The motivation for doing this project is to save time and effort needed to generate the webpages for <#urses.

1.4 Design Decision
JAVA language IB selected for designing this projcct.Thcro arc several inbuilt classes and func¬tions m the JAVA language which is used to develop this tool. HTML forms are used as dat-a input to the Tomcat server.This makes this tool user friendly and easy to operate.

1.4.1 Platform
This tool is platform independent. Java class files arc portable to any OS and is secure. I have used liniix OS to design this project.

1.4.2 Language
The languages used to design this project are JAVA and HTML.

1.4.3 Software
Apache Tomcat server software is installed to run the servelet programs (Java programs). The wehpagescau be displayed (as serviets) on request from this server.

Chapter 2 Implementation


2.1 Introduction
This project is a tool for generating webpages. This tool can be used by faculty members l> generate their course pages. They can page link these pages from their own pages to give assignments, notice, instructions etc. to the students through these pages. This project can be divided into lluve phases. In the first phase I have done Jakarta Tomcat server installation. In the next phase I have done the servlet programs in Java. These are the most important parts of my project. The servlet programs are the core programs which decides how the appearence of the pages will be. These programs will dynamically generate the webpages. These pages can be saved from the browser. The final phase of my project is to create some static HTML pages which are actually forms, where we have to fill up with the data. As per the type of data and specification, the corresponding webpages will be generated. Actually I had to do some coding for phase two and phase three snnultaneuosly because I had to verify that my project matched the specifications given in the abstract.
2.2 Phase 1: Jakarta Tomcat Server installation
2.2.1 J2EE SDK 1.4 Installation
The J2EETM SDK is a complete implementation of the JavaTM 2 Platform, Enterprise Edition. Sun adapts and integrates the Tomcat Implementation of JSP and Java Servlet technologies into the J2BE SDK. The J2EE SDK is for development, production deployment, and redistri-bution.J2EE 1.4 SDK contains an implementation of the Java Servlet specification.Tomcat 5.x is an implementation of the Java Servlet specification.

2.2.2 Jakarta Ibmcat Server
Tomcat is a free, open-source implementation of Java Servlet and JavaServer Pages technologies developed under the Jakarta project at the Apache Software Foundation.

2.2.3 Setting up Environment Varibles and Classpath
This is the set up to run the Tomcat Server. Here changes are made to the '/etc/tjashrc' file to setting up the CLASSPATH variables. CLASSPATH varilbles export jar files for various packages those comes along the J2EE SD2K 1.4 . JAVAHOME environmentel variables is defined in the bashrc file.

2.2.4 Starting the server
The server can be started using './startup.sh' and using \/shutdownn.sh' it can be stopped. Port no. 8080 and IP address can be used to connect from any client to this server. The pages will be shown to that port.
2.3 Phase 2: Java Servlet Programming
2.3.1 Introduction
In this phase I have used several classes, methods and interfaces of Java which arc used for web application development. The packages used are javax.servlet, javax.servlet.http, java^o .

2.3.2 javax.servlet.* Package:
Tim interfaces used are ServletRequest() and ServletResponseQ which are used to read diil* from theclient and to write data to the client response. One class is used ServletExceptioii() which invokes the a servlet error occured. Here Request.getParameter() to get string for sorvet to process.

2.3.3 javax.servlet.http,* Package:
In tliis package I have used HttpScrvlctRequcstO, HttpScrvlctRjcsponscO for enabling scrvlcts to read data from an HTTP request and write data to an HTTP request. HttpServletQ class is used for methods to handle HTTP request and responses. The methods used in HttpServlet class are doPostf), doGetf).These performs HTTP POST and HTTP GET respectively.

2.3.4 java.io.* Package:
In this package I have used out.println() class to print to a file and IOException() is used to to throw i/o exception.
2.4 Phase 3: Static HTML Form Generation
In tins phase, I have created some HTML forms which are used to collect the data to be sent to the server. The server uses this data to generate the contents for the webpage. The pages are generated as the output of the servlet programs. For sending data to the particular servlet, n<form method—POST action—the path through which particular servlet program is to be invoked>n is used. For getting the values of the button, radio button, checkbox, input box etc. the servlet's req.getParameter0 method is used. The values of these data are sent as strings. Thus it gives a touch of uscxfricndlmcss to my tool.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: college webpage html code, safari webpage previews disable, simple html code for college webpage, html code for creating college webpage, html code for designning a college webpage, html program for college webpage, development of webpage change request tracker system,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Random Quote Generator? shakir_ali 0 1,051 30-10-2014, 12:54 AM
Last Post: shakir_ali
Thumbs Up Motionless electromagnetic generator(Download PPT,Abstract) computer science crazy 18 14,224 14-03-2012, 10:56 AM
Last Post: seminar paper

Forum Jump: