A HTTP based word count utility!
Welcome to HTTP based word count utility. This project gives you an utility where you can find out the occurence of a particular word inside a text file.
Please follow the below steps to get the project started.
- Create a folder name wordcount.com inside tomcat/webapps diretory.
- Initialize the folder with git init
- Add a git remote for this project as git remote add "remotename" https://github.com/ernitishkumar/wordcount.com.git
- Make a pull request using this remote. The project will get cloned at your end.
- Now navigate to WEB-INF/classes/com/freecharge/utility/ directory
- Open GlobalResources.java file change the value of FILE_PATH with the text file to be used.
- Compile GlobalResources.java by calling cmp.bat in that directory.
- Run the server.
- Access the webapp from the browser.
- To run the test cases migrate to com.freecharge.test directory
- Change the cmp.bat and run.bat files by providing the proper directory structure of your maching and project.
- Then run cmp.bat to compile the files and run.bat to run the test cases.