News

This post explains how to call a method in Java. Learn how to define methods, call them from other classes, and pass arguments!
The javascript file contains a method addToViewer (theUrl), I need to get the variable 'url' from the servlet into this method.