Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Need server-side solution to linking in frames

Thread view: 
Pablo - 05 Jun 2007 10:16 GMT
Dear all,

I am doing some maintainance in a JSP website which has been built
using frames (and I cannot remove that unfortunately).

So, I have 4 frames (top, and 3 vertical frames underneath the top).
The frame on the left is supposed to be for navigation, but when I
click on some navigation items, I am enforced to set the target to the
own navigation frame, because I need to do some other processing
(which I cannot avoid), and in the end I am using some javascript code
to change the location of the center frame (which in an ideal case
would be the target of the link on the navigation).

Does anyone know a way to avoid the javascript? Is there anyway that I
can load 2 different urls in 2 different frames via a single link? The
first URL is just a different set of parameters to the navigation
menu, and the second URL is the target of the navigation.

Best regards,
Pablo
Andrew Thompson - 05 Jun 2007 10:27 GMT
...
>I am doing some maintainance in a JSP website which has been built
>using frames (and I cannot remove that unfortunately).

That is unfortunate.

>So, I have 4 frames (top, and 3 vertical frames underneath the top).
>The frame on the left is supposed to be for navigation, but when I
[quoted text clipped - 3 lines]
>to change the location of the center frame (which in an ideal case
>would be the target of the link on the navigation).

How about..  link to a single new ..
 framedpagess.jsp&param=value
..that in turn loads the altered navigation and content pages.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Pablo - 05 Jun 2007 17:49 GMT
That's a better than what I have now, however I will still require
javascript to load the links, which would generate other 2 requests
(and they are really slow)...
Thanks for the tip anyways!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.