You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Eugen V. Khodishchenko" <ja...@icc.com.ua> on 2003/03/14 14:53:03 UTC

help with convert to struts

hi, I badly know a Struts and JSP.
please help me with convert scriplet to Struts.
this is example of scriplet:
<%
pages.PagesList p = new pages.PagesList();
p.getPages();
/*
*  col - Bidimentional array
*/
java.util.Vector col = p.getCol();
pageContext.setAttribute("col", col, PageContext.PAGE_SCOPE);
for(int i=0;i<col.size();i++) {
  java.util.Vector a = (java.util.Vector) col.get(i);
  %><%=a.get(0)%>, <%=a.get(1)%>, <%=a.get(2)%><%
}
%>

---------------------------------- 
Eugen

14.03.2003 15:42


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org