Quantcast
Channel: User Federico klez Culloca - Stack Overflow
Viewing all articles
Browse latest Browse all 499

Comment by Federico klez Culloca on auth cannot be resolved to a variable

$
0
0
@MisuriWijewardhana just to understand, you have both those pieces of code (the one that outputs the html and the one that sets the attrbutes etc.) in that specific order? Because if that's the case you should move User auth =(User) request.getSession().getAttribute("auth"); before any use of the auth variable (so before the first piece of code).

Viewing all articles
Browse latest Browse all 499


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>