Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-27 Thread Leonardo M . Ramé

Eduardo, I made an example (a couple of years ago) of what you're trying to do:

http://leonardorame.blogspot.com/2007_04_01_archive.html

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Fri, 3/27/09, Eduardo Morras  wrote:

> From: Eduardo Morras 
> Subject: Re: [fpc-pascal] Servlet server for Fpc apps
> To: "FPC-Pascal users discussions" 
> Date: Friday, March 27, 2009, 7:37 PM
> At 22:00 27/03/2009, you wrote:
> 
> > Eduardo, the short answer is no, it wouldn't work.
> Tomcat doesn't understand binary files, it only "executes"
> Java classes. Your options are: 1) CGI. 2) Apache Modules.
> 3) Your own web server.
> 
> I will opt for the 3rd. then. All in pascal of course and
> free...
> 
> > Leonardo M. Ramé http://leonardorame.blogspot.com ---
> 
> Thanks again Leonardo
> 
> 
> 
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-27 Thread Eduardo Morras

At 22:00 27/03/2009, you wrote:

Eduardo, the short answer is no, it wouldn't 
work. Tomcat doesn't understand binary files, it 
only "executes" Java classes. Your options are: 
1) CGI. 2) Apache Modules. 3) Your own web server.


I will opt for the 3rd. then. All in pascal of course and free...


Leonardo M. Ramé http://leonardorame.blogspot.com ---


Thanks again Leonardo



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Servlet server for Fpc apps

2009-03-27 Thread Leonardo M . Ramé

Eduardo, the short answer is no, it wouldn't work. Tomcat doesn't understand 
binary files, it only "executes" Java classes.

Your options are:

1) CGI.
2) Apache Modules.
3) Your own web server.

Leonardo M. Ramé
http://leonardorame.blogspot.com


--- On Fri, 3/27/09, Eduardo Morras  wrote:

> From: Eduardo Morras 
> Subject: [fpc-pascal] Servlet server for Fpc apps
> To: fpc-pascal@lists.freepascal.org
> Date: Friday, March 27, 2009, 5:38 PM
> Hello:
> 
> I want to ask (and know) if i can use apache-tomcat to
> serve servlets developed with freepascal. If not, is there a
> similar server for fpc? Note that i want/need servlet like
> in java and other languages, not a propetary format or cgi
> or anyother.
> 
> P.S. Yes, i have googled but for servlet freepascal i found
> references to THttpServlet and i already use it/them, or
> references to java servlets.
> 
> TIA
> 
> -
> One reason that life is complex is that it has a real part
> and an imaginary part
>    -Andrew Koenig  
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Servlet server for Fpc apps

2009-03-27 Thread Eduardo Morras

Hello:

I want to ask (and know) if i can use apache-tomcat to serve servlets 
developed with freepascal. If not, is there a similar server for fpc? 
Note that i want/need servlet like in java and other languages, not a 
propetary format or cgi or anyother.


P.S. Yes, i have googled but for servlet freepascal i found 
references to THttpServlet and i already use it/them, or references 
to java servlets.


TIA

-
One reason that life is complex is that it has a real part and an 
imaginary part
   -Andrew Koenig  


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal