“model” doesn’t work but “it” works when using sitemesh + jersey mvc + jsp

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

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.