im developing a shopping cart.my hash table is in a bean.so i need to use the hash table's elements.is it possible to use the same bean(id) in a another JSP.

Depends on the scope of your bean and how your flow is structured. Does the JPS/Servlet which creates the bean is in the same flow as the JSP in which you want to access your bean? Is the bean placed in request/session scope?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.