Re: PJA Library, BootClasspath, Configuring JVM -- Tomcat 4.x and JDK1.3

2002-06-18 Thread Joaquín Sánchez Jiménez
Hi: First at all if you need use FONTS (paint some string) you must create pjaf files to yours fonts (Verdana, Arial, etc...). This files must be in classpath (for example in ${JAVA_HOME}/jre/lib/fonts) You must replace Linux/UNIX sun/java2d package implementation with Windows implementation (th

Re: User LogIn/LogOut

2002-05-17 Thread Joaquín Sánchez Jiménez
Hi: You can detect browser is closing just using onUnload tag in body. Just do this: function doLogout() { document.formLogout.action='logout.jsp'; document.formLogout.formOption.value='logout'; document.formLogout.submit(); } ... here comes your html code Then insert

Re: Enabling SSL in tomcat

2002-05-16 Thread Joaquín Sánchez Jiménez
Hi: Try with this. Bye. J. - Original Message - From: "Ajay Chauhan" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 9:09 AM Subject: Enabling SSL in tomcat > I am facing one problem while enabling SSL in Tomcat on windows

Re: SSL new StreamSource

2002-05-16 Thread Joaquín Sánchez Jiménez
Hi: You must add as trusted certificate public certificate from server because JSSE has not all 95 trusted certificates IExplorer has. You must include certificate chain if your server certificate has been signed from not root CA. See JSSE specification to do this. Bye. J. - Original Messa

Re: Tomcat 3.3.x & VisualAge 3.5.3

2002-05-12 Thread Joaquín Sánchez Jiménez
Hi: I have installed 3.2.3 so I hope this help you. Install Tomcat 3.3 in your machine. Get src folder from tomcat directory and add to a new VA project, for example TOMCAT_3.3. With source you can debug tomcat. You can add TOMCAT_CLASSES instead TOMCAT_SOURCE. In org.apache.tomcat.statup.Tom

Re: Charts in Jsp doesn't work

2002-03-14 Thread Joaquín Sánchez Jiménez
Hi: You need to use a Pure Java Toolkit instead native ToolKit. I use PJA (Pure Java AWT) from http://www.acme.com/java/ It works fine. Bye. Joaquín. - Original Message - From: "Nancy Crisostomo Martinez" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday,

Re: Autentication with digest password(Urgent!)

2002-03-07 Thread Joaquín Sánchez Jiménez
Hi: Use java.security API. Supposing "my_password" is a string: MessageDigest disgest = MessageDigest.getInstance("MD5"); byte[] pwd_digest = digest.digest(my_password.getBytes()); You have "my_password" digested in "pwd_digest". Bye. Joaquín. - Original Message - From: "Galbayar" <

Re: Is a jsp page compiled a SERVLET?

2002-01-25 Thread Joaquín Sánchez Jiménez
Yes. - Original Message - From: "Monica Guerra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 10:42 PM Subject: Is a jsp page compiled a SERVLET? > Please help me with that question: > Is a jsp page compiled a SERVLET? > The jsp page compiled, the .class is

Re: Keystore format

2002-01-22 Thread Joaquín Sánchez Jiménez
Hi: To do this you must create your own SSLSocketFactory. See org.apache.tomcat.net.SSLSocketFactory class from TOMCAT source. You will see why you can only have JKS store type. Once you have create it, you must config server.xml file: To get PrivateKey you can use this lines: // JKS

Re: Can I have all virtual hosts share one context on tomcat 3.2.4?

2002-01-15 Thread Joaquín Sánchez Jiménez
Hi all: I am working with 3.2.3 and Apache 1.3.20 and I have done this. Suppose two virtual host called "A.com" and "B.com" and one context called "theContext". You have httpd.conf. Set two virtual, one for A.com and other for B.com. Include /mod_jk.conf NameVirtualHost ServerName