I am a beginner in JSP and need some help. I started out with this bit of code inside one of my first JSP pages
<%
LoginService user = new LoginService();
%>
Hello <%=user.getUserID() %>!
And works just fine. I imported the LoginService class correctly and that bit of code works! But now I am learning JSTL and trying to convert the above to JSTL tags. So I got off on the right foot but need some help finishing. So far I have
<jsp:useBean id="user" class="org.test.LoginService"></jsp:useBean>
But I'm having trouble converting that last Hello line into a JSTL tag! I can't figure out how to reference the method getUserID() like I did in the JSP tag. I've come this far on my own but need some help finishing up! Any response would be greatly appreciated!