I am currently using Eclipse and Tomcat for my servers and I am trying to make a method that passes an input string as output onto the HTML website.
I got some help from the question below, but how would I go about implementing the code from that link into a servlet file?
How to create a Restful web service with input parameters?
If anyone has any other solutions to taking text, passing it to the method and outputting it I'd appreciate it.
The code I'm using is a demo for Hello World (scroll to the very bottom):
https://www.ibm.com/developerworks/library/os-eclipse-tomcat/index.html