This reply-to business is beginning to get on my goat.
Richard Vowles wrote:
> Are these JSP or HTML files? If they are JSP files then you are plum out of
> luck - it is the precompiler that is doing the include and your code gets
> executed inside the running servlet. If they are HTML, then you just need to
> open each file and cycle thru it, spitting it out to "out".
>
> "Shah, Mayank (RSCH)" wrote:
>
> > 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".
>
> --
> Richard Vowles, Senior Systems Engineer,
> Inprise New Zealand, MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
> HTTP: The Esperanto Group, www.esperanto.org.nz
> [my messages contain my own opinions, not those of my employer]
--
Richard Vowles, Senior Systems Engineer,
Inprise New Zealand, MAIL: [EMAIL PROTECTED], [EMAIL PROTECTED]
HTTP: The Esperanto Group, www.esperanto.org.nz
[my messages contain my own opinions, not those of my employer]
===========================================================================
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".