This week's book giveaway is in the Game Development forum.
We're giving away four copies of Badass: Making Users Awesome and have Kathy Sierra on-line!
See this thread for details.
The moose likes JSP and the fly likes jsp extends Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp extends" Watch "jsp extends" New topic

jsp extends

Pat Flickner
Ranch Hand

Joined: Nov 17, 2003
Posts: 173
I saw the one response on the jsp extends, which may prove to be useful later on, but what I'm trying to ascertain right now is if it's what I want to do. I have a jsp that uses a "proprietary" bean. I need the ability to dynamically create new objects from the bean so that I can reuse it, but all I can find is the jsp "<% page extends" line.
What's happening is that in order to use this bean more than once, the user has to close out all the parent pages due to the manner in which our site is set up. The bean itself is set as a session variable and although I've tried all the other settings, it only works properly as a session variable. All other settings give me only limited, temporary success.
I <I>think</I> that's what I want to do, but I'm just getting into this particular jsp and have never used this particular option. If it can be done, and I don't see why it couldn't be, how would I dynamically create an entire new bean based on information passed to the jsp?
Thanks so much. I'm also sorry I missed Marty Hall . I have all his books to date and went to one of his seminars. The guys a natural teacher, one of the best I've encountered.
Thanks so much for whatever assistance you can provide. I have yet to find something that can't be done programming-wise, so I'm sure someone out there can help.
It is sorta covered in the JavaRanch Style Guide.
subject: jsp extends