tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Page <m...@weballistics.co.uk>
Subject Re: a problem in JSTL1.1
Date Tue, 27 Jul 2004 11:47:30 GMT
insert <%@ page isELIgnored ="false" %>  at the top of your jsp.

if it then works and you have servlet2.4 you need to change the web.xml
<web-app> entry like so...

<web-app
	xmlns="http://java.sun.com/xml/ns/j2ee"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
web-app_2_4.xsd"
    	version="2.4">

that's what caught me out when i went to JSTL1.1 and couldn't get EL
working.




On Tue, 2004-07-27 at 12:29,
=?gb2312?q?=FFffffb8=FFffffdf=20=FFffffb5=FFffffcf?= wrote:
> last week,i download jakarta-taglibs-20040715.zip from
> apache.org.then i update the jstl from 1.0 to 1.1,but
> i found the code i wrote before didn't work any more.
> in my jsp,i have these code:
> 
> <%@ taglib prefix="c" uri="/WEB-INF/c.tld"%> 
> <jsp:useBean id="test" class="com.test.Helper"
> scope="session"/> 
> <c:out value="${test.list.Name}" default="no stuff"/> 
> 
> in jstl 1.0,i can get the Name value form it,but in
> jstl 1.1,the page only displays ${test.list.Name}.
> i have never used jstl1.1,please help me to slove this
> problem and if possible tell me some tutorial about
> jstl1.1,i am really cofused with it.thanx :D
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> 150万曲MP3疯狂搜,您闯入音乐殿堂
> http://music.yisou.com/
> 美女明星应有尽有,搜遍美图、艳图和酷图
> 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


Mime
View raw message