Struts 2 realizes projection through ognl expression
•
Java
Projection: as the saying goes, it is filtering, that is, the filter filters out the qualified ones
struts. xml:
OgnlAction4. java:
Link:
Result interface:
result:
Projection (filter): [1] projection: [18] projection: [23] projection: false
summary
The above is all about the projection of struts 2 through ognl expression. I hope it will be helpful to you. If you have any questions, please leave a message. Xiaobian will reply to you in time. Thank you for your support for the programming tips website!
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
二维码