Re: error in my struts config
Yes, it works for me in resin too. I didn't try tomcat [EMAIL PROTECTED] wrote: i did that too... the thing is... my web app works in Resin. but when i try to run it under tomcat i always get the errors. i don't know what's really hapenning... can someone enlighten me... thanks a lot - Original Message - From: "Konstantina Stamopoulou" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, March 24, 2003 4:45 PM Subject: Re: error in my struts config Hello Richard, I'm not sure if it is allowed to give the stuts-configs as comma delimited parameters. Try the following in your web.xml config /WEB-INF/struts-config-tm.xml config /WEB-INF/struts-config.xml config /WEB-INF/struts-config-manager.xml Konstnatina - Original Message - From: "Richard Raquepo" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, March 24, 2003 8:17 AM Subject: error in my struts config My web-app is working fine in resin but when i switched to tomcat i got this error. 2003-03-24 14:13:57 StandardContext[/]: Servlet / threw load() exception javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config-tm.xml,/WEB-INF/struts-config-manager.xml at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:9 52) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93 4) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:821) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java: 3420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3608) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188) 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:2189) 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.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) my web.xml looks like this . config /WEB-INF/struts-config.xml,/WEB-INF/struts-config-tm.xml,/WEB-INF/struts-con fig-manager.xml it works fine in resin but this seems not allowed in tomcat... guys, what do you think is the error. thanks a lot... - 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] -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: websites that use Struts..
Hello, I think tomcat administration uses struts. that will be a good one and also websphere 5.0 administration. I am not sure, I remember reading somewhere [EMAIL PROTECTED] wrote: Cheers Rick.. thats will help, what i really need to demonstrate is its not just another latest techies geegaw.. seeing them in action will do more for them at this stage i feel.. "Rick Reumann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Wed, 26 Feb 2003 15:42:17 - "James Prance" <[EMAIL PROTECTED]> wrote: The list on the Apache website, half the links dont work... does anyone know of some websites out there on the old 'interweb' that are currently live using struts.. I need to find some good examples to convince our PM's that this is our way forward.. I don't have a list of links to websites using Struts, but if it helps any, I had to come up with a quick list of topics to go over of how Struts could provide a better MVC architecture than what is currently being done (might help to over some of these with your PM). You could check out the list here: http://nagoya.apache.org/wiki/apachewiki.cgi?BenefitsOfStruts Please anyone add to it and fix it up. I wrote it very quickly. -- Rick Reumann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OT: Struts Online Training
what will be the cost of webex for these meetings. How do I find out?? [EMAIL PROTECTED] wrote: It would be great to attend more advanced training on Struts. But maybe it is hard for you to get to the city of the presentation. What if you could from home attend 4 different published authors? What if additionally there were labs by Best Training as voted by JDJ? What if you could view the presentations, ask questions, do the labs and hear the presentation from your home? Announce: *Best Practices in Struts - Web Training* by Cekvenich, Husted, and Turner and a presentation by Momjian on PostgreSQL. (each a published author) Struts 1.1 might be released in March, so every Saturday at 10:30 AM Easter, watch and hear presentation via WebEx.com. Meeting # Date Title 616291003 1-MarMVC Intermediate Setup 614301419 8-MarMVC View for CMS/Contact 611367121 15-Mar MVC Ted Advanced + DAO Lab 611903740 22-Mar MVC Bruce pgSQL + Multi Row Lab 611213868 29-Mar MVC - Turner + Options/Nested (once you connect via PC, telecom phone is 1-408-964-1050) This presentation is almost FREE (other than the cost of WebEx), the sooner you register, the cheaper it is. A week of training by others could be $2400! Plus travel costs. Plus they did not get voted best, baseBeans.com did! Register and pay at: http://www.basebeans.com/do/classReservation Cost of all 5 sessions + labs (8 hours for each session) is $155 if you pre-register, or $275 if you late register and $475 if you register in March. Labs (on your own time, hours each) include: Multi Row Updates, Validation, Tiles, Navigation, EL, Nested, Options, CRUD, etc. full agenda was published. Each lab is at least 8 hours and required, if you do not do the labs, the next presentation will not make sense, no pretenders here. No money back for this, other baseBeans.com presentations are money back! Note: This is not intro to Struts and this is not for "hands off developers". If you can't do the labs, you will be dropped. About Presenters: --- Vic Cekvenich wrote early labs "*Struts FastTrack*" (available on basicPortal.com) and was voted Trainer of the Year by readers Java Developers Journal. He has 14 years IT experience. Ted Husted authored "*Struts in Action*" and "Professional JSP" available on Amazon. He is also one of the early committers. He has been developing custom business software since 1982. Bruce Momjian authored "*PostgreSQL, Introduction and Concepts*" available on Amazon. He is one of the major committers. He has worked on PostgreSQL since 1996. James Turner authored "*Struts Kick Start*", "MySQL and JSP Web Applications" available on Amazon. He is a committer. He has more than 22 years of experience in the computer field. All meeting Start at 10:30 AM Eastern, plus it takes a few minutes setup, so connect ahead. You need to go to webex.com, click "Attend a meeting" and punch up meeting #. Do not give out password! Once you pay, you will get the password. By doing the labs, you get the password to the next meeting. Questions, agenda and you must join for lab info, only on: http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers or news.basebeans.com Feel free to reposts this! Agenda and speakers subject to change. Note: New version of basicPortal.com is about to come out! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tags to deal with hashmaps
Followup question. How can I do a lookup, instead of interating over the hashmap. Following is my scriplet code, can anyone help me to convert the following code to use taglibs. I don't have any problem using iterate tag just for a collection. But, don't know what to do with 'hashmaps' Thanks -Aswath <% Collection colBeans = (Collection)request.getAttribute (Constants.REQ_COLLECTION1) ; HashMap map = (HashMap)request.getAttribute (Constants.REQ_HASH) ; Iterator iter = colBeans.iterator () ; ProjectBean projBean ; while (iter.hasNext ()) { jobBean = (com.transpak.dbbeans.JobBean)iter.next () ; projBean = (ProjectBean)map.get(new Long(jobBean.getID())) ; %> <%=projBean.getCcustno()%> <%=projBean.getCsono()%> <%=jobBean.getID()%> <%}%> [EMAIL PROTECTED] wrote: Hello, The same place you downloaded struts has documentation on how to accomplish getting values from hashmaps. http://jakarta.apache.org/struts/doc-1.0.2/struts-logic.html#iterate -Bocaj | -Original Message- | From: asatrasala [mailto:[EMAIL PROTECTED]] | Sent: Wednesday, February 19, 2003 8:24 PM | To: [EMAIL PROTECTED] | Subject: tags to deal with hashmaps | | Hello, | Are there any tags to get the values from hashmaps | | -Aswath | | | | | - | 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] -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tags to deal with hashmaps
Hello, Are there any tags to get the values from hashmaps -Aswath - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DB Connection pool (how)?
Hello, FYI, I use MSSQL server and opta2000.jar from http://www.inetsoftware.de/English/produkte/JDBC_Overview/default.htm Following are my parameters in struts-config.xml file value="test sample datasource"/> value="false"/> value="com.inet.tds.TdsDriver"/> value="4"/> value="guest"/> value="jdbc:inetdae7:localhost:1433?database=test"/> value="guest"/> [EMAIL PROTECTED] wrote: Hi, Please excuse my ignorance, but does struts have a libraries that implement a connection pool and if so, how does one configure and use this pool? Are there any examples? Any help will be greatly appreciated! Thanks in advance! __ Post your free ad now! http://personals.yahoo.ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]