• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

stuts with frames

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
can any body explain how to use struts with html frames. I am using URL rewriting for session management and my session is getting lost if i use frames.
thanks in advance
Best Regards,
Satheesh
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
if possible you should avoid frames. Try instead tiles. Quite the same effect.
It uses jsp:includes to generate pages. This can be done based on config files,
or directly on the pages.
It allows you to generate footer, header and menu elements which are then combined.
Olli
 
Satheesh Kumar G
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
Thanks for your reply. Our client requirement is that we should not change/reload header and footer, so we have to go for frames..
Thanks and Regards,
SAtheesh
 
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
How are you handling sessions that they break in your Struts-based frame-based environment? When I have developed frame-based applications with Struts in the past I let Struts worry about session management and concentrate on ensuring that links are directed to the proper frame or frameset. I've never encountered problems with session management in these situations.
Darryl
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey!
I am writing on an application right now using frames as well. All I do is making sure to access the jsp's through the controller like this:

and then within the pages I load the other frames with a javascript onload() function.
The Objects are stored with session.setAttribute("blabla", anyArray). Encountered no problems so far...
HTH, Dajin
 
Satheesh Kumar G
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all,
Thanks for your help, yes my problem is solved by html rewrite tag to encode frame src..
REgards,
Satheesh
 
reply
    Bookmark Topic Watch Topic
  • New Topic