tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yansheng Lin" <yansheng....@isogis.com>
Subject How come <c:out> didn't regonize variable?
Date Thu, 10 Jul 2003 17:42:41 GMT

I have a simple <c:out> statement in my jsp file:

             <html:hidden property="sortField"/>
             <c:out value="${sortField}" default="nothing"/>              

The output source is:
	
		 <input type="hidden" name="sortField" value="service_provider">
             nothing            

As you can see, the struts tag <html:hidden> rendered the value, but <c:out>
didn't.  I am new to JSTL, so I have no clue why this didn't work.


---------------------------------------------------------------------
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