symmetric crypt algorithm

2005-07-08 Thread Carlos Bracho
It's a java question more than a tomcat question Do you know where can I find a symmetric crypt algorithm implementation in java?? like blowfish, idea or des?? regards -- -- Carlos J, Bracho M.

Handling exceptions declaratively

2005-07-04 Thread Carlos Bracho
Hello everybody. I am trying to handling exceptions declaratively, here is part of my the web.xml file: error-page exception-typeladw.model.UserNotFoundException/exception-type location/error.jsp/location /error-page error-page exception-typeladw.model.IlegalAccessException/exception-type

Frames and request

2005-06-30 Thread Carlos Bracho
Hello. I am working with frames (I know it's a bad practice... but I cannot do anything about it) well the problem is: I have one jsp file (outter.jsp) which has 2 frames (inner1.jsp and inner2.jsp), when I forward to outter.jsp I can see the request's attribute, but inner1.jsp and inner2.jsp

Re: Mail Session ClassCastException

2005-06-29 Thread Carlos Bracho
Thanks Dirk, you were right, I had the jar files in common/lib and also in the web-inf/lib Thanks again On 6/29/05, Dirk Weigenand [EMAIL PROTECTED] wrote: Hi Carlos, --- Ursprüngliche Nachricht --- Von: Carlos Bracho [EMAIL PROTECTED] An: tomcat-user@jakarta.apache.org Betreff

Boundle in tag library

2005-06-29 Thread Carlos Bracho
Hello. Can I get boundle values using tag library? I try with c:out value=${boundle.title}/ but it does not work -- -- Carlos J, Bracho M. -- e-mail: [EMAIL

Mail Session ClassCastException

2005-06-28 Thread Carlos Bracho
Hello everybody. I am trying to get a mail session using the context's lookup method and I get a ClassCastException. this is the resource declaration in my context.xml: Resource name=mail/sessionMail auth=Container type=javax.mail.Session mail.smtp.host=localhost/ the code I am using to

Stored Procedures problem

2005-06-28 Thread Carlos Bracho
I got this exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]No ResultSet set was produced at line # 2 in this code: conn = this.dataSource.getConnection(); ResourceBundle resourceBundle = ResourceBundle.getBundle(ladw/resources); statement =

Servlet Params

2005-06-23 Thread Carlos Bracho
Hello everybody. I have a problem, I am a new user of servlet and this kind of thing. I have a servlet, AOPServlet, which uses a parameter (country), but I want to forwards to AOPServlet from other servlet, EditAOPServlet, how could I forward to AOPServlet and send it the country as a

Tomcat 5.5.9 and jdk 1.4.2

2005-06-21 Thread Carlos Bracho
Hello everybody... Maybe this issues is not new in the mailing list, I having problem to start tomcat 5.5.9, I got this error message in my netbeans output: This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a

Generate dynamic form with jsp

2005-06-21 Thread Carlos Bracho
Hello everybody... I am writting because I am working in a tabla maintanance database application, the thing is, clicking on a database's table name show all the rows and you can edit, delete or add rows. The form to add or edit must be created dynamically and of course the way you display the

Rejected client certificate by the server

2005-01-26 Thread Carlos Bracho
Hello everyone. I writing you because a I have a big problem using ssl and client authenticate. I created a connector for the client connections: Connector port=9443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 keystoreFile=C:/WINDOWS/security/server.ks keystorePass=*

Re: Mysql: Cannot create JDBC driver

2004-11-29 Thread Carlos Bracho
:\j2sdk1.4.2_03\lib. I think I put it there as an initial test of MySQL. My $CATALINA_HOME is defined as c:\tomcat, what is your CATALINA_HOME defined as? -Original Message- From: Carlos Bracho [mailto:[EMAIL PROTECTED] Sent: Saturday, November 27, 2004 4:58 PM To: Tomcat

Re: Mysql: Cannot create JDBC driver

2004-11-29 Thread Carlos Bracho
the driver? I really don't know much more about this. I just develop the code and let the deployment group move things around. Sorry. -Original Message- From: Carlos Bracho [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 7:42 AM To: John Najarian Cc: Tomcat Users List

Mysql: Cannot create JDBC driver

2004-11-27 Thread Carlos Bracho
Hello everybody. I am writting you because I get this exception ramdonly, I mean, sometimes happends, sometimes does not. javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null', cause: No suitable driver at

Javascript and cookie

2004-10-09 Thread Carlos Bracho
Hi everybody... Can I know if the browser has cookies and javascript set as enable? of course using jps or servlet. Regards Carlos -- -- Carlos J, Bracho M. The significant problems we face

Re: tomcat data source - mysql

2004-10-01 Thread Carlos Bracho
Try jdbc:mysql://localhost:port/database (usually the port number is 3306) in the url param value On Fri, 1 Oct 2004 01:09:43 -0700, Eric Wulff [EMAIL PROTECTED] wrote: Hi, I am not able to access a mysql server from a simple jsp example. I have googled the errors, checked mysql and tomcat

Re: Problems with tomcat on UNIX

2004-09-29 Thread Carlos Bracho
Hi, LINGALA. I got this exception a lot of time, I solved adding the connection pool as a local resource, I mean, I wrote the definition between the context's tags, of course only your web app is going to use this resource. //write the context path and the docBase of your web app Context

Re: Hi

2004-09-29 Thread Carlos Bracho
Hi, Craigmcc, I received a message from you with this text On Wed, 29 Sep 2004 11:23:40 -0500, Craigmcc [EMAIL PROTECTED] wrote: Dangerous Attachment has been Removed. The file price.cpl has been removed because of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined

Re: Problems with tomcat on UNIX

2004-09-28 Thread Carlos Bracho
don't forget to copy the JDBC Driver's jar into $CATALINA_HOME/common/lib On Tue, 28 Sep 2004 13:16:35 -0400, Ben Souther [EMAIL PROTECTED] wrote: What JDBC driver are you using? Is it a type 4 driver? On Tue, 2004-09-28 at 11:10, LINGALA, AMARESHWAR G (SBCSI) wrote: I have recently

Re: Problems with tomcat on UNIX

2004-09-28 Thread Carlos Bracho
I am really glad ;) On Tue, 28 Sep 2004 13:44:13 -0400, LINGALA, AMARESHWAR G (SBCSI) [EMAIL PROTECTED] wrote: Thanks Carlos it works now !!! -Original Message- From: Carlos Bracho [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 12:28 PM To: Tomcat Users List

Re: Tomcat 4.1 Connection Pooling...

2004-09-28 Thread Carlos Bracho
Connection conn = null; Statement stmt = null; // Or PreparedStatement if needed ResultSet rs = null; try { conn = //get connection from connection pool ... stmt = conn.createStatement(select ...); rs = stmt.executeQuery(); ... iterate through the result set ...