Another thing is whether it is possible to have servlet supporting ftp... rather than HttpServlet
Arun raghvan wrote:From past 2 days i kept using the value Config without even realising the what value does the config object have ,
Don't you have a look on API. It's used for initializing the servlets with it's initial parameters given in the DD!
Arun raghvan wrote:Another thing is whether it is possible to have servlet supporting ftp... rather than HttpServlet
I think, you can define your own FTRServlet but, do you have the server which is support FTP stuffs? The protocol is handled by the servlet container, not the servlet itself. If you want to have FTP commands sent to a servlet, you need a special servlet container that handles the FTP protocol and sends the received FTP commands to a servlet. As far as I know there are no servlet containers available that can do this.