This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 29233
    
138

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 1.1 Validator
 
Similar Threads
ActionMessage is not working
Clrify results from SCJP mock exam site
Struts + Error Message Display
new to struts-probs initially
Re-target an action