You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by rl...@apache.org on 2003/05/18 04:43:46 UTC

cvs commit: jakarta-struts/web/validator index.jsp

rleland     2003/05/17 19:43:46

  Modified:    web/validator index.jsp
  Log:
  don't hardcode value of VALIDATOR_KEY string especially since
  it should probably be org.apache.struts.validator.VALIDATOR_RESOURCES
  instead of org.apache.commons.validator.VALIDATOR_RESOURCES
  
  Revision  Changes    Path
  1.2       +2 -1      jakarta-struts/web/validator/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/validator/index.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.jsp	19 Mar 2002 03:31:51 -0000	1.1
  +++ index.jsp	18 May 2003 02:43:46 -0000	1.2
  @@ -1,4 +1,5 @@
   <%@ page contentType="text/html;charset=UTF-8" language="java" %>
  +<%@ page import="org.apache.struts.validator.ValidatorPlugIn" session="true" %>
   <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
   <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
   <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  @@ -17,7 +18,7 @@
     </font>
   </logic:notPresent>
   
  -<logic:notPresent name="org.apache.commons.validator.VALIDATOR_RESOURCES" scope="application">
  +<logic:notPresent name="<%= ValidatorPlugIn.VALIDATOR_KEY %>" scope="application">
     <font color="red">
       ERROR:  Validator resources not loaded -- check Commons Logging
       logs for error messages.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org