JSP custom tag library

xiaoxiao2021-03-06  41

What is IS tag?

Mark compass class two categories, organism marker, exact marker

2.on Web.xml:

/web-inf/struts-html.tld

Use JavaBeans with Struts markers

There are three ways:

Access simple attribute

Access nested properties

Access to index properties

Access Simple Properties:

Access Nested Properties: Property = "User.address.city Equals getuser (). GetAddress (). Getcity ()

Access to index properties: proty = "Address [2]" Equals getaddress (2)

转载请注明原文地址:https://www.9cbs.com/read-61376.html

New Post(0)