action calling Singleton
Hi, What effect does a Singleton class have when it is called by the Action? I read that the Action is reused. It is just a simple file save utility but multiple users might be calling it from their actions at the same time. Is it recommended to use a utitily like this ? The upload utility is an example. If multiple users upload, and every file is saved in the same directory, the java directory handle might have to be shared. Is that right ? Won't it result in locking of the directory ? Thanks, Mohan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: action calling Singleton
Hehe, your playing with fire there. ;-) As you are aware each request is processed in its own thread. The actual instance of the action that singleton is called from is unimportant, you could have several threads calling it simultaneously - all from the same actions code. What this means of course is that your singleton probably needs to be threadsafe. Depending on what its doing this often means making appropriate use of the synchronized keyword - either within the code of the singleton itself, or by synchronizing in your code everywhere you call it. Having done this, only one thread will get to play with the singleton at a time - the others blocking until they get a chance (beware of deadlocks!) - this could have a performance impact if its code thats used a lot. The next thing you need to be aware of is that your singleton is only a singleton within that JVM (or ClassLoader to be precise) - if you are running in a clustered environment each JVM will have its own version of your singleton. If you have not thought through the consequences of this, you will probably run into trouble. I did a quick web search. Have a read of these - Ive not had time to look at them probably myself but they should help your understanding. http://www.javaworld.com/javaworld/jw-01-2001/jw-0112-singleton.html http://www.javageeks.com/Papers/JavaStatics/JavaStatics.pdf -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 18:26 To: 'Struts Users Mailing List' Subject: action calling Singleton Hi, What effect does a Singleton class have when it is called by the Action? I read that the Action is reused. It is just a simple file save utility but multiple users might be calling it from their actions at the same time. Is it recommended to use a utitily like this ? The upload utility is an example. If multiple users upload, and every file is saved in the same directory, the java directory handle might have to be shared. Is that right ? Won't it result in locking of the directory ? Thanks, Mohan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Why doesnt logic:iterate use the formBean from the html:form
html:form action=/helpMe logic:iterate property=infoItems /logic:iterate /html:form I assumed that iterate tag would look for a property infoItems on the formBean for the html:form But it doesnt? The nested tags work in exactly this fashion, picking up on the form bean and then having all the name attributes more or less taken care of as you've asked. And as martin says, assumptions shouldn't be made about the html/form nature, so if you find yourself wanting to make WML, there's a nested:root tag you can use to point at an arbitrary bean reference. There's docco on the nested tags on the Struts site, but there's a primer and a tutorial to get you started on... http://www.keyboardmonkey.com/next ...I'm quite sure you'll find them a good fit. Arron. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Is there a better way to write this code?
Hi, in this code I want to take the HTTP parameter targetURL if that exists, otherwise, from the attribute of the request. Is there a better way to write this code? Zsolt bean:parameter id=targetURL name=targetURL value= / logic:empty name=targetURL % targetURL = (String)request.getAttribute(targetURL); % /logic:empty -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Reading application object in action.
Hi, How can I read application object in action section? As we now application is defined in jsp pages and is: ServletConfig config = getServletConfig(); ServletContext application = config.getServletContext(); Cheers
RE: Reading application object in action.
Hi Reza, To get the ServletContext in an Action you can use: getServlet().getServletContext(); btw The servlet that getServlet() returns is the struts ActionServlet ('within' which all the actions execute). /btw regards Andrew -Original Message- From: Reza Aliakbari [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 22:56 To: '[EMAIL PROTECTED]' Subject: Reading application object in action. Hi, How can I read application object in action section? As we now application is defined in jsp pages and is: ServletConfig config = getServletConfig(); ServletContext application = config.getServletContext(); Cheers -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hot to an html:image.. similar to html:cancel/ ?
Hi, I would like to use a image button (html:image..) instead of html:cancel/. How can I do that? It also fine of I have to handle that in the Action class. Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Using : Tomcat 3.2.2
Hi I am using Tomcat 3.2.2 , struts 1.0 I am having this problem : I have a ArrayList myArr which is populated by the Bean {A} , the arraylist contains object of another Bean {B}. if I say logic:iterate name=myfs property=myArrlst Hello World /logic:iterate It iterates Hello world for the number of objects in myArrlst, but when I try to use a method call inside the logic:iterate tag it says getter / setter not present. I can do the same thing as above with Java Iterator and calling bean's individual getter/ setter methods. Any help will be greatly appreciated. Regards Gopal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: struts workflow
Diego, I know two workflow projects http://www.livinglogic.de/Struts/ integrated with Struts: and http://jakarta.apache.org/commons/index.html, SandboxComponents, Workflow. No idea if they are the same project or even if there will be any of then integrated with the Struts 1.1 release. I think both have been quite dead right now, is not it? Will Struts 1.1 release provide any built-in workflow extension? TIA. Regards, Adolfo. From: Shay Logan [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: struts workflow Date: Fri, 15 Nov 2002 14:32:07 -0600 Diego, At my company we are using struts and weblogic intergrater. It is going pretty good with the development. Shay -Original Message- From: Diego Campodonico [mailto:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 9:11 AM To: [EMAIL PROTECTED] Subject: struts workflow Hi, Anyone has implementing an workflow engine or workflow application with struts? I want to do a web application with a workflow engine? thanks DIego -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
[ANNOUNCE] Struts ImageButtonBeanManager v0.2d
To all Struts users ... I have released version 0.2d of the ImageButtonBeanManager on SourceForge.net: http://sourceforge.net/projects/imagebuttonbean/ Project Description: ImageButtonBeanManager is a Struts Extension Package that supports the Struts HTML Image Tag and the ImageButtonBean class in a manner that is analgous to the support provided by Struts for the Struts HTML Submit Tag. It extends Ted Husted's ImageButtonBean approach with a few new features, such as automatically mapping the selected ImageButton to an ActionForward and eliminating the need to define ImageButtonBean instances in the ActionForm. It builds on this capability and adds some features for similar support of the SubmitButton, yielding several new DispatchAction classes. The DispatchAction classes can be used to develop Action Flows, which are analgous to server-side Action scripts. Action Flows are discussed in detail in the documentation (please see the link to the DispatchAction Classes page from http://imagebuttonbeanmgr.webhop.org/.) The ImageButtonBeanManager DispatchAction classes are ready-to-use in that they don't need to be extended or require any application-specific code. They can be used in lieu of an application's extensions of the Struts DispatchAction or LookupDispatchAction classes. They have the potential for relieving much of the dispatching duties of application-specific Actions. That should bring the side benefit of reducing the level of coupling between JSPs and Actions. Larger development projects might get more benefit from this than smaller ones ... The developer documentation, JavaDoc, Java code and a sample WebApp are running at: http://imagebuttonbeanmgr.webhop.org/ Please let me know if this provides any benefit. Thanks! Ken Fitzpatrick __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
PropertyUtils.copyProperties() usage in 1.1-b2
Hi all, happy friday (again... :) I'm trying to figure out what I am doing wrong with PropertyUtils.copyProperties(). From within my Action, I have: User user = bean; DynaActionForm regForm = (DynaActionForm) form; PropertyUtils.copyProperties(regForm, user); When I look at what copyProperties is doing, it's getting a PropertyDescriptor array from getPropertyDescriptors() with the user bean correctly, then it iteratively tries to see if the regForm has any of the properties found in the user bean. But calling getPropertyDescriptor(regForm, fieldname) seems to be comparing the (correct) field names from the bean against the *structure* of the DynaActionForm component (i.e. the multipartRequestHandler, dynaClass, servlet, etc), instead of the DynaFields that I set up in my form-bean/. I don't think nested properties are the answer, and copyProperties() is supposed to work with DynaBean in the source, destination, both or neither. Any ideas? The code seems to work fine when the source and destination are reversed. I'm using 1.1-b2. Thanks a bunch, Brian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
PropertyUtils.copyProperties() usage in 1.1-b2
Hi all, happy friday (again... :) I'm trying to figure out what I am doing wrong with PropertyUtils.copyProperties(). From within my Action, I have: User user = bean; DynaActionForm regForm = (DynaActionForm) form; PropertyUtils.copyProperties(regForm, user); When I look at what copyProperties is doing, it's getting a PropertyDescriptor array from getPropertyDescriptors() with the user bean correctly, then it iteratively tries to see if the regForm has any of the properties found in the user bean. But calling getPropertyDescriptor(regForm, fieldname) seems to be comparing the (correct) field names from the bean against the *structure* of the DynaActionForm component (i.e. the multipartRequestHandler, dynaClass, servlet, etc), instead of the DynaFields that I set up in my form-bean/. I don't think nested properties are the answer, and copyProperties() is supposed to work with DynaBean in the source, destination, both or neither. Any ideas? The code seems to work fine when the source and destination are reversed. I'm using 1.1-b2. Thanks a bunch, Brian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: ActionForm manipulation within an Action
... and you aren't using DynaActionForms, which erase your form every time the controller is called. -b -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 12:48 PM To: Struts Users Mailing List Subject: RE: ActionForm manipulation within an Action ...and the form bean is of session scope. Sri -Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, November 15, 2002 12:35 PM To: [EMAIL PROTECTED] Subject: Re: ActionForm manipulation within an Action Of course, this happens all the time in add/edit forms. Any change to the form in the first action will be seen by the action it forwards to as long as both actions are setup to use the same form bean in struts-config.xml. David From: Jorge Martins [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Mailinglist' [EMAIL PROTECTED] Subject: ActionForm manipulation within an Action Date: Fri, 15 Nov 2002 17:20:57 - Hi, Is there a way to set an attribute in an ActionForm received by an Action and having that change propagated when I 'findForward()' to another Action? Thanks Jorge _ ___ inesc-id Jorge Martins | [EMAIL PROTECTED] lisboaSoftware Engineering Group | http://www.esw.inesc-id.pt/~jorge -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How can I access the form bean object from JSP?
bean:define id=pickAName name=theForm property=beanInForm type=type.of.the.bean / %=pickAName.getMethod()% From: Zsolt Koppany [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How can I access the form bean object from JSP? Date: Sat, 16 Nov 2002 08:20:52 +0100 Hi, how can I access the bean associated to my form? I would like to call some getter and setter methods. Zsolt -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
logic:iterate......html:text... indexed=true/.../logic:iterate
Quick question: logic:iterate... html:text... indexed=true/ /logic:iterate Is this feature on jakarta-struts-1.1-b2 or I need to recompile struts as suggested by Dave on article http://husted.com/struts/resources/indexed-tags.htm Thank you, Leo _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1
Good Saturday! I believe I am getting the same bug. I am getting: Caused by: java.lang.IndexOutOfBoundsException: Index: 2, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at test.IndexedForm.getParameter(IndexedForm.java:28) ... 46 more running jakarta-struts-1.1-b2 on Apache Tomcat/4.1.12 JSDK=1.4.1_01-b01 Trying to do this simple indexed ArrayList I built on top of the struts-example webapp. See source code attached. What are the alternatives here. Go back to JDK 1.3.1 ? Thank you so much, Leo From: Jim Krygowski [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: IndexOutOfBounds error, Struts 1.1b2, J2SDK 1.4.1 Date: Fri, 15 Nov 2002 10:01:35 -0500 We've run some more tests, and documented them. The results are totally consistent and reproducible across all my developers' machines. We develop targeting JRun, but we've tested against Tomcat and seen the same IndexOutOfBoundsException. The cause is always due to the misidentification of an ArrayList attribute as a PropertyDescriptor instead of an IndexedPropertyDescriptor. In the table below are our testing outcomes. Success means that the ArrayList attribute was correctly identified as a IndexedPropertyDescriptor and the code ran without exceptions. Fail consistently means that the ArrayList was misidentified causing an exception to be thrown. We see the problem in JRun and Tomcat, so we can rule out the App Servers. We see the problem in 1.1b2+1.4.1 and Nightly+1.4.1. I've written a test case independent of struts that examines my ActionForm (Introspector.getBeanInfo, beanInfo.getPropertyDescriptors) and regardless of which JDK I'm using, the results come out correctly each time. That leads me to believe that something funny is happening to my ActionForm somewhere in the Struts code. Has anyone else seen this?? I have three developers who came across this error independently so I have to imagine that some of you out there bumped into it too when you moved up to JDK 1.4.1. App Svr; Struts Rel; JDK; Outcome; ---; --; -; ---; JRun 4.1; 1.1b2; 1.3.1; Success; JRun 4.1; 1.1b2; 1.4.1; Fail; Tomcat4.0.9; 1.1b2; 1.3.1; Success; Tomcat4.0.9; 1.1b2; 1.4.1; Fail; JRun 4.1; Nightly; 1.3.1; Success; JRun 4.1; Nightly; 1.4.1; Fail; NONE; NONE; 1.3.1; Success; NONE; NONE; 1.4.1; Success; thanks in advance for you suggestions. jk _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus %@ page contentType=text/html;charset=UTF-8 language=java % %@ 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 % head titleIndexed Test/title /head body bgcolor=white h3Indexed Form/h3 logic:iterate id=parameter name=indexedForm property=pair bean:write name=parameter property=value / nbsp;nbsp; bean:write name=parameter property=name / brbr /logic:iterate /body /html:html %@ page contentType=text/html;charset=UTF-8 language=java % %@ 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 % head titleIndexed Test/title /head body bgcolor=white h3Indexed Form/h3 html:form action=/indexedResult logic:iterate id=parameter name=indexedForm property=pair bean:write name=parameter property=value / nbsp;nbsp; html:text name=parameter property=name indexed=true/ brbr /logic:iterate html:submit value=Submit/ /html:form /body /html:html ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; !-- This is the Struts configuration file for the example application, using the proposed new syntax. NOTE: You would only flesh out the details in the form-bean declarations if you had a generator tool that used them to create the corresponding Java classes for you. Otherwise, you would need only the form-bean element itself, with the corresponding name and type attributes. -- struts-config !-- == Data Source Configuration === -- !-- data-sources data-source set-property property=autoCommit value=false/ set-property property=description value=Example Data Source Configuration/ set-property property=driverClass value=org.postgresql.Driver/ set-property property=maxCount value=4/ set-property property=minCount value=2/ set-property property=password
Utilizing the Struts DataSource from a listener
Hello: I am attempting to write information to a database using a connection obtained through a dataSource. Could anyone provide the best approach to write to a database from a session listener. I have attempted retrieving the datasource from the servlet context using the following code snippet within my session listener DataSource dataSource = (DataSource) servletContext.getAttribute(Action.DATA_SOURCE_KEY); listener cannot find the dataSource stored in the context. Help! Sincerely, Paul Idusogie Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Using : Tomcat 3.2.2
Tomcat 3.2.2 is not a supported platform. I would upgrade to a newer version and try again. David From: vze49jqg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Using : Tomcat 3.2.2 Date: Sat, 16 Nov 2002 11:32:24 -0500 Hi I am using Tomcat 3.2.2 , struts 1.0 I am having this problem : I have a ArrayList myArr which is populated by the Bean {A} , the arraylist contains object of another Bean {B}. if I say logic:iterate name=myfs property=myArrlst Hello World /logic:iterate It iterates Hello world for the number of objects in myArrlst, but when I try to use a method call inside the logic:iterate tag it says getter / setter not present. I can do the same thing as above with Java Iterator and calling bean's individual getter/ setter methods. Any help will be greatly appreciated. Regards Gopal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Using : Tomcat 3.2.2
I see, but sometime it works sometimes it is not. Regards Gopal - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 6:13 PM Subject: Re: Using : Tomcat 3.2.2 Tomcat 3.2.2 is not a supported platform. I would upgrade to a newer version and try again. David From: vze49jqg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Using : Tomcat 3.2.2 Date: Sat, 16 Nov 2002 11:32:24 -0500 Hi I am using Tomcat 3.2.2 , struts 1.0 I am having this problem : I have a ArrayList myArr which is populated by the Bean {A} , the arraylist contains object of another Bean {B}. if I say logic:iterate name=myfs property=myArrlst Hello World /logic:iterate It iterates Hello world for the number of objects in myArrlst, but when I try to use a method call inside the logic:iterate tag it says getter / setter not present. I can do the same thing as above with Java Iterator and calling bean's individual getter/ setter methods. Any help will be greatly appreciated. Regards Gopal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Using : Tomcat 3.2.2
Just download tomcat 4.1.12 so you know that it's not the container. Then you can know that it's something in your code. David From: vze49jqg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Using : Tomcat 3.2.2 Date: Sat, 16 Nov 2002 18:44:16 -0500 I see, but sometime it works sometimes it is not. Regards Gopal - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 6:13 PM Subject: Re: Using : Tomcat 3.2.2 Tomcat 3.2.2 is not a supported platform. I would upgrade to a newer version and try again. David From: vze49jqg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Using : Tomcat 3.2.2 Date: Sat, 16 Nov 2002 11:32:24 -0500 Hi I am using Tomcat 3.2.2 , struts 1.0 I am having this problem : I have a ArrayList myArr which is populated by the Bean {A} , the arraylist contains object of another Bean {B}. if I say logic:iterate name=myfs property=myArrlst Hello World /logic:iterate It iterates Hello world for the number of objects in myArrlst, but when I try to use a method call inside the logic:iterate tag it says getter / setter not present. I can do the same thing as above with Java Iterator and calling bean's individual getter/ setter methods. Any help will be greatly appreciated. Regards Gopal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Using : Tomcat 3.2.2
Thanks for your response David. It's coporate environmnent so can't upgrade to 4.0 Thanks a Zillion Though. Regards Gopal - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 6:49 PM Subject: Re: Using : Tomcat 3.2.2 Just download tomcat 4.1.12 so you know that it's not the container. Then you can know that it's something in your code. David From: vze49jqg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Using : Tomcat 3.2.2 Date: Sat, 16 Nov 2002 18:44:16 -0500 I see, but sometime it works sometimes it is not. Regards Gopal - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 6:13 PM Subject: Re: Using : Tomcat 3.2.2 Tomcat 3.2.2 is not a supported platform. I would upgrade to a newer version and try again. David From: vze49jqg [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Using : Tomcat 3.2.2 Date: Sat, 16 Nov 2002 11:32:24 -0500 Hi I am using Tomcat 3.2.2 , struts 1.0 I am having this problem : I have a ArrayList myArr which is populated by the Bean {A} , the arraylist contains object of another Bean {B}. if I say logic:iterate name=myfs property=myArrlst Hello World /logic:iterate It iterates Hello world for the number of objects in myArrlst, but when I try to use a method call inside the logic:iterate tag it says getter / setter not present. I can do the same thing as above with Java Iterator and calling bean's individual getter/ setter methods. Any help will be greatly appreciated. Regards Gopal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Using : Tomcat 3.2.2
Hi, Can you be more specific? Can you post an snip of your code? Salut! -- Antoni Reus A Dissabte 16 Novembre 2002 17:32, vze49jqg va escriure: Hi I am using Tomcat 3.2.2 , struts 1.0 I am having this problem : I have a ArrayList myArr which is populated by the Bean {A} , the arraylist contains object of another Bean {B}. if I say logic:iterate name=myfs property=myArrlst Hello World /logic:iterate It iterates Hello world for the number of objects in myArrlst, but when I try to use a method call inside the logic:iterate tag it says getter / setter not present. I can do the same thing as above with Java Iterator and calling bean's individual getter/ setter methods. Any help will be greatly appreciated. Regards Gopal -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]