1.I could display the "Welcome to World Wide Web" on the Servlet.

2.Pl let me know When to use doGet() method and doPost()
methods?I could understand the thing that when You use
Get method you can call the servlet on to the browser directly
and doPost method is to be used when you have to invoke the
servlet through an HTML file.

3.
Regarding provision of a PRESSME button:

I tried to incorporate it through HTML code.But the caption
PRESS ME is not getting displayed on to it.I donot know
whether
a)it is correct to use the Button code through HTML.
b)Can we use
        response.setContentType("text/html");
        PrintWriter out =response.getWriter();
to display buttons etc?When shall we need to use
getOutputStream in place of setContentType?

4.
Another way to display buttons in my view is to create
a button object and use it in the servletcode by including
java.awt.*. I COULDNOT GET TO KNOW HOW TO INCORPORATE THE BUTTON
OBJECT AND WHERE TO INITIALIZE IT IN A SERVLET.
5.
ANY GOOD REFERENCE BOOKS ON SERVLETS?PL SUGGEST.
--
RAVIKUMAR CHENGALVALA
[EMAIL PROTECTED] - email
(858) 860-6400 x7011 - voicemail/fax



__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.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

Reply via email to