GithubHelp home page GithubHelp logo

dani2819 / java-servlet Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 70 KB

This java servlet download all the data from the webpage specified by user and calculates average length of the word.

Java 100.00%

java-servlet's Introduction

Java-Servlet

This java servlet download all the data from the webpage specified by user and calculates average length of the word Installing Instructions:

I made this java servlet using following: ###a) Apache Tomcat v8.0 (It will run on Version 7.0 as well) ###b) Eclipse IDE for Java EE


GENERAL INSTALLING INSTRUCTIONS:

  1. Open the Project in Eclipse IDE, and go to window>Prefrences>Server>Runtime Environment, Add Apache Tomcat v8.0 there.

  2. Go to File, Create->New Server, in New Server Wizard Add the servlet "WorldLengthCounter"

  3. Go to window>show view> servers

  4. In server dialog box, right click on it and start it.

  5. Now go to web browser, enter the url: http://localhost:8080/WordLengthCounter/WordCounter


IMPORTANT:

MINOR CHANGES IN JAVA CODE:

I write the HTML text into .txt file which i saved in my computer. So you have to go on Line:76 and 98 of WordCounter.java and change the directory according to your username.


NOTE: I also placed "demo.doc" file so that you can also show the snapshots of the working project.

java-servlet's People

Contributors

dani2819 avatar

Stargazers

rafay.khan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.