tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Siggelkow <>
Subject Re: can i use jstl replace struts bean tags?
Date Tue, 03 Aug 2004 13:12:13 GMT
The JSTL can easily replace many of the Struts tags.  The <c:out> tag is
equivalent to <bean:write>. To iterate you can use the <c:forEach> tag
instead of the Struts <logic:iterate>

Keep in mind that you still use Struts to provide the controller and you
will continue to use the Struts html tags for form creation.

ffffffffffb8ffffffffffdf ffffffffffb5ffffffffffc f?= wrote:
> i am developping a project based on struts,and i also
> want to use jstl1.1 in the jsp my action
> class,i have return a Iteratorobject like this:
> Iterator iter = service.getLogs(querySentence, page);
> request.setAttribute("logs", iter);
> but i don't know how to get it in jstl,while in struts
> u can use <bean:write> tag,so i wonder if it is
> possible in jstl1.1?
> _________________________________________________________
> Do You Yahoo!?
> ŮӦоУ"һ"ѱͼͼͿͼ
> 100乻ãŻݣ

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message