J
jrefactors
I want to know the advantage of using JSP tags over Java code?
For example,
<jsp:setProperty name="beanInstanceName" property="propertyName" /> is
using the JSP tag.
But we can also write Java scripplet code
<% beanInstanceName.setPropertyName(); %>
Another example is
<jsp:getProperty name="beanInstanceName" property="propertyName" /> and
beanInstanceName.getPropertyName();
Please advise.
thanks!!
For example,
<jsp:setProperty name="beanInstanceName" property="propertyName" /> is
using the JSP tag.
But we can also write Java scripplet code
<% beanInstanceName.setPropertyName(); %>
Another example is
<jsp:getProperty name="beanInstanceName" property="propertyName" /> and
beanInstanceName.getPropertyName();
Please advise.
thanks!!