java - Apache Click Model properties are not rendering -


i new apache click framework , trying execute helloworld example. using click-2.3.0.jar. http://click.apache.org/docs/user-guide/html/ch01.html.

i configured web.xml , click.xml per

http://www.ibm.com/developerworks/library/wa-apacheclick/.

as per example in page class adding parameter addmodel("time", time); , printing in html. instead of printing time , prints variable $time.i tried ${time}.

the template path should have .htm extension specified in web.xml route *.htm requests clickservlet. [1]

maybe named file html extension.

[1] http://click.apache.org/docs/user-guide/htmlsingle/click-book.html#chapter-pages]


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -