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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.1 Validator" Watch "Struts 1.1 Validator" New topic

Struts 1.1 Validator

Thomas Mcfarrow
Ranch Hand

Joined: Jul 09, 2001
Posts: 137

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?

[ October 25, 2004: Message edited by: Thomas Mcfarrow ]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32633

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Struts 1.1 Validator
jQuery in Action, 3rd edition