Currently I define my app\'s javascript router in a fairly verbose way
def javascriptRoutes = Action { implicit request =>
import routes.javascript._
Ok(R
Expanding @rochb's answer for Play 2.4 Java, where the package names are slightly different, with support for multiple controller packages.
public Result javascriptRoutes() throws IllegalAccessException, IllegalArgumentException,
InvocationTargetException {
// use reflection to get the fields of controllers.routes.javascript and other controller packages
Set