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 <[EMAIL PROTECTED]> 的正文:
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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



Reply via email to