I am using form-based delarative security using mysql. After the user logged in the main page, I want to get the user information from the database using the user name and password and display it on the screen.
I've implemented entity bean/session bean that retrieves the info, and it works if I call servlet directly. However, I don't know how to include that in main.jsp page. Should I use servlet for that ? I tried to include it using <jsp include page >, and it doesn't do anything ( no error, no output).
I've tried to use tag library, it also doesn't do anything or doesn't show any error.