It's really an annoying issue of struts2.
It took me long time to troubleshoot this kind of problem.

One time I came across "NoClassDefFoundError".
It was swallowed by xwork.
I wouldn't know it if I'd not used eclipse debbuger to step in the code.

I wonder why this simple issue is not fixed in struts2/xwork.

Struts2 is a great web framework if it easier to trouble shoot.

On Fri, Jan 9, 2009 at 1:43 AM, Andy <andrh...@hotmail.com> wrote:

>
> This would be a nice-to-have..
>
> Patch would be to add a LOG.info() or throw an exception in
> org.apache.struts2.components.Property.start()..
>
> > Date: Tue, 6 Jan 2009 16:23:40 -0500> From: newton.d...@yahoo.com> To:
> user@struts.apache.org> Subject: Re: Error Throwing With Struts 2 Tags> >
> Timothy Orme wrote:> > <s:property value="itemeCost" />> > > > But no value
> was displayed. This is because I should have written:> > > > <s:property
> value="itemCost" />> > > > As that was the bean property in my action. It's
> a simple fix, but, > > this took me a bit to find it. What I'm wondering is
> if theres a way to > > have Struts 2 tags throw errors [...]> > This has
> been brought up before; I'm not sure what the current status of > any
> patches are, however.> > > Ideally, I'd like to have my JSP not even compile
> if it hits a> > bad tag like this. Anyone know if this is possible?> > I'm
> sure anything's possible, but not compiling the JSP is unlikely, for > the
> same reason a Java class will still compile when using String values > in
> reflective/Spring-bean-ish code, even if they're wrong.> > > As an
> alternative, anyone know of an eclipse plugin that would point > > these
> mistakes out (maybe even through intellisense!)?> > Unlikely for the same
> reason.> > Dave> > >
> ---------------------------------------------------------------------> To
> unsubscribe, e-mail: user-unsubscr...@struts.apache.org> For additional
> commands, e-mail: user-h...@struts.apache.org>
> _________________________________________________________________
> Windows Liveā„¢ Hotmail(R): Chat. Store. Share. Do more with mail.
>
> http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t1_hm_justgotbetter_howitworks_012009
>

Reply via email to