Detailed explanation of struts 2 using ognl to traverse map

I Code in action: mapaction java

II Front end test page: testmap jsp

Java code

Attachment: the type of map is map < integer, list (menu) > traversal at the front end, session The storage type of powerlist is: list (menu)

summary

The above is all about the detailed explanation of the map traversal method of struts 2 using ognl. I hope it will be helpful to you. Interested friends can refer to: detailed explanation of basic syntax and usage of ognl expression. Struts 2 realizes projection through ognl expression. Detailed explanation of struts 2 ognl expression examples, etc. Thank you for your support.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>