Webpage Generator
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
nit_cal
Active In SP
**

Posts: 237
Joined: Oct 2009
#1
30-10-2009, 04:32 PM



.pdf   Webpage Generator.pdf (Size: 227.19 KB / Downloads: 147)
Presented by:Partha Bag Yl
Webpage Generator



Abstract
The aim of this project and implimentation 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 and implimentation 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 and implimentation.

1.4.2 Language
The languages used to design this project and implimentation 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 and implimentation is a tool for generating webpages. This tool can be used by faculty members l> generate their course pages. They can link these pages from their own pages to give assignments, notice, instructions etc. to the students through these pages. This project and implimentation 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 and implimentation. 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 and implimentation 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 and implimentation 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 and implimentation 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.
Use Search at http://topicideas.net/search.php wisely To Get Information About Project Topic and Seminar ideas with report/source code along pdf and ppt presenaion
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

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
  Closing the Loop in Webpage Understanding pdf study tips 0 308 19-02-2013, 09:09 AM
Last Post: study tips
  Automated Password Generator Report study tips 0 341 15-02-2013, 02:21 PM
Last Post: study tips
  A PAPER PRESENTATION ON WEBSITE GENERATOR project girl 0 349 03-01-2013, 09:58 AM
Last Post: project girl
Thumbs Up Motionless electromagnetic generator(Download PPT,Abstract) computer science crazy 19 14,952 05-07-2012, 05:22 PM
Last Post: Guest