Chen Jian's Java Blog 

"model" doesn't work but "it" works when using sitemesh + jersey mvc + jsp

by Chen Jian


Posted on 2018-11-18 08:20 in Java


When I use "model" for the attribute name in the Jsp views, it only works in the original view, but not in other parts of the whole, merged view.

But when I use "it" instead, everything works.

I don't know why. Maybe Jersey removes "model" from request attributes after rendering the original view



No one has commented yet.
该日志评论功能被禁用了。