You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bernhardt Schmitz <bs...@pecos.de> on 2001/04/19 13:57:52 UTC
WG: tomcat 3.2.1 Bug jsp:setProperty Length of Property
Hi,
I try to access a Bean named myBean from a JSP:
The following call does not work (compile - Method not found):
<jsp:setProperty name="userbean" property="summe_datenvole"
value="body_agentur.jsp" />
However, if I extend the name of the property in the tag, shorten it - and
do the same in the bean as well,
it works:
<jsp:setProperty name="userbean" property="summe_datenvole"
value="body_agentur.jsp" />
<jsp:setProperty name="userbean" property="summe_datenvo"
value="body_agentur.jsp" />
My System is Redhat Unix 2.12.12-32 with JDK 1.3.
On the production environment, I have tomcat 3.1 on a sun with JDK 1.2.2,
which worked, but sometimes produces a
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
causing in the long run an halt of the Java Machin (cannibalizing
environment variables).
Could you please give me some advice?
Thanks a lot and kind regards,
Bernhard