java - Internally resolving HTML of specified URL using routing -
i developing web application using play framework 2.3.9 java. love have method gets corresponding result specified call or url. know routing, able call method controller, can example retrieve html several pages @ once. need widget support in application.
example input: routes.applicationcontroller.index("hello world")
example output: corresponding result html body
is there such method in play? or have own solution this? feel useful in many other situations well.
i saw useful methods in testing module of play, failed use them in normal environment. , don't idea of referencing test module else testing.
unfortunately, not @ scala, don't mind having solution in scala, long need call method , expected result.
cheers,
dusan
Comments
Post a Comment