web services - How to using library java web application -


i'm trying build java web application base on servlet, restful web service or something. server, getting request , returning json object. i'm having trouble using library ( web server needs ). library includes folder, has content data library. enter image description here

i can use library on java application ( not web ) copying data folders java application's folder, , adding lib/jar project ( i'm using netbeans ide ). in web application has problem when initialization it. ( viettokenizer main processing class of lib)

viettokenizer vt = new viettokenizer(); // error here ! 

so, how can use on web application?

you can download library in here: 

http://mim.hus.vnu.edu.vn/phuonglh/tools/vn.hus.nlp.tokenizer-4.1.1-src.tar.gz

or here (two version) 

http://vlsp.vietlp.org:8080/demo/?page=resources&tool=tokenizer

if using ide netbeans or eclipse can put them in lib folder. ide bundle libraries when build war file


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -