This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
> 1)which are the protocols (except Http) that a servlet can respond to?
The servlet specification does not dictate any protocols. HTTP tends to be the most common implementation for servlet engines though. It is possible to write servlet engines responding to any protocol, but I've not seen any that I can remember (though maybe some can respond to FTP and/or SMTP and POP3).
> 2)When should we follow SingleThread Model?
I've never yet seen a need for it in 8 years of servlet development
> 3)Jsp page is translated to which servlet,I mean httpservlet or Generic servlet?
Neither. It's translated to JspPage or HttpJspPage depending on whether you are implementing a JSP on HTTP or a generic protocol.
> 4)Why does init() of servlet passes ServletConfig object to its super class?
How else are those superclasses going to get it?
> 5)When should we use ServletConfig object?
When you find a need for it.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com