Hello sufi,
I think, you're a little wrong. You have to create new object
PrintWriter, which gives you character otiented stream. And than you
use this objec method to print to standard servlet output.
Example:

PrintWriter out = new PrintWriter (response.getOutputStream());
    response.setContentType("text/html");
    out.println("<b> This text is being sent to web browser and will
    be displayed bold...</b>");

    ... etc.
Michal

Tuesday, May 22, 2001, 2:27:25 PM, you wrote:

sm> HI, where can I see the output of System.out.println inside doPost and doGet
sm> of a servlet in tomcat ?
sm> Thanks
sm> _________________________________________________________________
sm> Get your FREE download of MSN Explorer at http://explorer.msn.com

sm> ===========================================================================
sm> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
sm> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
sm> Some relevant FAQs on JSP/Servlets can be found at:

sm>  http://java.sun.com/products/jsp/faq.html
sm>  http://www.esperanto.org.nz/jsp/jspfaq.html
sm>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
sm>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
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://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to