1) an empty tag: example <tax:calculate2008 user=”${username}” />
2) a tag with nothing between opening and closing tags: example <tax:calculate2008 user=”${username}”></ tax:calculate2008>
3) a tag with only <jsp:attribute> between tags. Example
<tax:calculate2008 user=”${username}”>
<jsp:attribute name=”user”>${username}</ jsp:attribute>
</ tax:calculate2008>
Remember jsp:attribute is only tag you can put in body even when body content for that tag is declared as empty.
For other things you will get a big org.apache.jasper.JasperException
No comments:
Post a Comment