This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:errors and frames

 
Brian Quinn
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a struts application that uses frames, templates and <html:errors>. The problem is if an error occurs, the forward sends the error to the parent frame, but the parent frame does not get the error to the body frame, which contains the html: form and html:error tags. If I change the forward directly to the body page, the error pops up, but the page is missing the header and footer provided by the template. How do I get the error to the proper page through frames?
 
Junilu Lacar
Bartender
Pie
Posts: 7465
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't say for sure without seeing some of your frame/html source. I would imagine you'd have to specify a target for each link and button action. I haven't done Frames with Struts though. Have you ever considered using Tiles instead?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic