struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snpe <s...@snpe.co.yu>
Subject Re: how to use JSF tree control in a Struts application?
Date Thu, 15 Apr 2004 11:42:34 GMT
On Thursday 15 April 2004 01:04 am, Craig McClanahan wrote:
> snpe wrote:
> 
> >I compile struts-faces2 from cvs and i get next error when I try log in
> >(I register, log off and try log in) :
> >
> >  
> >
> You would get an exception like this if the custom renderers in 
> struts-faces.jar were not registered with JSF, which might in turn 
> happen if you didn't include all the JARs, or you're running on a broken 
> servlet container that doesn't recognize TLDs inside JAR files.  Could 
> you double check that you've included struts-faces.jar, jsf-api.jar, and 
> jsf-impl.jar inside /WEB-INF/lib?  What container (and version) are you 
> running on?  Finally, were there any logged errors when the app was 
> initially deployed?
> 
> If that all looks right, could you please give me a precise script to 
> reproduce the problem?  When I try what you describe above, it works 
> fine for me.
> 
> Craig
> 

I user tomcat 5.0.19, struts from cvs and struts-faces2 from cvs on linux
struts-faces.jar, jsf-api.jar and jsf-impl.jar are in WEB-INF/lib and all tlds in WEB_INF
(jsf 1.0 final)
It haven't error on startup, but I change validation.xml and validator-rules.xml (add <?xml
and DOCTYPE declaration
on the beginning) like this :
<?xml version="1.0" encoding="UTF-8" ?>

    <!DOCTYPE form-validation PUBLIC
     "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1//EN"
     "http://jakarta.apache.org/commons/dtds/validator_1_1.dtd">

validator is last from cvs
I can log on when I type login with 3 or more characters (validator), but If I
type nothing or 2 character I get this error

regards
Haris Peco

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


Mime
View raw message