Get Session attributes using JSP tag


J

James Yong

Hi all,

I am new to jsp taglib.
Is it possible to get attributes from the session using jsp tags?
In servlet, I can use ((myclass)session.getAttribute("blah")).getMyMethod();
In jsp, I use <%= ((myclass)session.getAttribute("blah")).getMyMethod() %>

Regards,
James
 
Ad

Advertisements

Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top