On 8/25/05, Kade Jeevan Kumar <[EMAIL PROTECTED]> wrote:
> 
> Whenever if i get any exception due to lack of co-ordination between my JSP 
> form and ActionForm the error messages are not in a proper debuggable way.  
> Sometimes, if something goes wrong with the code it doesn't intimate me with 
> proper error message, but common to all errors it gives me "bean-util 
> exception"
> 
> If i want to fix the needed error in any of the JSP i need to go through 
> struts-config.xml, tiles-def.xml, and then get the related JSP and then fix 
> it out.
> 

There's a good chance that you'll encounter this same situation with
any framework that uses XML config files.  However, I agree (and I'm
not the only committer that does) that Struts can do a better job
providing information when something goes wrong (like, say, which
action forward it couldn't find).  I've made some tiny changes to
provide more information about an error condition in some situations,
but for the most part, I'd have to wait until somebody reports
something in particular before I'll know where to look.  I've been
looking at the situations reported in
http://issues.apache.org/bugzilla/show_bug.cgi?id=5739 and the issues
that were linked to it in one way or another.  (Now all I need is a
bit more free time.)  If you encounter something in particular that
you think Struts can do something about, file an enhancement request. 
And if you could, some patches as well. :)  Actually, I really
wouldn't mind test cases I can use, or even a very small zip
containing files I can use to recreate the error (and help me verify
I've fixed it).  Sometimes the time consuming part is writing the
sample app to show me I'm done.

Hubert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to