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 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
Author

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.
Regards,
Pat
Pat Flickner
Ranch Hand

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

Joined: Jan 10, 2002
Posts: 63208
    
  69

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
here.
bear


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: jsp extends
 
It's not a secret anymore!