This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Accessing individual ActionErrors using EL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing individual ActionErrors using EL" Watch "Accessing individual ActionErrors using EL" New topic
Author

Accessing individual ActionErrors using EL

bryan nelson
Ranch Hand

Joined: Jun 16, 2003
Posts: 95
Hello there,

If I use this code I can access the overall ActionErrors object in my jsp using EL:



The output looks like this:

org.apache.struts.action.ActionErrors@184c184c


However, how can I access a specific key or value of one of the ActionError objects within this ActionErrors object using EL?

Many thanks!

p.s. I am restricted to using Struts 1.1, hence the ActionError and not ActionMessage question.


"...and the Truth will set you free."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing individual ActionErrors using EL