anton wrote:

> servet chaining?
>

Not necessary to solve the problem as specified, or a couple of variations.
Consider a few possible cases (the first one being Sampath's original question):

* Append to a page generated by another servlet

    Call RequestDispatcher.include() to generate the
    output from this servlet, then append your own.

* Append to a static HTML page.

    Use ServletContext.getResourceAsStream() or
    normal Java file i/o to copy the contents of the
    page to your output, then append your own.

* Append to the output of a CGI script or some
  other such resource

    Use URLConnection to request the data, copying
    the response to your output and then appending
    your own conent.

Craig McClanahan

>
> kondam sampath wrote:
> >
> > Hi,
> > I came across a problem that I have to append the data to a web page that
> > already generated by another servlet from my servlet. These pages contain
> > the heading , Summary of the data in that page. Is it possible to do. How to
> > do it. Iam using VisualAge java 2.0, VisiBroker 3.0 on AIX Box. Help me out,
> > Thanks in advance,
> >
> > Sampath
> >
> > ______________________________________________________
> > Get Your Private, Free Email at http://www.hotmail.com
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to