hi, i am trying to declare a bean that I can use to retrieve values from its propertes

like

//firstPage.jsp
<jsp:useBean name="aBean" class="package.bean" scope="session" />

when i try to access a property of this bean from another page, it gives an error
and it says the bean does not exist
//secondPage.jsp
<jsp:getProperty name="aBean" property="aProperty">

also tried to declare on the first page the tag uptop
page session=true, so what would be the proper way of declaring a bean that I can use on multiple pages on the same session?

any help would be really appreciated! :D