Just use HttpConnection and give the url that points to your jsp file. It will return 
an outputstream.
there are tons of examples out there that does that..
 

        -----Original Message----- 
        From: Gunter D' Hondt [mailto:gudo@;SOFICO.BE] 
        Sent: Tue 10/22/2002 3:46 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: [JSP-INTEREST] Get generated html from jsp-page
        
        

        Hello,
        
        How can I get the html that is being generated by a jsp-page into a
        string value? The thing that I want to do is to send an email with an
        attachment that is a dynamically created webpage. The webpage is a
        jsp-page.
        I've done that with other serversided scripts but have no idea how I can
        do this with JSP. I'm thinking about making a new HttpServletRequest or
        hoping to find a 'GetGenerated("test.jsp")' or
        'IncludeGenerated("test.jsp")'.
        
        Any help is welcome pls!
        Greetings,
        Gunter.
        
        ===========================================================================
        To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff 
JSP-INTEREST".
        For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
        Some relevant FAQs on JSP/Servlets can be found at:
        
         http://archives.java.sun.com/jsp-interest.html
         http://java.sun.com/products/jsp/faq.html
         http://www.esperanto.org.nz/jsp/jspfaq.jsp
         http://www.jguru.com/faq/index.jsp
         http://www.jspinsider.com
        

Nrzf%lzjw(Ƞ%#51$Ţb-bڽ.&+anrIH
LDDI0DJ^,rR?^jmj!ڲܢo㲘޲mXmڲܢo鮇nr?}ia
0z^?㲟㲗ڪ;)i08.(ګucm#'^&


Reply via email to