Guest_imported
New member
- Jan 1, 1970
- 0
I have a session variable passing through my JSP pages but i want to use this session variable in an SQL query within a Java bean. How do I send this variable from a JSP page to the corresponding java bean.
I know I have it because I used this line in my JSP page and hello,alison came out
hello,<%= session.getAttribute("username"%>
I tried sometning like this but it wouldnt work
beanId.setSessionName( request.getParameter("username" );
I know I have it because I used this line in my JSP page and hello,alison came out
hello,<%= session.getAttribute("username"%>
I tried sometning like this but it wouldnt work
beanId.setSessionName( request.getParameter("username" );