Web tier: servlets, JSP, Web frameworks: Do you recommend using frames with struts?
Hi, I'm starting a j2ee development with struts helping in presentation layer.
- Posted by: Nicolas Dobler
- Posted on: July 12 2004 14:15 EDT
Do you recommend using frames to display multiple sections of data within the application?
What are the (dis)advantages of using it?
Thanks in advance,
Santa Fe - Argentina
- Do you recommend using frames with struts? by Senthil Chinnaiyan on July 12 2004 17:01 EDT
- Do you recommend using frames with struts? by Thomas Nicolaisen on July 14 2004 07:25 EDT
- How to code my Struts html:link tag ??? by s s on July 14 2004 17:55 EDT
- Do you recommend using frames with struts? by Nicolas Dobler on July 16 2004 07:52 EDT
There are some advantages, but one of the major disadvantages is, after you login to your system and if you try to refresh using the refresh button, you are gone, it will take you to your first screen or whatever you see on the URL bar.
Personally, I will look into using the Tiles framework when re-making the layout for the application. See http://www.theserverside.com/articles/article.tss?l=StrutsInAction and look for chapter 11. Perhaps Tiles includes the functionality we need from frames?
I'd suggest taking a look at some of the CSS-based layouts here: http://glish.com/css/
In general, you'll find that almost any frame-like layout can be created in a cross-browser compatible format using CSS. I recommend using/modifying a pre-written layout rather than attempting to author this yourself. In such a layout, you can safely use Tiles and avoid many of the headaches that Struts+frames can cause.
this the html :
a href="Edit.do?username=<bean:write name="employe"
i need it in Tag Lib
And what about IFrames?