This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32481
    
214

Thomas,
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Struts 1.1 Validator
 
It's not a secret anymore!