how to wrap an existing java application into a servelet? -
assume have java file, how can wrap serverlet? there tutorial or procedure can follow? well, @ level of detail, no. what java program do? if it's gui program, you're more or less out of luck -- servlet text based. if it's text based program generates output, can hack way load application , run appropriate static main. even then, truth servlet model, based on being web application, pretty different environment -- may able reuse parts of java application have rewrite substantial bit make work.