As i investigate it is not a script problem, but problem is between Apache and IE, that is the result of telnet on 80 port:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HTTP/1.1 200 OK
Date: Tue, 13 Jul 2004 08:46:08 GMT
Server: Apache/2.0.50 (Unix) mod_jk2/2.0.4-dev...
It was the first thing that I have checked, IE accepts cookies from other sites, no secure restrictions for this site.
Of cause it posssible, to pass session id via URL, but I want to implement normal solution with cookies.
Couldn't get cookies back from IE. tried to send them in two ways:
1)
print "Set-cookie: CFISESSID=$sid; path=/pepsite\n";
print "Content-type: text/html\n\n";
2)
$cgi=new CGI;
$session = new CGI::Session(undef, $sid, {Directory => '/tmp'});
$cookie = $cgi->cookie(-name => 'CGISESSID', -value =>...
I need to configurate tomcat in a this thay:
requests:
http://localhost/test
http://localhost/test?somthing
should be handled by servlet
but request like:
http://localhost/images/image.gif
shouldn't be handled by servlet.
Could somebody write url-pattern for this?
Maybe class could be generated by it's name? I have code which using class Class do it. If it so maybe filter class name should be passed to function. But I don't know : is this solution is really good?
>>>But in your first post, you said you needed to use the FilterOutputStream ???!!!
It's better to do it with using FilterOutputStream, but the using of FilterOutputStream isn't necessary.
>>>Filter what ?
One of class metods writes some data to OutputStream (the stream is a class member)...
I want to write some class which must print some info. It contains an OutputStream to print this info, but I'd like to pass FilterOutputStream as a parameter to print method. How can I realize something like this?
Is it so difficult to post some example or link to it? Of cause I read documentation, but I didn't find anything about split to volumes and I'm not shour that this problem could be solved with using this libs!
Maybe someone use BSF library from IBM for integration Java with VBscirpt. When I try to use it exception is thrown : UnsatisfiedLinkError loading library:bsfactivescriptengine no bsfactivescripteng
ine in java.library.path: java.lang.UnsatisfiedLinkError: no bsfactivescriptengi
ne in...
I am using IIS + Resin + Java (system is Win 2000 server), and I want to configure IIS to execute vbscipts which is generating by Java, how could I do it?
I try to create a socket (scirpt is run on UNIX):
#!/usr/bin/perl
use Socket;
print "Content-Type: text/html\n\n";
print "<html>";
print "<title>Cyrus</title>";
print "<head>";
print "</head>";
print "<body>";
$server =...
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.