You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Hao Ding <hd...@it.canterbury.ac.nz> on 2002/06/24 15:02:29 UTC

need help about translating scriptlets into JSTL EL

I have a JSP page that initially uses scriptlets, now I am going to transfer 
it using JSTL tags

The initial code is

<%@ page import="mm.*" %>
<jsp:useBean id="cate" scope="session" class="mm.CateBean" />
<jsp:useBean id="report" scope="page" class="mm.ReportBean" />

<%
int idx = report.getId();
mm.LData ld = cate.getLData(idx);
%>

How to translate the Java code into EL using JSTL core library?

Any help will be very much appreciated.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>