File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jsp extends Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked 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 think 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.
Pat Flickner
Ranch Hand

Joined: Nov 17, 2003
Posts: 173
(also posting this to the JSP forum)
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63837

Please do not "also post" -- it's against JavaRanch policies. Since this topic is more appropriate to JSP than Servlets, I'm requesting that this topic be closed.
Please continue any discussion

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: jsp extends
It's not a secret anymore!