File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes html:errors and frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:errors and frames" Watch "html:errors and frames" New topic
Author

html:errors and frames

Brian Quinn
Ranch Hand

Joined: Dec 23, 2003
Posts: 32
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

Joined: Feb 26, 2001
Posts: 5019
    
    8

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?


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:errors and frames