• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interview questions......plz answer

 
faiza athar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Please confirm answeres:
How is data transfered from Multi selection list box in a form?
Ans POST method
4. How are User authentications done?
In web.xml using roles, auth-constraint,etc
and by the following authentication types:
Basic, Digest, Client-cert and Form
5. What tools can be used for dynamic page generation?
Servlets,jsp
6. How can you provide different web content dependending on web
browser?
Ans Session id saved on cookie
URL rewriting
7. If Two or more user�s session from the same browser, what do we do?
Use SingleThreadModel or synchronize the service method.
Please elaborate on the questions, and add comments.
thanx
faiza
[ March 25, 2003: Message edited by: faiza athar ]
 
faiza athar
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone ?
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3.How is data transfered from Multi selection list box in a form?
Ans POST method

>> sounds good
4. How are User authentications done?
In web.xml using roles, auth-constraint,etc
and by the following authentication types:
Basic, Digest, Client-cert and Form

>> ok
5. What tools can be used for dynamic page generation?
Servlets,jsp

>> good
6. How can you provide different web content dependending on web browser?
Ans Session id saved on cookie
URL rewriting

>> Session isn't really going to help you send one version of your page to IE and another to Netscape (and lets not even START talking about mobile phones)... do a search on this snazzy design pattern called MVC and see what you can find out.
7. If Two or more user?s session from the same browser, what do we do?
Use SingleThreadModel or synchronize the service method.

>> I don't think that's going to solve it -- SingleThreadModel insures that your servlet only handles one request at a time -- but doesn't even care if two requests are coming from the same session. I'm not sure what kinda answer they're going for on this one.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic