Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » jsp and frames(Can multiple frames access the same variables?)
jsp and frames [message #690483] Wed, 29 June 2011 15:19 Go to next message
Andy  is currently offline Andy Friend
Messages: 16
Registered: May 2011
Junior Member
I have split a jsp page into 3 frames, a header/body/footer. I did this so the header and footer would stay in place while the body could be scrolled. But all three frames use many of the same Java Beans. To make it work I have to declare the same bean on each individual frame. It seems wasteful to load the same bean 3 times just to load a single page. Is there a way to share the beans between the frames? Perhaps there is a better way to make my body scroll-able without using frames?
Re: jsp and frames [message #690502 is a reply to message #690483] Wed, 29 June 2011 15:42 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 29-Jun-11 09:19, Andy wrote:
> I have split a jsp page into 3 frames, a header/body/footer. I did this
> so the header and footer would stay in place while the body could be
> scrolled. But all three frames use many of the same Java Beans. To make
> it work I have to declare the same bean on each individual frame. It
> seems wasteful to load the same bean 3 times just to load a single page.
> Is there a way to share the beans between the frames? Perhaps there is a
> better way to make my body scroll-able without using frames?

(Andy, you do sort of get the idea of different forums for different
purposes, no? We're glad to answer questions in this forum about Eclipse.)

http://www.coderanch.com/forums/f-50/JSP
Re: jsp and frames [message #690552 is a reply to message #690502] Wed, 29 June 2011 17:20 Go to previous message
Andy  is currently offline Andy Friend
Messages: 16
Registered: May 2011
Junior Member
And again I have posted a Java question in the Eclipse forum... Sorry.
¯\(©¿©)/¯ <SHRUG>
Previous Topic:EclipseME can not run,who can help me?
Next Topic:Engage Source -&gt; Format
Goto Forum:
  


Current Time: Tue Apr 16 15:44:30 GMT 2024

Powered by FUDForum. Page generated in 0.51776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top