Hi Mina
Why dont u reply from servlets also ... you can also write html using servlets
without using any applet .. if you want to do this , u will have to do three
things

1) Set the content Type :
response.setContentType("text/html");

2) Inititalize Printwriter :
PrintWriter out = response.getWriter();

3)Use Printwriter to display text ..
out.println("<title>PieNet Global</title><body><b>HelloWorld
!</b></body></html>");

Use "out.println("  ... ");"... for displaying HTML...

Bye



[Mina Gohari] wrote:

>      Hi,
>
>      How can I send a data from a servlet to client
>
>      I have a html file with one input textbox and a submit key, I send the
>      data of html file to servlet and in servlet connect to a database and
>      get all of its data and now, I want send all of these data to client
>      in an applet, How can I do this?
>
>      Thanks in Advance
>
>      Regards,
>
>      Mina
>
> ___________________________________________________________________________
> 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


begin:          vcard
fn:             Rizwan Quadri
n:              Quadri;Rizwan
org:            PieNet Global
adr:            43/1/Q, Amna Villa -1, Block - 6,  P.E.C.H.S ;;;Karachi;Sindh;75958;Pakistan
email;internet: [EMAIL PROTECTED]
title:          Web Developer
tel;work:       9221-4526220 ext-124
tel;fax:        9221-4527709
tel;home:       9221-6369771
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard

Reply via email to