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

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -