This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes using usebean action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "using usebean action" Watch "using usebean action" New topic

using usebean action

rajaji raja

Joined: Jul 27, 2003
Posts: 9
Hi guys
this my sample code
<jsp:useBean id="a" class=" ---" scope="ession">

how can use id " a"
in another jsp file
priya shankar
Ranch Hand

Joined: May 12, 2003
Posts: 51
As u have set is availabe throuhout the session...
In the another file u just use
<jsp:useBean id="a" class="--" scope="session" />
nuv u can access the bean through "a" doesn't mean u r creating a new instance..its going to use the instance u created in the previous page..
I agree. Here's the link:
subject: using usebean action
It's not a secret anymore!