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 Config value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Config value" Watch "Config value" New topic
Author

Config value

Arun raghvan
Ranch Hand

Joined: Aug 22, 2010
Posts: 75
From past 2 days i kept using the value Config without even realising the what value does the config object have ,

Another thing is whether it is possible to have servlet supporting ftp... rather than HttpServlet

Thank you
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30116
    
150

Is this a question or a statement?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Are you asking if you can implement an FTP server?
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Config value
 
Similar Threads
how to get init-param in jsp
Want to change Application Property at startup
Hints for SCWCD
Making non-server specific EAR
IBM Websphere v6 and JBoss 4x MQ Connectivity - Please Help