Can someone tell me how to include a list of files.  I know that to include
a file and be processed by jsp I need to do:

<%@ vinclude="filename.xxx" %>

But I have a series of files I need to include, and they are in a a vector
as:
Vector v = new Vector();
v.addElement("file1.xxx");
v.addElement("file2.xxx");
v.addElement("file3.xxx");

I am trying the following, but does not work:

<%@
                    for (int i = 0; i < contentList.size(); i++)
                    {
                                                String inc = "vinclude
file=\"" + contentList.elementAt(i) + "\" -->";
                                                out.println(inc);
        }
%>



Mayank Shah
Research Technology
212.449.0463

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to