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 -

google shop client API returns 400 bad request error while adding an item -