I have some jsp pages that I would like to log. I have made a bean that does
that, but is there a way to make the server use the same bean for all
sessions?
Since a logger opens a file and write to it, there is a small possibility
that user B tries to open the logfile when user A already have
I think you can find it at :
http://otn.oracle.com/software/content.html
and select a driver/product... I'm not 100% on this (I don't hava a own
membership) but I guess ypu can find it there
// Jan Arenö
-Ursprungligt meddelande-
Från: A mailing list about Java Server Pages
Here is how I do
rs = ResultSet
cstmt = CallableStatement
cstmt = conn.prepareCall(begin PACKAGE.procedure(?,?,?); end;);
cstmt.registerOutParameter(1, OracleTypes.CURSOR);
cstmt.setString(2, para1);
cstmt.setString(2, para2);
cstmt.execute();
rs =
answer to
1 : I don't think this is possible. Maybe you can tell the OS to use default
user/pass or something, but I don't think you can withdraw the password and
use it as you wish, since you then could easy do an application that shows
all the passwords to people.
If you can tell the OS to