1)      You should set the content type to "text/html"
2)      Then hard code the html form in your Servlet and write that form to
output stream.
3)      If can send your code, can tell you where you have gone wrong.

        -----Original Message-----
        From:   Rusmawidya Ustati [SMTP:[EMAIL PROTECTED]]
        Sent:   Tuesday, March 28, 2000 4:19 PM
        To:     [EMAIL PROTECTED]
        Subject:        Problem with data display

        Hi,

        I have a problem with displaying data to the html page.
        My servlet can connect to the database but it is not displaying the
data.
        When I try the same code in a normal java program(System.out) it
works fine,

        Does anyone have a clue, what might be the problem?
        Thanks for your help.

        Rusma


___________________________________________________________________________
        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