If you see HTML tags, then someone/something in your code converts the HTML to text (i.e. it escapes all special characters like <
to <
, etc.) You should see this when looking at the HTML source code in your browser.
This looks odd to me:
<a href="javascript:moveToPage('<c:out value="${requestScope.PREVIOUS_LINK}"/>')">
<
isn't allowed inside of an element, so this should either give an error or the code you pasted above isn't a 1:1 copy from your jspf file.
This would be valid:
<a href="javascript:moveToPage('<c:out...
but wouldn't execute the c:out
anymore.
Use fn:escapeXml() instead:
<a href="javascript:moveToPage('${fn:escapeXml(requestScope.PREVIOUS_LINK)}'">