I am working on a servlet that interprets a template.  Based on the
template's
contents, the servlet needs to call other servlets and plug in the
appropriate
data.

For example, if the template had some line:
    menu choices=2 choice1=front choice2=back

This would tell the interpreting servlet to call some servlet called
"menu" and
pass it the values "choices=2 choice1=front choice2=back".  The "menu"
servlet
would then return some resulting data to the interpreting servlet which
the
interpreting servlet could then send back to the client.

Writing individual servlets to get data from databases and files,
manipulate
content, and so forth has been quite easy, but the question is, how can
I call a
servlet from inside another servlet and pass it variables?  Programming
sources
are pretty vague on this, most of them referring to servlet chaining
which I
believe is not implemented in Jserv.

Any help would be much appreciated.

-- Joshua Slack
[EMAIL PROTECTED]





----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to