Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: Re: plugins!!!!!


Message #1 by "chanoch" <mail@c...> on Sat, 1 Jun 2002 22:39:18 +0100
thnx for reply in detail (as i bussy in exams that's why i can not replyed
soon)
both chanoch and Andrew understand my Q well, and i got my point resolved
regards
kashif



----- Original Message -----
From: chanoch <mail@c...>
To: Servlets <servlets@p...>
Sent: Saturday, June 08, 2002 11:29 PM
Subject: [servlets] Re: plugins!!!!!


> I dont think it would be that difficult (although I admit, what I consider
> difficult has changed from two years ago when I learned Java properly.)
You
> could just set up an instance of Tomcat on the FTP port (21? 23? something
> like that I think) and write a Servlet that accepted FTP queries. I dont
> know why, but that sounds kinda of screwy to me)
>
> As far a Telnet is concerned, I think Kashif means, can Servlets be
invoked
> in a telnet session, rather than from a browser. Well the difference
between
> invoking a servlet ffrom a browser and from a telnet session is not that
> great.
>
> If you want to invoke a servlet from a telnet session, first connect to
the
> server:
>
> telnet www.server.com 80
>
> this assumes that there is a Servlet container on port 80 of server.com.
You
> will get a message "Connecting To www.server.com and then you will get a
> blank page. That means that you are connected.
>
> You can now access the output of a servlet (by inviking it by entering the
> line)
>
> GET /Servlet/ServletName
>
> when I do that on one of my applications as follows:
>
> GET /Servlet/CounterServlet?showInfoRequests
>
> it returns with the following:
>
> 122
>
> (I set this Servlet to count something on that site, and it returns the
> number 122 with no HTML or anything) it works as a kind of basic hit
> counter.
>
> If you want to use POST, enter POST. If you want just the headers, then
you
> will need to remember more than I do about HTTP - I though that was more
> relevant to POP3?
>
> chanoch
>
>
> ----- Original Message -----
> From: "Andrew" <andrew@h...>
> To: "Servlets" <servlets@p...>
> Sent: Saturday, June 08, 2002 3:40 PM
> Subject: [servlets] Re: plugins!!!!!
>
>
> > Kashif
> > To my knowledge there is no "ftp plugin" for Tomcat (although I'm open
to
> > correction).  Not too sure what you are trying to do.  Your first
question
> > asked more about client side access from ftp or telnet.
> >
> > Depending of the site, most install separate software to manage ftp
> access.
> >
> > Alternatively you could configure tomcat a servlet to receive and
process
> > ftp requests.  This would require that you understand the ftp protocol
in
> > detail. At the moment we have the javax.servlet and javax.servlet.http
> > packages in the standard servlet API.  If you are feeling ambitious, you
> > could extend the javax.servlet package (as the javax.servlet.http
package
> > does for the http protocol) to develop your own ftp servlet api.
> >
> > Not sure if that was what you wanted to hear, but hope this helps,
> >
> > Andrew
> > Professional Java Servlets 2.3
> > http://www.amazon.com/exec/obidos/ASIN/186100561X
> > http://www.amazon.co.uk/exec/obidos/ASIN/186100561X
> >
> > -----Original Message-----
> > From: ghkazi [mailto:ghkazi@h...]
> > Sent: 04 June 2002 15:40
> > To: Servlets
> > Subject: [servlets] Re: plugins!!!!!
> >
> > hi
> > i didn't understand your answer plz write in detail, and is there any
> > plugins available to make non ftp server (as tomcat) to support ftp
> request
> > from ftp client.
> > thnx
> > kashif
> > ----- Original Message -----
> > From: chanoch <mail@c...>
> > To: Servlets <servlets@p...>
> > Sent: Sunday, June 02, 2002 2:39 AM
> > Subject: [servlets] Re: plugins!!!!!
> >
> >
> > > as follows, each line I have shown must be typed by itself.
> > >
> > > telnet www.youserver.com 80
> > > GET /servlet/MyServlet
> > >
> > > chanoch
> > >
> > > ----- Original Message -----
> > > From: "ghkazi" <ghkazi@h...>
> > > To: "Servlets" <servlets@p...>
> > > Cc: "Servlets" <servlets@p...>
> > > Sent: Friday, May 31, 2002 4:31 PM
> > > Subject: [servlets] plugins!!!!!
> > >
> > >
> > > > hi all
> > > > how to call Http Servlet from FTP prompt and from Telnet Remote
Login
> to
> > > > access whole servlet or in other case just headers.
> > > > thanx
> > > > kashif
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>


  Return to Index