I want to show the result of my routing on openLayers. The routing is implemented in JAVA and it is an web application running on a server.
I saw some examples with php where the structure of a kml is created and returned to OL with echo $result;
Are there some examples for returning dynamic kl from a java app instead of php?
My first idea is to implement a servlet which constrcuts the kml structure and return the result with out.print(resultString), but Iam not sure if it would work.