tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helios Alonso <halo...@atg.com.uy>
Subject Re: can i call a java class in jstl?
Date Wed, 11 Aug 2004 13:20:11 GMT
Sorry, myMethod only executes if it's some bean property accesor, otherwise 
it's an error (EL is for bean evaluation, only, at least in a <c:out>).  So 
the bean constructor approach is the working one.

At 10:27 11/08/2004 +0800, you wrote:
>  --- Helios Alonso <halonso@atg.com.uy> µÄÕýÎÄ£º
> > In the first case, the code must be in "myMethod",
> > in the second the code
> > must be in the constructor (or in a static block
> > inside the class ;-) but
> > constructor would be nicer)
> >
> > At 15:32 09/08/2004 +0800, you wrote:
> > >if i use ${myUseBean.myMethod} or
> > ><jsp:useBean id="aux" scope="page"
> > >class="MyCallingBean" />,is the code in class will
> > >execute automaticly when i open the page?
> >
> >
> >
> >
>---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > taglibs-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > taglibs-user-help@jakarta.apache.org
> >
> >
>
>thx,that's just what i want to know,hehe.
>
>_________________________________________________________
>Do You Yahoo!?
>150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
>http://music.yisou.com/
>ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
>http://image.yisou.com
>1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
>http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: taglibs-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message