Re: Tomcat -- JSP -- KeyPairGenerator -- Security Exception

2004-03-26 Thread Michael McGrady
With Resin 2.1.x and j2se 1_4_0_1 I have no problem. With Tomcat 5_0 and j2se 1_4_1 I get the problem. At 10:37 PM 3/26/2004, you wrote: I get the same problem when tomcat uses Java 1.3.1_04 - i.e. works for RSA, but not DH - when I switch to Java 1.4.2_01, everything is OK. Niall - Origina

Re: Tomcat -- JSP -- KeyPairGenerator -- Security Exception

2004-03-26 Thread Niall Pemberton
I get the same problem when tomcat uses Java 1.3.1_04 - i.e. works for RSA, but not DH - when I switch to Java 1.4.2_01, everything is OK. Niall - Original Message - From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, March 27,

Re: Struts Validator and Select boxes

2004-03-26 Thread Niall Pemberton
All the properties you have defined for the form in the struts-config are named differently from whats in your validation.xml - for example you have "fromDay" in your validation.xml, but in the struts-config.xml the property is "dayFrom" Niall - Original Message - From: "Janarthan Sathia

Re: Tomcat -- JSP -- KeyPairGenerator -- Security Exception

2004-03-26 Thread Michael McGrady
I find that Tomcat has the JCE.jar without a KeyPairGenerator class. Yet, when I go for KeyPairGenerator.getInstance("RSA") it works but KeyPairGenerator.getInstance("DH") does not. Both jce.jar and sunjce_provider.jar have DH keys. I just cannot figure what is going on here. sunjce_provide

RE: Use JSP Expression Language in custom tags?

2004-03-26 Thread Craig Berry
I did this successfully last week. The key is to use the ExpressionEvaluatorManager class (from Apache taglibs) to do transform tag attributes. I created this method in my tag base class, and call it as needed on tag values. As written it only works on String-valued attrs, but that's all I need

Re: Use JSP Expression Language in custom tags?

2004-03-26 Thread Niall Pemberton
I'm not using JSP 2.0, but I believe you can only use expression language with standard tags supplied (JSTL). Someone has created "expression language" enabled versions of the standard Struts tags which are currently in the "contrib" area. Why not look at how the standard struts tags were enabled