File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes few servlet interview questions.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "few servlet interview questions.." Watch "few servlet interview questions.." New topic
Author

few servlet interview questions..

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
1.What methods are used in servlet-applet communication??
2.Can u use javaScript in Servlets ?
3.If my browser does not support Cookie,and my server sends a cookie instance
What will happen ? (I think the cookie won't be saved on the client side..??)
4.What is the capacity the doGet can send to the server ?

This is a question from interview.
Thanks in advance..
Trupti
[ January 07, 2003: Message edited by: trupti nigam ]
[ January 07, 2003: Message edited by: trupti nigam ]
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400

1.What methods are used in servlet-applet communication??

chkout thelink from Oreilly, there is complete chapter on servlet-applet communication
http://www.servlets.com/jservlet2/examples/ch10/index.html
OR
http://www.javaworld.com/javaworld/jw-01-1998/jw-01-step_p.html


2.Can u use javaScript in Servlets ?

Yeah it is perfectly *legal*
but in real practice you won't do that.


3.If my browser does not support Cookie,and my server sends a cookie instance
What will happen ? (I think the cookie won't be saved on the client side..??)

Correct


4.What is the capacity the doGet can send to the server ?

Maximum 255 chars. Although the
HTTP protocol does not limit the
length of the query string, some
browsers and web servers may not
be able to handle more than 255.


This is a question from interview.

result ... got selected ?
-Varun


- Varun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: few servlet interview questions..