When passing the URL item to be set in OGP to the field It was displaying an unintended value. This is the source used for the investigation at that time.
Enumeration<String> headerNames = request.getHeaderNames();
while (headerNames.hasMoreElements()) {
System.out.print.ln(headerNames.nextElement());
}
Enumeration<String> attributeNames = request.getAttributeNames();
while (attributeNames.hasMoreElements()) {
System.out.print.ln(attributeNames.nextElement());
}
I usually use __request.getHeaderNames () __ a lot, but this time it wasn't relevant at all. request.getAttribute("javax.servlet.forward.request_uri"); In conclusion, I was able to get the above value.
Recommended Posts