wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts html:error tag returning nothing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts html:error tag returning nothing" Watch "Struts html:error tag returning nothing" New topic
Author

Struts html:error tag returning nothing

Ed Thompson
Ranch Hand

Joined: Jan 20, 2006
Posts: 43
I have a simple jsp page that uses the <html:error/> tag to display errors. However, it fails to display errors, even though I can see that there is an ActionErrors object in context with the appropriate tag: "org.apache.struts.action.ERROR"

If I run this under Websphere (thru RAD) on my own box, it works fine, but when I deploy to Websphere on the Dev box, it returns nothing. What could be the difference? I have confiremd that the same struts library is being used (1.1).

I traced the code thru on my box (where it works) and have a feel for what the code is doing, which is why I am at a loss as to why its not working once deployed.
[ August 01, 2007: Message edited by: Ed Thompson ]

Even if the voices <i>aren't</i> real, they still have some good ideas!
 
Don't get me started about those stupid light bulbs.
 
subject: Struts html:error tag returning nothing