I have some OGNL I am using to populate the href element of an <s:a>
to a dynamically produced URL, handled by the Google UserService.
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="requestUri" value="%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURI}" />
<s:a href="%{#action.userService.createLoginURL("<c:out value="${requestUri}"/>");}">Sign in</s:a>
However, I am getting an error saying the <s:a>
tag is unterminated. I have tried escaping inner speechmarks, and using single quotes but so far I have always been greeted with the same error message.
(11,71) Unterminated <s:a tag
I can't for the life of me see what is wrong. Maybe someone with better eyes for the language will see something I cannot.