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 Struts 1.1 Validator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.1 Validator" Watch "Struts 1.1 Validator" New topic
Author

Struts 1.1 Validator

Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137
Hello,

I have a frameset with frames A, B, and C if I have an error in frame A is there a way in Struts to detect that error in frame B and C?

Is there a flag in the validation.xml where I could set the errors to be session wide?

I know I could manually store something in a session but I am wondering if there is built in functionality.

Also, how could I retrieve the errors in frame B (a jsp page). <html:errors /> also?

Thanks.
[ October 25, 2004: Message edited by: Thomas Mcfarrow ]
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30404
    
150

Thomas,
How would frames B or C know they need to repaint themselves to look for an error? Would they be polling constantly?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 1.1 Validator