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 Fri, 06 Aug 2004 12:29:17 GMT
Or make a bean that calls the code on its creation and
<jsp:useBean id="aux" scope="page" class="MyCallingBean" />

At 08:05 06/08/2004 -0400, you wrote:
>Another option is to put the code into a servlet and use
><jsp:include page="whatever_the_servlet_URL_is"/>
>
>
>
>
>Thai DANG wrote:
>>Hi
>>This is my suggestion : you put all your code in a method of your bean 
>>MyUseBean.java (for example public void getMyMethod() {})
>>Then, simply put in your JSP : ${myUseBean.myMethod}
>>
>>On Fri, 6 Aug 2004 14:30:10 +0800 (CST)
>>ÿffffffffffb8ÿffffffffffdf ÿffffffffffb5ÿffffffffffc f?= 
>><jaoyina@yahoo.com.cn> wrote:
>>
>>>in fact i want to execute some java code automaticly
>>>when i open the jsp page.but i don't want to write the
>>>code in the jsp and i wrap it in a class,can i use
>>>jstl to call this class in the jsp page and execute
>>>the code automaticly?
>>>
>>>_________________________________________________________
>>>Do You Yahoo!?
>>>ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬"Ò»ËÑ"ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
>>>http://image.yisou.com
>>>100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
>>>http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
>>>
>>>---------------------------------------------------------------------
>>>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
>
>
>---------------------------------------------------------------------
>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