hi, friends
i have heard both Ruby and Python can do same thing. i evaluated them quickly and i like Python a bit. But i still want to hear more infomation ...
any suggestion is appreciated !
garbage in,garbage out
A python CGI program can run on linux but not on
windows. By looking at CGIHTTPServer.py, we found out the reason: on windows, the
parent cannot pass os.environ to child demonstrated
as below:
main.py
import os, sys, shutil
env = {}
env["AAA"] = "111"
os.environ.update(env)
print...
hi, friends
i am a python newbie. however i like it very much when i first touch it.
i tried to build a web site using python. but encountered some problems.
1. the browser cannot receive out Cookie:
import cgi, Cookie
C = SimpleCookie()
C.load('a=1; b=2;')
print C.output()
2. at server side...
hi sir,
the following is test environment:
(windows)---(modem A)~~~~~~(modem B)---(linux)
where, modem A and modem B are different band.And modemB's phone# is 138xxxyyyzz
On linux, we can dial windows successfully using minicom.However we can NOT dial linux from windows as below:
On linux,run...
hi,friends
I want to share the BDE database connection .but i donot know how to do it? Now i use a separate TDatabase both in exe and dll :(
any suggestion is appreciated ! ipo_z@cmmail.com
garbage in,garbage out
hello,friends
It is not recommended to use stored procedure for good portablity.However if you only use one RDBMS,then SP will improve performance greatly.
Of course the BMP entity bean can use SP directly.But how about CMP entity bean ? As i know the EJB QL doesnot support to call SP. Is it...
The following is a dpr framework
.....
const
APP_FLAG = 'LON-METER-READER';
var
app_atom : ATOM;
begin
Application.Initialize;
app_atom := globalFindAtom(APP_FLAG);
try
if app_atom <> 0 then begin //only allow one instance
Application.Terminate ...
Hi friends,
Now i am using TIdHTTP to call a servlet which will accept and return XML data. The TIdHTTP works very well but i have question about it.
.the get methods
procedure Get(AURL: string; const AResponseContent: TStream); overload;
function Get(AURL: string): string; overload...
Is the following code right ?
procedure TForm1.Button2Click(Sender: TObject);
const
URL = 'http://192.168.1.118:8080/imonitor/putXml.jsp';
var
ms : TMemoryStream;
hi : TIdHeaderInfo;
begin
if memo1.Text <> '' then
try
ms := TMemoryStream.Create...
Hi,friends,
Recently i downloaded apache-axis and deployed it on tomcat successfully.I can run its built-in samples,such as $(axis_home)/samples/addr.
In order to test web service's interoperability i used delphi6 to write a client program as below:
procedure TfrmAddr.Button1Click(Sender...
hi,friends
I have used delphi for a long time.Now i wnat to reuse the EJB running in jboss
(www.jboss.org) or apusic(www.apusic.com) from delphi.
I have imported the com-bridge(http://developer.java.sun.com/developer/earlyAcc
ess/j2eecas/download-com-bridge.html)
into delphi 5 successfully and...
hi,friends
Sometimes you donot want to enter delphi IDE when you want to build your project.Of course you can use batch file to do this job however the jakarda ANT is more powerful and flexible :)
Suppose the delphi project is named testCAS.dpr and the directory structure is as below...
hi,friends
I have looked up ejb,running in jboss, home interface successfully from delphi.However it throws IllegalAccessException when calling the the home to create the session bean.The following is my codesnippet:
...
procedure TForm1.ejbClick(Sender: TObject);
var
home,bean ...
hi,friends
I have looked up ejb,running in jboss, home interface successfully from delphi.However it throws IllegalAccessException when calling the the home to create the session bean.The following is my codesnippet:
...
procedure TForm1.ejbClick(Sender: TObject);
var
home,bean ...
Hi,friends
There is NOT bulk update function in J2EE,is there ? What i mean is the client can fetch a bulk of records through EJB and modify them locally,then the can pass the modified records to EJB which will finish the real jobs!
Any suggestion is appreciated! IPO_z@cmmail.com
Garbage...
Hi,friends
In order to practice EJB2.0,i studied petstore 1.3 recently.I feel it is a good pattern using SessionBean to call EntityBean locally(using local interface).However i found there is little code to demonstrate how to update the DB in petstore.
What i mean is the client can modify...
Hi,friends
On my windows 2000 professional box,i can NOT visit internet using IE,mozilla,etc. The reason is all of those can NOT create socket !
I have used a program to test it and found that the socket() function always returned -1 .I donot know why it happens?
BTW, the socket() is in...
Hi,friends,
When i used http://host/dir/ to visit our site,the apache will return the file list in that directory :(
How can i prohibit it ?
thanks in advance ! IPO_z@cmmail.com
Garbage in,Garbage out
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.