Solved
Calling USE API script from JSP
What is the alternative for the data-sly-use attribute in JSP. Is there any other way to call use api scripts from a .jsp file?
What is the alternative for the data-sly-use attribute in JSP. Is there any other way to call use api scripts from a .jsp file?
@premib As per my knowledge you need to write the whole logic into the JSP file itself and inside the scriptlet tags.
ex.
<%
String propertyName = properties.get("propertyName", String.class);
%>
P.S. It better to use Sightly /HTL based component over JSP based component.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.