Hi, I have a few uncleared points about jsp:useBeans.
First, beans that have scope of "session" or "application" can persist throughout a session. So what effect does that have on using HttpSession object? What are "session beans" and "application beans" equivalents in servlets?
Do they just place a session bean inside a HttpSession object?
Secondly, when is proper to use <jsp.useBean getProperty id="someBean" Property="Tree"/> and when to use <%someBean.getTree()%>?
Overall, I feel that JSP is much simpler and flexible than servlets.
First, beans that have scope of "session" or "application" can persist throughout a session. So what effect does that have on using HttpSession object? What are "session beans" and "application beans" equivalents in servlets?
Do they just place a session bean inside a HttpSession object?
Secondly, when is proper to use <jsp.useBean getProperty id="someBean" Property="Tree"/> and when to use <%someBean.getTree()%>?
Overall, I feel that JSP is much simpler and flexible than servlets.