I'm trying to figure out if there's any functional difference between these two uses of the JSTL <c:set> tag. Let's assume I have imported some string constants into my JSP page via something like:
<%@ page import="some.package.of.AppConstants"%>
So, given the above import directive, what's the difference between these two examples:
- Specifying the value in - valueattribute:- <c:set var="SOME_VAR" value="${AppConstants.SOME_CONSTANT}" />
- Specifying the value in tag body: - <c:set var="SOME_VAR"> <%=AppConstants.SOME_CONSTANT%> </c:set>
Is there any difference in what the value of ${SOME_VAR} will be in the second example versus the first example? Would the presence of any special characters in AppConstants.SOME_CONSTANT affect the value of ${SOME_VAR} in either of these cases?
 
     
     
    