Purushotham Das K wrote:
>
> 1.If my browser does not support Cookie,and my server sends a cookie
> instance What will happen ?

The browser refuses the cookie. When the browser sends the next request,
it will not send the session id. Because the client does not join the
session, the server will not be able to perform session tracking (by
returning the session id cookie, the client "joins" the session).
However, the server could still perform session tracking by using URL
rewriting or hidden form fields.

> 2. Can we use javaScript in Servlets??

No, you can't use Javascript IN a servlet. Javascript is a scirpting
language embedded into an html page and which is interpreted by a
browser. A Servlet is neither an html page nor is it executed in a
browser. However, the servlet can insert javascript into the html that
is sent to a client. Anything that can be done in static html can be
done by a servlet because the servlet output is (usually) html which is
rendered by a browser.

> 3. What are the types of protocols used in HttpServlet ?

Between client and servlet, only HTTP. But the servlet can act as a
client to other servers and use other protocols: TCP, RMI, SMTP, etc.

___________________________________________________________________________
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