[Opensource] Really strange bug when using Expresso in Tomcat
4.1
Philip J Brown
philip.brown at platinumsolutions.com
Fri Sep 19 13:43:49 PDT 2003
Don't know if this is YOUR particular problem, but at some point down
the road tomcat switched how jsp tags were handled and changed from
always reevaluating them to caching the values of tags.
This can cause problems if your tags aren't properly written. The fix
that I have seen used is to configure tomcat to NOT cache the tags.
That's all that I remember on the subject, but IF this is the cause of
your problem, then you might be well on your way to a fix.
Good luck.
-Phil
On Thu, 2003-09-18 at 09:57, Raul DAVIDOVICH wrote:
> Hello all,
>
>
> I found out a very strange behaviour when running expresso on Tomcat 4.1,
> which doesn't come up in tomcat 4.0.
>
> The symptom is OutputTags in JSP don't get refreshed when the transition
> leads to the same page with updated outputs.
>
> I've tracked down the problem up to the level of AttributeTag. What happens
> here is that because of some strange reason, the variable "oneElement" in
> the AttirbuteTag object always points to the output object created the
> first time the page was built, and it doesn't get updated the following
> times, while all other references to this output object point now to the
> new one (myOutput in MYController, and oneOutput in OutputTag).
>
> So for example we have page a.jsp, which shows the output of the state
> promptAState from MyController.
> This page has an "again" button which will lead to the AState of
> MyController, and this state will give it's results again to promptAState,
> who will show them in an output object, and prompt for a new value and
> "again" or "ok".
>
> Let's say that the first time, the output was "123", and the second time it
> was "456". In tomcat 4.0 this works fine, but in tomcat 4.1, it will still
> show "123", no matter how many times I press "again". (I insist that the
> new output object is created and filled up with the right values, and
> OutputTag points to the right object)
>
>
> Any clues?
>
>
> Best regards
>
>
> Raul Davidovich
>
>
>
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
>
More information about the Opensource
mailing list