The problem doesn't happens with tomcat 5.0.16, but with 4.0.27 does. You fix it by solving the web.xml problem (move session-config below servlet mappings) Ther is other problem (a "org.apache.commons.logging.LogConfigurationException" exception) that is solved by using the last version of jakarta commons logging (Providers war example comes with commons-logging-1.1-dev.jar that must be changed by the last version of logging)
With this the example works. Sorry for the problems. Next release will have this problems solved. Cheers. Guillermo. PD: thanks to Shishir for the feedback of the problem! -----Original Message----- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: Martes, 20 de Enero de 2004 12:21 p.m. To: Struts Users Mailing List Subject: RE: [ANNOUNCE] Providers: Select solutions Yup..since then I have corrected it and been running it. Just wanted the team to be aware of it. -----Original Message----- From: Jesse Alexander (KAID 11) [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 4:25 AM To: 'Struts Users Mailing List' Subject: RE: [ANNOUNCE] Providers: Select solutions Hi, correct the web.xml The error-message is quite clear... regards Alexander -----Original Message----- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: Dienstag, 20. Januar 2004 02:43 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: [ANNOUNCE] Providers: Select solutions Hi, I am getting XML parser error when running it on Tomcat 4.1.27 and jdk1.4.0. Can you tell what needs to be done ?? ------------------------------- SEVERE: Parse Error at line 44 column 11: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter* ,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mim e-mapping*,welcome-file-list?,er org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter* ,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mim e-mapping*,welcome-file-list?,error-page*,t at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkno wn Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk nown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis patcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno wn Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1548) at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfi g.java:282) at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j ava:243) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3568 ) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja va:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeploy er.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:772) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java :559) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:401) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:35 8) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu pport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196) at org.apache.catalina.core.StandardHost.start(StandardHost.java:738) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347) at org.apache.catalina.core.StandardService.start(StandardService.java:497) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Jan 19, 2004 8:38:21 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 80 Jan 19, 2004 8:38:21 PM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 Jan 19, 2004 8:38:21 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/30 config=C:\tomcat\jakarta-tomcat-4.1.27\conf\jk2.properties -----Original Message----- From: Guillermo Meyer [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 2:09 PM To: 'Struts Users Mailing List' Subject: [ANNOUNCE] Providers: Select solutions Hi: We are working in an open source project called Providers (http://sourceforge.net/projects/providers/) Providers is a framework to be used with JSP to fill Select options in HTML. You can use it with Struts or any other presentation framework to replace html:options tag and use providers:options and fill the select without the need of creating a collection in an Action. Also a bean:write tag can be changed by providers:write to convert an id to a description easily. There are other tags with providers, like ComboSelect (dependant drop down list tags) and a select tag (extending struts) that you must use with comboselect and additionally creates a script to allow a doMatches in the select (you write on the select and options are selected according on what you write). Documentation and home page have to be done, code must be enhaced, but we have a first release. You can download it from http://sourceforge.net/project/showfiles.php?group_id=99364 and test it. It's very easy. Please, send me the comments and keep monitoring next releases. If you have suggestions send them and we can add the functionality. Cheers. Guillermo Meyer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]