Nika Gudge
asked on
How to retrieve the HTTPServletResponse header field in script tag
I'm creating a nonce in Servlet and adding this nonce variable to HTTPServletResponse header field as below:
String randomUUIDString = UUID.randomUUID().toString ();
res.addHeader("randomUUIDS tring", randomUUIDString);
My question is how do i retrieve this header value in the script tag in xslt
login.xsl has the <script randomUUIDString ="${randomUUIDString}" language="JavaScript"/>
I'm using randomUUIDString ="${randomUUIDString}" in the script tag as shown above. Is that the correct way of doing it?
String randomUUIDString = UUID.randomUUID().toString
res.addHeader("randomUUIDS
My question is how do i retrieve this header value in the script tag in xslt
login.xsl has the <script randomUUIDString ="${randomUUIDString}" language="JavaScript"/>
I'm using randomUUIDString ="${randomUUIDString}" in the script tag as shown above. Is that the correct way of doing it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.