This week's book giveaways are in the Cloud and AI/ML forums. We're giving away four copies each of Cloud Native Patterns and Natural Language Processing and have the authors on-line! See this thread and this one for details.
I wouldn't use either of those things. I've been retired from work for 6 years now and I wrote a lot of JSPs before that, maybe 5 or 10 years before that. And even then jsp:useBean and jsp:getProperty were obsolete. You're much better off using the JSP Expression Language; if you're using a tutorial for your self-teaching which suggests jsp:useBean and so on then I would strongly suggest you stop using that tutorial and find a more modern one.
(It's nice that the internet never forgets anything, but the downside of that is that obsolete advice keeps being given to the unwary beginner.)
Modern servlet/JSP development (in which I include the projects I worked on over a decade ago) use an architecture in which the sole purpose of a JSP is to take some data and format it for output as (usually) HTML. The idea that a JSP would do some processing to produce the data to be output is banned; it's the job of a servlet (along with other Java classes) to produce that data and put it into (usually) request scope for the JSP to use. This pattern is often referred to as MVC ("Model-View-Controller").