Re: Struts 1.1 issues after moving to tomcat 7.0.57 from Tomcat 5.0.28
Hi, Can someone please provide me re solution. Thanks Raj On Jun 10, 2015, at 6:54 PM, Raj bsudershan...@gmail.com wrote: I am facing this issue after porting my application from the existing Tomcat 5.0.28 to the new tomcat 7.0.57. I am using Struts version 1.1 is something particular, the app in both the old and new environments work except for a few pages in the new env where when I click on the submit button it is directing to http://calculators/CertSsCalculator.do if I see the source of the page I see. new environment (bombs due to //) form name=CalculatorForm method=post action=//calculators/Calculator.do onsubmit=return validateForm(); old environment (works fine) form name=CalculatorForm method=post action=/calculators/Calculator.do onsubmit=return validateForm(); The jsp is the same with no changes html:form action=/calculators/Calculator onsubmit=return validateForm(); Has any one see something like this and can suggest what can be tried and totally at a loss. Thank You
Struts 1.1 issues after moving to tomcat 7.0.57 from Tomcat 5.0.28
I am facing this issue after porting my application from the existing Tomcat 5.0.28 to the new tomcat 7.0.57. I am using Struts version 1.1 is something particular, the app in both the old and new environments work except for a few pages in the new env where when I click on the submit button it is directing to http://calculators/CertSsCalculator.do http://http//calculators/CertSsCalculator.do if I see the source of the page I see. new environment (bombs due to *//*) form name=CalculatorForm method=post action=*//* calculators/Calculator.do onsubmit=return validateForm(); old environment (works fine) form name=CalculatorForm method=post action=*/* calculators/Calculator.do onsubmit=return validateForm(); The jsp is the same with no changes html:form action=/calculators/Calculator onsubmit=return validateForm(); Has any one see something like this and can suggest what can be tried and totally at a loss. Thank You
Struts 1.1 and Tiles 2 compatability
Hi, I am in the process of upgrading from Tiles 1 to Tiles 2.2.2 combined with Struts 1.1. I have the following configuration in struts-config.xml controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate value=true / /plug-in Below is the dtd configured in tiles.xml !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; I have the tiles2.2.2 related jars(tiles-jsp, tiles-servlet, tiles-template, tiles-api, tiles-core) in my classpath and I use maven to import jars in my project When I start tomcat and display my page, I get the following error, Mar 11, 2013 12:54:52 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.tiles.template.NoSuchAttributeException: Attribute 'topmenu' not found. at org.apache.tiles.template.DefaultAttributeResolver.computeAttribute(DefaultAttributeResolver.java:49) at org.apache.tiles.template.InsertAttributeModel.resolveAttribute(InsertAttributeModel.java:187) at org.apache.tiles.template.InsertAttributeModel.start(InsertAttributeModel.java:107) It is not able to find any of the attributes in tiles.xml Any thoughts? Thanks, Sowmya sse...@ucsd.edu
Re: Struts 1.1 and Tiles 2 compatability
Tiles 2 is not compatible with Struts 1. You must use Tiles 1. Paul On Mon, Mar 11, 2013 at 3:01 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Hi, I am in the process of upgrading from Tiles 1 to Tiles 2.2.2 combined with Struts 1.1. I have the following configuration in struts-config.xml controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate value=true / /plug-in Below is the dtd configured in tiles.xml !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; I have the tiles2.2.2 related jars(tiles-jsp, tiles-servlet, tiles-template, tiles-api, tiles-core) in my classpath and I use maven to import jars in my project When I start tomcat and display my page, I get the following error, Mar 11, 2013 12:54:52 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.tiles.template.NoSuchAttributeException: Attribute 'topmenu' not found. at org.apache.tiles.template.DefaultAttributeResolver.computeAttribute(DefaultAttributeResolver.java:49) at org.apache.tiles.template.InsertAttributeModel.resolveAttribute(InsertAttributeModel.java:187) at org.apache.tiles.template.InsertAttributeModel.start(InsertAttributeModel.java:107) It is not able to find any of the attributes in tiles.xml Any thoughts? Thanks, Sowmya sse...@ucsd.edu
RE: Struts 1.1 and Tiles 2 compatability
Is any version of Struts 1 (example : Struts 1.4) compatible with Tiles 2.2.2.? Thanks, Sowmya -Original Message- From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On Behalf Of Paul Benedict Sent: Monday, March 11, 2013 1:15 PM To: Struts Users Mailing List Subject: Re: Struts 1.1 and Tiles 2 compatability Tiles 2 is not compatible with Struts 1. You must use Tiles 1. Paul On Mon, Mar 11, 2013 at 3:01 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Hi, I am in the process of upgrading from Tiles 1 to Tiles 2.2.2 combined with Struts 1.1. I have the following configuration in struts-config.xml controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate value=true / /plug-in Below is the dtd configured in tiles.xml !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; I have the tiles2.2.2 related jars(tiles-jsp, tiles-servlet, tiles-template, tiles-api, tiles-core) in my classpath and I use maven to import jars in my project When I start tomcat and display my page, I get the following error, Mar 11, 2013 12:54:52 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.tiles.template.NoSuchAttributeException: Attribute 'topmenu' not found. at org.apache.tiles.template.DefaultAttributeResolver.computeAttribute(DefaultAttributeResolver.java:49) at org.apache.tiles.template.InsertAttributeModel.resolveAttribute(InsertAttributeModel.java:187) at org.apache.tiles.template.InsertAttributeModel.start(InsertAttributeMo del.java:107) It is not able to find any of the attributes in tiles.xml Any thoughts? Thanks, Sowmya sse...@ucsd.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 and Tiles 2 compatability
No, Struts 1 is not compatible. On Mon, Mar 11, 2013 at 3:34 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Is any version of Struts 1 (example : Struts 1.4) compatible with Tiles 2.2.2.? Thanks, Sowmya -Original Message- From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On Behalf Of Paul Benedict Sent: Monday, March 11, 2013 1:15 PM To: Struts Users Mailing List Subject: Re: Struts 1.1 and Tiles 2 compatability Tiles 2 is not compatible with Struts 1. You must use Tiles 1. Paul On Mon, Mar 11, 2013 at 3:01 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Hi, I am in the process of upgrading from Tiles 1 to Tiles 2.2.2 combined with Struts 1.1. I have the following configuration in struts-config.xml controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate value=true / /plug-in Below is the dtd configured in tiles.xml !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; I have the tiles2.2.2 related jars(tiles-jsp, tiles-servlet, tiles-template, tiles-api, tiles-core) in my classpath and I use maven to import jars in my project When I start tomcat and display my page, I get the following error, Mar 11, 2013 12:54:52 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.tiles.template.NoSuchAttributeException: Attribute 'topmenu' not found. at org.apache.tiles.template.DefaultAttributeResolver.computeAttribute(DefaultAttributeResolver.java:49) at org.apache.tiles.template.InsertAttributeModel.resolveAttribute(InsertAttributeModel.java:187) at org.apache.tiles.template.InsertAttributeModel.start(InsertAttributeMo del.java:107) It is not able to find any of the attributes in tiles.xml Any thoughts? Thanks, Sowmya sse...@ucsd.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 and Tiles 2 compatability
I don't know struts1 at all, but if you are afforded that ability to create a custom result type then you should be able to manually invoke tiles (at any version including version 3, which if you're going to put in the effort should be your target). Here is how something similar was done with Struts2, clearly not the same thing but the web.xml set up for tiles and the dependencies for tiles would have the same starting point. On Mon, Mar 11, 2013 at 2:34 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Is any version of Struts 1 (example : Struts 1.4) compatible with Tiles 2.2.2.? Thanks, Sowmya -Original Message- From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On Behalf Of Paul Benedict Sent: Monday, March 11, 2013 1:15 PM To: Struts Users Mailing List Subject: Re: Struts 1.1 and Tiles 2 compatability Tiles 2 is not compatible with Struts 1. You must use Tiles 1. Paul On Mon, Mar 11, 2013 at 3:01 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Hi, I am in the process of upgrading from Tiles 1 to Tiles 2.2.2 combined with Struts 1.1. I have the following configuration in struts-config.xml controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate value=true / /plug-in Below is the dtd configured in tiles.xml !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; I have the tiles2.2.2 related jars(tiles-jsp, tiles-servlet, tiles-template, tiles-api, tiles-core) in my classpath and I use maven to import jars in my project When I start tomcat and display my page, I get the following error, Mar 11, 2013 12:54:52 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.tiles.template.NoSuchAttributeException: Attribute 'topmenu' not found. at org.apache.tiles.template.DefaultAttributeResolver.computeAttribute(DefaultAttributeResolver.java:49) at org.apache.tiles.template.InsertAttributeModel.resolveAttribute(InsertAttributeModel.java:187) at org.apache.tiles.template.InsertAttributeModel.start(InsertAttributeMo del.java:107) It is not able to find any of the attributes in tiles.xml Any thoughts? Thanks, Sowmya sse...@ucsd.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 and Tiles 2 compatability
The link would be useful: http://stackoverflow.com/questions/13337938/how-to-integrate-struts-2-with-tiles-3 On Mon, Mar 11, 2013 at 3:29 PM, Ken McWilliams ken.mcwilli...@gmail.comwrote: I don't know struts1 at all, but if you are afforded that ability to create a custom result type then you should be able to manually invoke tiles (at any version including version 3, which if you're going to put in the effort should be your target). Here is how something similar was done with Struts2, clearly not the same thing but the web.xml set up for tiles and the dependencies for tiles would have the same starting point. On Mon, Mar 11, 2013 at 2:34 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Is any version of Struts 1 (example : Struts 1.4) compatible with Tiles 2.2.2.? Thanks, Sowmya -Original Message- From: paulus.benedic...@gmail.com [mailto:paulus.benedic...@gmail.com] On Behalf Of Paul Benedict Sent: Monday, March 11, 2013 1:15 PM To: Struts Users Mailing List Subject: Re: Struts 1.1 and Tiles 2 compatability Tiles 2 is not compatible with Struts 1. You must use Tiles 1. Paul On Mon, Mar 11, 2013 at 3:01 PM, Sekar, Sowmya sse...@ucsd.edu wrote: Hi, I am in the process of upgrading from Tiles 1 to Tiles 2.2.2 combined with Struts 1.1. I have the following configuration in struts-config.xml controller processorClass=org.apache.struts.tiles.TilesRequestProcessor/ plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles.xml/ set-property property=moduleAware value=true / set-property property=definitions-parser-validate value=true / /plug-in Below is the dtd configured in tiles.xml !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apache.org/dtds/tiles-config_2_0.dtd; I have the tiles2.2.2 related jars(tiles-jsp, tiles-servlet, tiles-template, tiles-api, tiles-core) in my classpath and I use maven to import jars in my project When I start tomcat and display my page, I get the following error, Mar 11, 2013 12:54:52 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception org.apache.tiles.template.NoSuchAttributeException: Attribute 'topmenu' not found. at org.apache.tiles.template.DefaultAttributeResolver.computeAttribute(DefaultAttributeResolver.java:49) at org.apache.tiles.template.InsertAttributeModel.resolveAttribute(InsertAttributeModel.java:187) at org.apache.tiles.template.InsertAttributeModel.start(InsertAttributeMo del.java:107) It is not able to find any of the attributes in tiles.xml Any thoughts? Thanks, Sowmya sse...@ucsd.edu - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 application migration
Hi Folks, I did some googling but couldn't find anything regarding this error. Any help will be much appreciated.. Thanks! -- Vivek Mishra On Wed, Jul 11, 2012 at 4:40 PM, vivek mishra mishravive...@gmail.comwrote: Hi Folks, I am deploying my war on websphere app server which is on AIX box. Application devlopment has been done on windows box with tomcat server. I am facing below issue related to struts ActionServlet. Is there any other thing required in struts setup for deploying it on websphere. Here's the log: [7/11/12 3:41:37:528 PDT] 002b extension W com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor createServletWrapper Servlet action is currently unavailable: SRVE0201E: Servlet [org.apache.struts.action.ActionServlet]: not a servlet class [7/11/12 3:41:37:531 PDT] 002b webcontainer I com.ibm.ws.wswebcontainer.VirtualHost addWebApplication SRVE0250I: Web Module HWInventory has been bound to default_host[*:9080,*:80,*:9443,*:5060,*:5061,*:443, hidh220.hydc.sbc.com:9080,hidh220.hydc.sbc.com:80, hidh220.hydc.sbc.com:9443,hidh220.hydc.sbc.com:5060, hidh220.hydc.sbc.com:5061,hidh220.hydc.sbc.com:443]. [7/11/12 3:41:37:548 PDT] 002b ApplicationMg A WSVR0221I: Application started: HW-Inventory_war [7/11/12 3:41:37:550 PDT] 002b CompositionUn A WSVR0191I: Composition unit WebSphere:cuname=HW-Inventory_war in BLA WebSphere:blaname=HW-Inventory_war started. [7/11/12 3:42:12:806 PDT] 0035 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/app/t1ls1m1/was/was70/profiles/node/logs/ffdc/empserver1_7df07df0_12.07.11_03.42.12.7828901877600843941052.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter 303 [7/11/12 3:42:12:822 PDT] 0035 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/app/t1ls1m1/was/was70/profiles/node/logs/ffdc/empserver1_7df07df0_12.07.11_03.42.12.8083026816414544817095.txt com.ibm.ejs.sm.client.ui.NLS.getString 353 [7/11/12 3:42:12:847 PDT] 0035 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/app/t1ls1m1/was/was70/profiles/node/logs/ffdc/empserver1_7df07df0_12.07.11_03.42.12.8231623118843111297843.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter 380 [7/11/12 3:42:12:874 PDT] 0035 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /opt/app/t1ls1m1/was/was70/profiles/node/logs/ffdc/empserver1_7df07df0_12.07.11_03.42.12.8483756132019284550693.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper 166 [7/11/12 3:42:13:025 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.html.MessagesTei] from /WEB-INF/tlds/struts-html.tld [7/11/12 3:42:13:043 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.CookieTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:045 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.DefineTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:047 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.HeaderTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:049 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.IncludeTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:052 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.PageTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:054 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.ParameterTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:059 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.ResourceTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:061 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [org.apache.struts.taglib.bean.SizeTei] from /WEB-INF/tlds/struts-bean.tld [7/11/12 3:42:13:063 PDT] 0035 jsp W com.ibm.ws.jsp.taglib.TldParser
Re: Struts 1.1 and Ajax
hi Dave, Thanks for responding for my Q. Am getting responseXML from as response.Now from that responseXML I need to get data from specific property of object. Thanks -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-1-and-Ajax-tp5588669p5592900.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 and Ajax
So this is a JavaScript question? Dave On Sun, Mar 25, 2012 at 3:32 AM, N P S Naidu diary.milk...@gmail.comwrote: hi Dave, Thanks for responding for my Q. Am getting responseXML from as response.Now from that responseXML I need to get data from specific property of object. Thanks -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-1-and-Ajax-tp5588669p5592900.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Struts 1.1 and Ajax
hi, Am using struts1.1 and ajax in my application development. I have send asynchronous request to struts action class and got the response(ajax response). Now i have to get the value of one property from the struts formbean object. How to retrieve the required property from ajax response? Here is my formbean structure ActionForm contains testVO.java(value object for data transferring) as setters and getters. In that testVO() contains one property getName() and setName(). After making the request to struts action class through ajax am getting the Actionform to the JSP. Now I have to use the value of the property getName() exists in testVO() class which intirn exists in ActionForm. Please help me how to access the getName() property from the ajax response in my JSP. Thanks Naidu -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-1-and-Ajax-tp5588669p5588669.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 and Ajax
How are you making the request? What's being returned to the ajax call--json? Dave (pardon brevity and typos, on cell) On Mar 23, 2012 4:05 PM, N P S Naidu diary.milk...@gmail.com wrote: hi, Am using struts1.1 and ajax in my application development. I have send asynchronous request to struts action class and got the response(ajax response). Now i have to get the value of one property from the struts formbean object. How to retrieve the required property from ajax response? Here is my formbean structure ActionForm contains testVO.java(value object for data transferring) as setters and getters. In that testVO() contains one property getName() and setName(). After making the request to struts action class through ajax am getting the Actionform to the JSP. Now I have to use the value of the property getName() exists in testVO() class which intirn exists in ActionForm. Please help me how to access the getName() property from the ajax response in my JSP. Thanks Naidu -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-1-and-Ajax-tp5588669p5588669.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Implementation of Struts 2.x with Struts 1.1
Thanks so much you all for your help... Regards, -- Vivek Mishra On Sat, Dec 3, 2011 at 9:58 AM, Shrinivas Parashar shrinivas_paras...@symantec.com wrote: If you are using Struts tiles and planning to use tiles 2 for struts 2 code, then you might have to migrate struts to tiles 2. Regards, Shrinivas -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: 03 December 2011 09:42 To: cwal110...@gmail.com; Struts Users Mailing List Subject: Re: Implementation of Struts 2.x with Struts 1.1 Except for the JSPs. On Dec 2, 2011 11:10 PM, cwalet cwal110...@gmail.com wrote: use struts2-struts1-plugin-2.2.3.jar in your struts2.x project to support struts1.x quickly and automaticly - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Implementation of Struts 2.x with Struts 1.1
Hello Folks, I have developed an application using struts 1.2. Now I want to carry on my next phase of development with struts 2.x. My questions are; 1) Is it technically possible? 2) If yes, what are the changes needs to be done for this regard? 3) Is there any documentation available explaining such implementation or related to this? Any help will be much appreciated. Thanks Best Regards, -- Vivek Mishra
Re: Implementation of Struts 2.x with Struts 1.1
1) Is it technically possible? Yes 2) If yes, what are the changes needs to be done for this regard? Add the Struts 2 jars and add a filter to web.xml for .action like you would do for a stand-alone Struts 2 web app. 3) Is there any documentation available explaining such implementation or related to this? Just create Struts 2 pages for the new pages you want to create. Same as any Struts 2 web app.
Re: Implementation of Struts 2.x with Struts 1.1
use struts2-struts1-plugin-2.2.3.jar in your struts2.x project to support struts1.x quickly and automaticly - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Implementation of Struts 2.x with Struts 1.1
Except for the JSPs. On Dec 2, 2011 11:10 PM, cwalet cwal110...@gmail.com wrote: use struts2-struts1-plugin-2.2.3.jar in your struts2.x project to support struts1.x quickly and automaticly - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Implementation of Struts 2.x with Struts 1.1
If you are using Struts tiles and planning to use tiles 2 for struts 2 code, then you might have to migrate struts to tiles 2. Regards, Shrinivas -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: 03 December 2011 09:42 To: cwal110...@gmail.com; Struts Users Mailing List Subject: Re: Implementation of Struts 2.x with Struts 1.1 Except for the JSPs. On Dec 2, 2011 11:10 PM, cwalet cwal110...@gmail.com wrote: use struts2-struts1-plugin-2.2.3.jar in your struts2.x project to support struts1.x quickly and automaticly - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Struts 1.1 and ajax
HI , I am using struts 1.1 in our application , i am performance problem hence i have decided to use ajax where ever possible. I have this page where it has large no input values in the form that is my form is big when i want to use ajax i have to construct i am facing tough time please let me know how can i add ajax to my struts application -- *Thanks Regards Vickyb *
Re: Struts 1.1 and ajax
Hi, You can do some research about DWR and jQuery to add Ajax stuff. Regards, Max On Tue, Jul 19, 2011 at 2:24 PM, vicky b vickyb2...@gmail.com wrote: HI , I am using struts 1.1 in our application , i am performance problem hence i have decided to use ajax where ever possible. I have this page where it has large no input values in the form that is my form is big when i want to use ajax i have to construct i am facing tough time please let me know how can i add ajax to my struts application -- *Thanks Regards Vickyb *
Re: Upgrading Struts 1.1 to Struts 2 with tiles
I solve this problem by creatig duplicate tiles.xml (tiles 2 configuration) which will be used by Struts2 and the other tiles-defs by struts1. The other change i have to made is to duplicate my layout.jsp for tiles 2. And then every thing is working fine. On 24-05-2011 23:29, Sachin Lale wrote: Hi, I might not understand what null definition means. Also i don't want to loose the current flow of struts 1.1 (using TilesPlugin) and also Struts2 to work using old tiles definition. I am using tile 2.2.2 and followed the instructions given on http://tiles.apache.org/framework/migration/configuration.html#Reusing_old_Tiles_configuration_files got NullPointerException org.apache.tiles.definition.dao.CachingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs. So i rename my my tiles-defs.xml fiel to tiles.xml and got the same exception as given below. org.apache.tiles.impl.InvalidTemplateException: Cannot render a null template Thanks for help. Best regards, Sachin On 24-05-2011 00:12, Martin Gainty wrote: it seems you are supplying a null template definition e.g. %@ taglib uri=http://struts.apache.org/tags-tiles; prefix=tiles % definition name=templateDefinition path=/layout.jsp put name=title value=This is the title. / put name=header value=header.jsp / put name=body value=body.jsp / /definition WEB-INF/struts-config.xml !-- To use tiles-plugin, download and add the Tiles jar to your WEB-INF/lib directory then uncomment the plugin definition below. -- plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml /s set-property property=moduleAware value=true / /plug-in to implement tiles in struts2.x use org.apache.struts2.tiles.listener.StrutsTilesListener web.xml would contain listener listener-class org.apache.struts2.tiles.StrutsTilesListener /listener-class /listener Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 23 May 2011 22:48:01 +0530 From: sachin.l...@krishagni.com To: user@struts.apache.org Subject: Upgrading Struts 1.1 to Struts 2 with tiles Hi, I want to upgrade my application to Struts 2.2.3 from struts 1.1. I want to migrate this on shared resource basis i.e. running both Struts1 and struts2 in parallel each handling different action extension (*.action and *.do). Though i could successfully created the Struts2 action class and request is getting routed correctly but i am facing problems with re-using struts-tiles. I added below lines in web.xml filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping context-param param-nameorg.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name param-value/WEB-INF/tiles-defs.xml/param-value /context-param listener listener-classorg.apache.tiles.extras.complete.CompleteAutoloadTilesListener/listener-class /listener But it is throwing below action while forwarding request from struts2 action to tile. org.apache.tiles.impl.InvalidTemplateException: Cannot render a null template org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:51) org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670
Re: Upgrading Struts 1.1 to Struts 2 with tiles
Hi, I might not understand what null definition means. Also i don't want to loose the current flow of struts 1.1 (using TilesPlugin) and also Struts2 to work using old tiles definition. I am using tile 2.2.2 and followed the instructions given on http://tiles.apache.org/framework/migration/configuration.html#Reusing_old_Tiles_configuration_files got NullPointerException org.apache.tiles.definition.dao.CachingLocaleUrlDefinitionDAO.loadDefinitionsFromURLs. So i rename my my tiles-defs.xml fiel to tiles.xml and got the same exception as given below. org.apache.tiles.impl.InvalidTemplateException: Cannot render a null template Thanks for help. Best regards, Sachin On 24-05-2011 00:12, Martin Gainty wrote: it seems you are supplying a null template definition e.g. %@ taglib uri=http://struts.apache.org/tags-tiles; prefix=tiles % definition name=templateDefinition path=/layout.jsp put name=title value=This is the title. / put name=header value=header.jsp / put name=body value=body.jsp / /definition WEB-INF/struts-config.xml !-- To use tiles-plugin, download and add the Tiles jar to your WEB-INF/lib directory then uncomment the plugin definition below. -- plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml /s set-property property=moduleAware value=true / /plug-in to implement tiles in struts2.x use org.apache.struts2.tiles.listener.StrutsTilesListener web.xml would contain listener listener-class org.apache.struts2.tiles.StrutsTilesListener /listener-class /listener Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Mon, 23 May 2011 22:48:01 +0530 From: sachin.l...@krishagni.com To: user@struts.apache.org Subject: Upgrading Struts 1.1 to Struts 2 with tiles Hi, I want to upgrade my application to Struts 2.2.3 from struts 1.1. I want to migrate this on shared resource basis i.e. running both Struts1 and struts2 in parallel each handling different action extension (*.action and *.do). Though i could successfully created the Struts2 action class and request is getting routed correctly but i am facing problems with re-using struts-tiles. I added below lines in web.xml filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping context-param param-nameorg.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name param-value/WEB-INF/tiles-defs.xml/param-value /context-param listener listener-classorg.apache.tiles.extras.complete.CompleteAutoloadTilesListener/listener-class /listener But it is throwing below action while forwarding request from struts2 action to tile. org.apache.tiles.impl.InvalidTemplateException: Cannot render a null template org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:51) org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:690) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321
Upgrading Struts 1.1 to Struts 2 with tiles
Hi, I want to upgrade my application to Struts 2.2.3 from struts 1.1. I want to migrate this on shared resource basis i.e. running both Struts1 and struts2 in parallel each handling different action extension (*.action and *.do). Though i could successfully created the Struts2 action class and request is getting routed correctly but i am facing problems with re-using struts-tiles. I added below lines in web.xml filter filter-namestruts2/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping context-param param-nameorg.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name param-value/WEB-INF/tiles-defs.xml/param-value /context-param listener listener-classorg.apache.tiles.extras.complete.CompleteAutoloadTilesListener/listener-class /listener But it is throwing below action while forwarding request from struts2 action to tile. org.apache.tiles.impl.InvalidTemplateException: Cannot render a null template org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:51) org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:690) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627) org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321) org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:105) org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:277) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263) After couple of search i found there is a struts1 -tiles2 plugin available but it seems to be compatible with struts1.3. Any help or pointer would be helpful. Thanks in advance Best regards, Sachin Lale
Integrating Struts 1.1 with JSF 2.0 Facelets
Hi, Right now, I have struts application that is running fine. Now I want to introduce a new link in the same application. By clicking the link will display respective page that was developed with JSF Facelets technology. I am facing problem in integrating struts with JSF. Could anyone let me know step by step procedure for integrating Struts 1.1 with JSF 2.0? Thanks, praveen
Re: Integrating Struts 1.1 with JSF 2.0 Facelets
By clicking the link will display respective page that was developed with JSF Facelets technology. I am facing problem in integrating struts with JSF. Could anyone let me know step by step procedure for integrating Struts 1.1 with JSF 2.0? You don't say what your problem is. As far as running a page with a different technology, which I should think is out of scope for this forum, an anchor tag should be sufficient. Just link to the other page. You just need to make sure that your web.xml is configured correctly for both technologies and that their respective URLs allow the servlet container to choose the correct software stack upon seeing the URL. For example, I am running Struts1 and Struts2 together. One is .do and one is .action, respectively. In the web.xml the one stack is called or the other. I've actually made it a tad more complex than that, but that's the general idea.
Re: Migrating from struts 1.1 to 1.3
swap the jars and test? If you get errors that you don't understand, post here and we'll try to help. -Wes On Sun, Jul 18, 2010 at 3:48 AM, amine123456 eh.m.am...@gmail.com wrote: thanks but is there any way I can jump directly from 1.1 TO 1.3?? -- View this message in context: http://old.nabble.com/Migrating-from-struts-1.1-to-1.3-tp29191020p29195699.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Migrating from struts 1.1 to 1.3
thanks but is there any way I can jump directly from 1.1 TO 1.3?? -- View this message in context: http://old.nabble.com/Migrating-from-struts-1.1-to-1.3-tp29191020p29195699.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Migration from struts 1.1 to 1.3
being the rookie that i am , I have no idea how to upgrade from struts 1.1 to 1.3 . so , can any one please help me with a step by step method -- View this message in context: http://old.nabble.com/Migration-from-struts-1.1-to-1.3-tp29191020p29191020.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Migration from struts 1.1 to 1.3
On Sat, Jul 17, 2010 at 7:54 AM, amine123456 eh.m.am...@gmail.com wrote: being the rookie that i am , I have no idea how to upgrade from struts 1.1 to 1.3 . so , can any one please help me with a step by step method Here are links to notes that the community has contributed on upgrading from/to various versions: http://wiki.apache.org/struts/StrutsUpgrade -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Struts 1.1 EL error moving to Servlet 2.4
I've had quite a few issues with EL moving from Servlet 2.3 to 2.4 (JBOSS 4.0 to 4.2). I have worked out my straight JSTL issues by changing my taglib definitions, but my struts tags that use EL are not working correctly. This project started out using Struts 1.1 then I added the struts-el.jar to allow for EL in my struts tags. This all worked great until my recent upgrade. I get the infamous message: According to TLD or attribute directive in tag file, attribute value does not accept any expressions. More specifically I get: According to TLD or attribute directive in tag file, attribute arg0 does not accept any expressions. I get this for the following code: bean-el:message key=message.url arg0=city/savesearchform.exe?city=${city}county=${county}state=${state}/ The details of the above don't really matter, but it is obvious that the new version of the servlet spec I am running does not like the use of expressions. The old version ran under Servlet 2.3, JSTL 1.0 and JSP 1.2 The new version runs under Servlet 2.4, JSTL 1.1 and JSP 2.0 Any advice would be great. I'm hoping not to have to change my struts libs as I am concerned about moving from 1.1 to 1.3. Thanks Jim Kennedy
Struts 1.1 To Struts2.x Migration
Hi Friends, I am working on a project which is set to migrate from struts1.1 to struts2.x. can anyone send me any links or information about migration strategies from which i can briefly get an idea of migration especially from *Struts1.1 to Struts2.x.* Thanks And Regards Zaheer Mohammad
Re: Struts 1.1 To Struts2.x Migration
do you know the migration guide from struts2 wiki? http://struts.apache.org/2.x/docs/migration-guide.html Best Regards Johannes Geppert Zaheer Mohammad wrote: Hi Friends, I am working on a project which is set to migrate from struts1.1 to struts2.x. can anyone send me any links or information about migration strategies from which i can briefly get an idea of migration especially from *Struts1.1 to Struts2.x.* Thanks And Regards Zaheer Mohammad - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26529148.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 1.1 To Struts2.x Migration
I suggest first try to migrate a small project to 2.1 from 1.x and then move to your production application. If you want a sample 2.1 application, you can get it here http://code.google.com/p/startsoft/ (It has some bugs) On Thu, Nov 26, 2009 at 6:02 PM, Johannes Geppert jo...@web.de wrote: do you know the migration guide from struts2 wiki? http://struts.apache.org/2.x/docs/migration-guide.html Best Regards Johannes Geppert Zaheer Mohammad wrote: Hi Friends, I am working on a project which is set to migrate from struts1.1 to struts2.x. can anyone send me any links or information about migration strategies from which i can briefly get an idea of migration especially from *Struts1.1 to Struts2.x.* Thanks And Regards Zaheer Mohammad - --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26529148.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Saeed Iqbal CEO http://www.iqbalconsulting.com Struts - J2EE - Application Architects and Developers
using struts 1.1
javax.servlet.jsp.JspException at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:164) at _drlmEditProfileSelect._jspService(_drlmEditProfileSelect.java:66) [SRC:/drlmEditProfileSelect.jsp:4] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) i get the above error .i am using struts 1.1 please note that i cannot chage to tiles as this is an application running in production right now the jsp uses templates. any help is highly appreciated Thanks Sabriz
Re: Tomcat 6.0 + struts 1.1 = are they compatible?
Did you ever get an answer to your question? What does one need to do to migrate an existing jsp project(struts 1.1) to Tomcat 6? ojasrege wrote: We have a web jsp project that we are upgrading to Tomcat 6.0. We have run into a few technical errors, and so I'm wondering whether or not there are any issues in moving a struts 1.1 project to Tomcat 6.0. Does anyone know if there is anything that I'll have to rework to move to tomcat 6.0? -- View this message in context: http://www.nabble.com/Tomcat-6.0-%2B-struts-1.1-%3D%3E-are-they-compatible--tp13635488p17407832.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 6.0 + struts 1.1 = are they compatible?
Why wouldn't they be compatible? On Thu, May 22, 2008 at 11:17 AM, jklcom99 [EMAIL PROTECTED] wrote: Did you ever get an answer to your question? What does one need to do to migrate an existing jsp project(struts 1.1) to Tomcat 6? ojasrege wrote: We have a web jsp project that we are upgrading to Tomcat 6.0. We have run into a few technical errors, and so I'm wondering whether or not there are any issues in moving a struts 1.1 project to Tomcat 6.0. Does anyone know if there is anything that I'll have to rework to move to tomcat 6.0? -- View this message in context: http://www.nabble.com/Tomcat-6.0-%2B-struts-1.1-%3D%3E-are-they-compatible--tp13635488p17407892.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 6.0 + struts 1.1 = are they compatible?
It's complaining java.lang.NoClassDefFoundError: javax/el/ExpressionFactory. Not sure if it's related. Paul Benedict-2 wrote: Why wouldn't they be compatible? Did you ever get an answer to your question? What does one need to do to migrate an existing jsp project(struts 1.1) to Tomcat 6? ojasrege wrote: We have a web jsp project that we are upgrading to Tomcat 6.0. We have run into a few technical errors, and so I'm wondering whether or not there are any issues in moving a struts 1.1 project to Tomcat 6.0. Does anyone know if there is anything that I'll have to rework to move to tomcat 6.0? -- View this message in context: http://www.nabble.com/Tomcat-6.0-%2B-struts-1.1-%3D%3E-are-they-compatible--tp13635488p17407892.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Tomcat-6.0-%2B-struts-1.1-%3D%3E-are-they-compatible--tp13635488p17408649.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 6.0 + struts 1.1 = are they compatible?
2008/5/22 jklcom99 [EMAIL PROTECTED]:. It's complaining java.lang.NoClassDefFoundError: javax/el/ExpressionFactory. Not sure if it's related. Probably you are using Struts EL tags. Simply don't use them, use non-EL tags instead, EL expression will work anyway because Tomcat (as every JSP 2.x does) understands them. Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to implement ajax in struts 1.1
If you know how to use AJAX in general websites, its not much of difficulty to implement AJAX in struts. Just include action while sending request to server. like req.open(GET, someaction.do, true); where req is HttpXmlRequest Object. Rest you can get the data as manipulate as usual. On Thu, Mar 13, 2008 at 5:07 PM, Raghu varma bhupathiraju [EMAIL PROTECTED] wrote: Hi friends Can any one tell me how to implement ajax in struts 1.1 with simple example.Can any one provide complete code for that. Thanks in advance Raghu Varma Bhupathiraju -- View this message in context: http://www.nabble.com/How-to-implement-ajax-in-struts-1.1-tp16024761p16024761.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to implement ajax in struts 1.1
Also you can use different frameworks like DWR, GWT . etc, Please visit: http://wiki.apache.org/struts/AjaxStruts On Thu, Mar 13, 2008 at 5:07 PM, Raghu varma bhupathiraju [EMAIL PROTECTED] wrote: Hi friends Can any one tell me how to implement ajax in struts 1.1 with simple example.Can any one provide complete code for that. Thanks in advance Raghu Varma Bhupathiraju -- View this message in context: http://www.nabble.com/How-to-implement-ajax-in-struts-1.1-tp16024761p16024761.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to implement ajax in struts 1.1
Hi friends Can any one tell me how to implement ajax in struts 1.1 with simple example.Can any one provide complete code for that. Thanks in advance Raghu Varma Bhupathiraju -- View this message in context: http://www.nabble.com/How-to-implement-ajax-in-struts-1.1-tp16024761p16024761.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to implement ajax in struts 1.1
--- Raghu varma bhupathiraju [EMAIL PROTECTED] wrote: Can any one tell me how to implement ajax in struts 1.1 with simple example. Can any one provide complete code for that. ... You'd have to provide a somewhat less-nebulous requirement. There are dozens of ways to implement Ajax in Struts 1.1. I would start by (1) refining your requirement and (2) using Google or other web search engine. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: DailyRollingFileAppender for a Struts Web Application using WAS 6.0 and Struts 1.1
Hi, all. Is there a way to set a DailyRollingFileAppender outside of a log4j.properties in a struts application? My company’s website is running in a mainfame environment with multiple WAS instances for each region ie., development, test, and production. This type of architecture requires my log file to be environment specific i.e. /temp/dev/log or /temp/prod/log. I could have a log4j.properties for each environment, but don’t really feel good about that approach. I’ve created a StartUp plugin that will create a log file using a variable defined as a WAS Resource Environment Entry. The plugin reads the variable and thus creates and names the log file appropriately. I have yet to figure out how to instantiate a DailyRollingFileAppender that will roll this file and create a new log at the beginning of each day. Thanks, Paula Private and confidential as detailed here. If you cannot access hyperlink, please e-mail sender. _ Need to know the score, the latest news, or you need your Hotmail®-get your fix. http://www.msnmobilefix.com/Default.aspx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: DailyRollingFileAppender for a Struts Web Application using WAS 6.0 and Struts 1.1
I think that's more of a Log4j configuration question (i.e. how to configure a Log4j appender dynamically during webapp startup). As such, you might be better off asking on a Log4j-specific list. L. Paula McDowell wrote: Hi, all. Is there a way to set a DailyRollingFileAppender outside of a log4j.properties in a struts application? My company’s website is running in a mainfame environment with multiple WAS instances for each region ie., development, test, and production. This type of architecture requires my log file to be environment specific i.e. /temp/dev/log or /temp/prod/log. I could have a log4j.properties for each environment, but don’t really feel good about that approach. I’ve created a StartUp plugin that will create a log file using a variable defined as a WAS Resource Environment Entry. The plugin reads the variable and thus creates and names the log file appropriately. I have yet to figure out how to instantiate a DailyRollingFileAppender that will roll this file and create a new log at the beginning of each day. Thanks, Paula Private and confidential as detailed here. If you cannot access hyperlink, please e-mail sender. _ Need to know the score, the latest news, or you need your Hotmail®-get your fix. http://www.msnmobilefix.com/Default.aspx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts 1.1 Archived Website link broken
On this page: http://struts.apache.org/downloads.html#PriorReleases The Struts 1.1 website link is wrong. It links to: http://struts.apache.org/1.1/index.htm It should link to (note .html instead of .htm): http://struts.apache.org/1.1/index.html Could someone please fix this? If I should enter this in JIRA, do let me know. Thanks! -- View this message in context: http://www.nabble.com/Struts-1.1-Archived-Website-link-broken-tf4843948.html#a13858401 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 1.1 Archived Website link broken
2007/11/20, pmularien [EMAIL PROTECTED]: On this page: http://struts.apache.org/downloads.html#PriorReleases The Struts 1.1 website link is wrong. It links to: http://struts.apache.org/1.1/index.htm It should link to (note .html instead of .htm): http://struts.apache.org/1.1/index.html Could someone please fix this? If I should enter this in JIRA, do let me know. Thanks! Committed the change, you will see it in the next site deploy. Thanks for the report! Antonio
Re: Struts 1.1 Archived Website link broken
That was fast -- thank you :) Antonio Petrelli-3 wrote: Committed the change, you will see it in the next site deploy. Thanks for the report! Antonio -- View this message in context: http://www.nabble.com/Struts-1.1-Archived-Website-link-broken-tf4843948.html#a13859453 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 6.0 + struts 1.1 = are they compatible?
We have a web jsp project that we are upgrading to Tomcat 6.0. We have run into a few technical errors, and so I'm wondering whether or not there are any issues in moving a struts 1.1 project to Tomcat 6.0. Does anyone know if there is anything that I'll have to rework to move to tomcat 6.0? -- View this message in context: http://www.nabble.com/Tomcat-6.0-%2B-struts-1.1-%3D%3E-are-they-compatible--tf4767201.html#a13635488 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with findForward(null) (Struts 1.1)
Himstedt, Maik (EXTERN: T-Systems on) wrote: return findForward(null); This might work, but IIRC you should just return null if you're handling the result yourself. Debug shows that the code in the action method is executed, but the browser shows an empty page after executing the action. You've submitted a form--this is standard browser behavior. If you want to submit a form without refreshing the entire page you'd probably want to use Ajax. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with findForward(null) (Struts 1.1)
2007/10/24, Himstedt, Maik (EXTERN: T-Systems on) [EMAIL PROTECTED]: return findForward(null); ... Debug shows that the code in the action method is executed, but the browser shows an empty page after executing the action. I would expect that simple nothing would happen (as the real download functionality/the response) isn't implemented yet. It's perfectly normal! Since you are forwarding to nothing, a response MUST be sent to the client, and it is a default response (no content, but the HTTP headers are present). To be more precise, I'd expect the browser to show the search mask and the result still. Do you mean that you expected that the original page is still present after that request? This is true, if the file is not HTML, plain text, and other formats that are directly interpretable by the browser. If you put in the response, say, a zip file, your browser will ask you to save/open it (possibly you have to set the Content-disposition HTTP header parameter). Antonio
Re[2]: Strange problem after upgrading from struts 1.1 to 1.3.8
Hello, P It is part of the HTML spec that disabled fields are not submitted in the P request. This is not a Struts thing but HTML. You should make sure the HTML P is being rendered the same, because that's probably what is causing your P problem. Hmm, I thought it might be like this. I'm just wondering why struts 1.1 is submitting the data. I don't know why my application is relying on that, but it does (it's a bit old). Hmm, now I need to find a work-around.. Is there a way to pass model attributes through the form without the user seeing it (or having the possibility to alter them like the hidden form fields)? Thanks! Arne P On 9/17/07, Arne Brutschy [EMAIL PROTECTED] wrote: Hi, A I'm not sure if the reason for this is some change in the tags (my A tags are simply wrappers around the standard struts tags, ie. A XylonTextTag extends TextTag) or the changes in the request wrapper A system. I tried to set A controller A processorClass=org.apache.struts.action.RequestProcessor / A in the struts config as well, but no change. After debugging hours through tomcat code, I'm sure the Request processor is not the problem. At least, as soon as the request hits the action servlet, the postdata contains only the described parameters and not the ones the user couldn't write to. So I guess it's been some change in the tags or something else.. I will continue tomorrow... Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Arne BrutschyM ++49-170-7568918 Kantstr. 35 @ [EMAIL PROTECTED] 04275 Leipzig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: Strange problem after upgrading from struts 1.1 to 1.3.8
Hi, I just found out that the postdata didn't contain the attributes as well when using struts 1.1. So nothing changed here. But when I get at the beginning of the UserDispatchAction.update(), the dynaform has all values filled in. So I'm wondering where struts fills in the data, and why it doesn't do it anymore in 1.3.8 Arne Paul Benedict wrote: P It is part of the HTML spec that disabled fields are not submitted in the P request. This is not a Struts thing but HTML. You should make sure the HTML P is being rendered the same, because that's probably what is causing your P problem. P Paul P On 9/17/07, Arne Brutschy [EMAIL PROTECTED] wrote: Hi, A I'm not sure if the reason for this is some change in the tags (my A tags are simply wrappers around the standard struts tags, ie. A XylonTextTag extends TextTag) or the changes in the request wrapper A system. I tried to set A controller A processorClass=org.apache.struts.action.RequestProcessor / A in the struts config as well, but no change. After debugging hours through tomcat code, I'm sure the Request processor is not the problem. At least, as soon as the request hits the action servlet, the postdata contains only the described parameters and not the ones the user couldn't write to. So I guess it's been some change in the tags or something else.. I will continue tomorrow... Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Arne BrutschyM ++49-170-7568918 Kantstr. 35 @ [EMAIL PROTECTED] 04275 Leipzig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[3]: Strange problem after upgrading from struts 1.1 to 1.3.8
Hi, I'm just thinking aloud, so perhaps someone can drop-in and shed some light here... :) Post data send by browser is identical on both versions (old: struts 1.1 and new: struts 1.3.8). It contains only the displayed parameters, nothing else. So in the old version, when the request arrives at ActionServlet.process(), _all_ parameters and values of the DynaActionform are in the HttpServletRequest included. In the new version, there's a CoyoteRequest object, which hold only the submitted parameters. I wonder what happens before the process() method? I through the servlet container calls this directly? What method sets the other parameter/value pairs in the request? confused, Arne A I just found out that the postdata didn't contain the attributes as A well when using struts 1.1. So nothing changed here. But when I get at A the beginning of the UserDispatchAction.update(), the dynaform has all A values filled in. So I'm wondering where struts fills in the data, and A why it doesn't do it anymore in 1.3.8 A Arne A Paul Benedict wrote: P It is part of the HTML spec that disabled fields are not submitted in the P request. This is not a Struts thing but HTML. You should make sure the HTML P is being rendered the same, because that's probably what is causing your P problem. P Paul P On 9/17/07, Arne Brutschy [EMAIL PROTECTED] wrote: Hi, A I'm not sure if the reason for this is some change in the tags (my A tags are simply wrappers around the standard struts tags, ie. A XylonTextTag extends TextTag) or the changes in the request wrapper A system. I tried to set A controller A processorClass=org.apache.struts.action.RequestProcessor / A in the struts config as well, but no change. After debugging hours through tomcat code, I'm sure the Request processor is not the problem. At least, as soon as the request hits the action servlet, the postdata contains only the described parameters and not the ones the user couldn't write to. So I guess it's been some change in the tags or something else.. I will continue tomorrow... Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Arne BrutschyM ++49-170-7568918 Kantstr. 35 @ [EMAIL PROTECTED] 04275 Leipzig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[2]: Strange problem after upgrading from struts 1.1 to 1.3.8
--- Arne Brutschy [EMAIL PROTECTED] wrote: But when I get at the beginning of the UserDispatchAction.update(), the dynaform has all values filled in. With what? Something in your application is pre-loading the dynaform with reasonable values, no? I don't really remember S1.1 at this point; do you have a filter, request processor, action controller, etc. other than the default? d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[2]: Strange problem after upgrading from struts 1.1 to 1.3.8
--- Arne Brutschy [EMAIL PROTECTED] wrote: But when I get at the beginning of the UserDispatchAction.update(), the dynaform has all values filled in. With what? Something in your application is pre-loading the dynaform with reasonable values, no? I don't really remember S1.1 at this point; do you have a filter, request processor, action controller, etc. other than the default? d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[4]: Strange problem after upgrading from struts 1.1 to 1.3.8
Hi, D With what? Well, that was what I was asking myself. :) Problem is, the app hasn't been touched since 4 years. So I kind of re-engineering here. D Something in your application is pre-loading the D dynaform with reasonable values, no? I don't really D remember S1.1 at this point; do you have a filter, D request processor, action controller, etc. other than D the default? Yes, as it turns out, I'm using a request filter defined in the web.xml for the actions. It looks up the actions, fetches the original bean of the form, and checks for every submitted request parameter if the user has access. If yes, it replaces the attribute with the new values, if not, the change will be discarded. I'm currently trying to find out why the request filter doesn't work anymore. I thought this is not connected to the new request processor, as it's defined in the web.xml outside of struts. And I'm using the old request processor in the struts-config.xml: controller processorClass=org.apache.struts.action.RequestProcessor / The only change I made to the filter was replacing public HttpServletRequest getRequest() by public ServletRequest getRequest() Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[5]: Strange problem after upgrading from struts 1.1 to 1.3.8 (RequestWrappers not working anymore?)
Hi, I used to filter the request parameters of certain actions. It works like this: the original bean is stored in the session. When the user hits update, the filter replaces the paramters submitted by the user with the original ones. Then, it replaces or deletes the values the user has changed and has access to. In that way I always end up with a valid bean... I'm using a requestwrapper, as the parameter map of the original request isn't writable. My problem is now that as soon as the wrapper is used to encapsulate the request, the action mapping isn't working anymore. So after the user hits update, he returns to the start page (but he should be redirected to the UserDispatchAction). I thought about reimplementing my filters as chain commands, but that would be alot of trouble... And it doesn't help with the non-writeable parameter map. Any ideas why the request wrappers aren't working anymore? Arne Struts Users Mailing List wrote: D Something in your application is pre-loading the D dynaform with reasonable values, no? I don't really D remember S1.1 at this point; do you have a filter, D request processor, action controller, etc. other than D the default? A Yes, as it turns out, I'm using a request filter defined in the A web.xml for the actions. It looks up the actions, fetches the original A bean of the form, and checks for every submitted request parameter if A the user has access. If yes, it replaces the attribute with the new A values, if not, the change will be discarded. A I'm currently trying to find out why the request filter doesn't work A anymore. I thought this is not connected to the new request processor, A as it's defined in the web.xml outside of struts. And I'm using the A old request processor in the struts-config.xml: A controller A processorClass=org.apache.struts.action.RequestProcessor / A The only change I made to the filter was replacing A public HttpServletRequest getRequest() A by A public ServletRequest getRequest() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Strange problem after upgrading from struts 1.1 to 1.3.8
Hello, I'm experiencing a strange problem after upgrading from struts 1.1 to 1.3.8. Perhaps the problem is known or expected, I haven't found a solution yet. Basic structure: setupUser.dofills in the form for a user profile user.jspdisplays the user profile form editUser.do dispatches to UserDispatchAction Most of the stuff is quite forward, except that I'm using custom tags to display the form. The tags check the current users group memberships and display or do not display the appropriate input element. Example: there are checkboxes for users access rights. If the current user is in the admin group, the boxes get displayed. If the user is not (ie. the user is editing his own profile to change the password) these input elements aren't displayed. After the user hits the update button, the data get's forwarded to UserDispatchAction.update(), where I copy it to the model and update the backend. My problem is now: before the upgrade, _every_ attribute/value paris were included in the request, even the ones the user couldn't edit. Now, after the upgrate, only the editable attributes (the ones which had input elements in the form) are transported. The result is, that I'm ending up with a corrupted model because half of the attributes are missing. Everything works fine, if an administrator submits the form (because every attribute has an input element displayed). When a normal user is submitting the form, all elements are listed in the DynaForm object, but are set to null. I'm not sure if the reason for this is some change in the tags (my tags are simply wrappers around the standard struts tags, ie. XylonTextTag extends TextTag) or the changes in the request wrapper system. I tried to set controller processorClass=org.apache.struts.action.RequestProcessor / in the struts config as well, but no change. BTW, I followed every step from http://wiki.apache.org/struts/StrutsUpgrade for the upgrade. And I'm using tomcat 5.0.28... Regards, Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange problem after upgrading from struts 1.1 to 1.3.8
Hi, A I'm not sure if the reason for this is some change in the tags (my A tags are simply wrappers around the standard struts tags, ie. A XylonTextTag extends TextTag) or the changes in the request wrapper A system. I tried to set A controller A processorClass=org.apache.struts.action.RequestProcessor / A in the struts config as well, but no change. After debugging hours through tomcat code, I'm sure the Request processor is not the problem. At least, as soon as the request hits the action servlet, the postdata contains only the described parameters and not the ones the user couldn't write to. So I guess it's been some change in the tags or something else.. I will continue tomorrow... Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange problem after upgrading from struts 1.1 to 1.3.8
It is part of the HTML spec that disabled fields are not submitted in the request. This is not a Struts thing but HTML. You should make sure the HTML is being rendered the same, because that's probably what is causing your problem. Paul On 9/17/07, Arne Brutschy [EMAIL PROTECTED] wrote: Hi, A I'm not sure if the reason for this is some change in the tags (my A tags are simply wrappers around the standard struts tags, ie. A XylonTextTag extends TextTag) or the changes in the request wrapper A system. I tried to set A controller A processorClass=org.apache.struts.action.RequestProcessor / A in the struts config as well, but no change. After debugging hours through tomcat code, I'm sure the Request processor is not the problem. At least, as soon as the request hits the action servlet, the postdata contains only the described parameters and not the ones the user couldn't write to. So I guess it's been some change in the tags or something else.. I will continue tomorrow... Arne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple application-resource property files in struts 1.1
I have several struts-config-xml files .I mapped them in my web.xml. Each struts-config has its own application-resources. Action servlet mapping in web.xml servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet/servlet-class init-param param-nameconfig/param-name param-value /WEB-INF/struts-config-default.xml, /WEB-INF/struts-config-module-1.xml, /WEB-INF/ struts-config-module-2.xml, /param-value /init-param init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namedetail/param-name param-value0/param-value /init-param load-on-startup1/load-on-startup /servlet Each of the struts-config files has message-resources message-resources parameter=struts-application-services/message-resources from struts-config-default.xml message-resources parameter=struts-application-services-module-1/message-resources from struts-config-module-1.xml message-resources parameter=struts-application-services-module-2/message-resources from struts-config-module-2.xml My problem is Action servlet is loading properties only from struts-application-services-module-2 (from the last property file it receives) How can I have Action servlet load all properties from all property files ? Miro - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
Re: Struts 1.1 multiple modules and application resources
Why are you using modules? You could just have one module with multiple configuration files. On 8/20/07, temp temp [EMAIL PROTECTED] wrote: My application has several modules (several struts-config files )and each module has its own application.resources files. How to handle multiple application.resource files ? Sairam - Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search.
Re: Multiple application-resource property files in struts 1.1
I see you are not using modules. That's good. Your problem is caused by not providing different aliases for the 3 MessageResources. Use the name attribute to fix this. One is the default, the other should have names. On 8/21/07, temp temp [EMAIL PROTECTED] wrote: I have several struts-config-xml files .I mapped them in my web.xml. Each struts-config has its own application-resources. Action servlet mapping in web.xml servlet servlet-nameaction/servlet-name servlet-classorg.apache.struts.action.ActionServlet /servlet-class init-param param-nameconfig/param-name param-value /WEB-INF/struts-config-default.xml, /WEB-INF/struts-config-module-1.xml, /WEB-INF/ struts-config-module-2.xml, /param-value /init-param init-param param-namedebug/param-name param-value0/param-value /init-param init-param param-namedetail/param-name param-value0/param-value /init-param load-on-startup1/load-on-startup /servlet Each of the struts-config files has message-resources message-resources parameter=struts-application-services/message-resources from struts-config-default.xml message-resources parameter=struts-application-services-module-1/message-resources from struts-config-module-1.xml message-resources parameter=struts-application-services-module-2/message-resources from struts-config-module-2.xml My problem is Action servlet is loading properties only from struts-application-services-module-2 (from the last property file it receives) How can I have Action servlet load all properties from all property files ? Miro - Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
Struts 1.1 multiple modules and application resources
My application has several modules (several struts-config files )and each module has its own application.resources files. How to handle multiple application.resource files ? Sairam - Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search.
Re: Issues with migration from struts 1.1. to 1.2.9
On 6/30/07, pavan reddy [EMAIL PROTECTED] wrote: Thanks Wendy But I followed the struts upgrade steps The problem here is with tiles plugin this my code in struts-config.xml plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml / set-property property=definitions-debug value=0 / set-property property=definitions-parser-details value=0 / set-property property=definitions-parser-validate value=true / //even tried making this attribute false /plug-in and in tiles-def.xml the doc type is !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration//EN http://struts.apache.org/dtds/tiles-config_1_1.dtd; // tried just giving tiles-config_1_1.dtd it throws parser exception or tries to serach for .dtd in some other location and says not found The dtd def at the top of your tiles-def.xml is wrong - you have specified the Tiles 1.0 public identifier - with the URL for the Tiles 1.1 dtd - try the following: !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 1.1//EN http://struts.apache.org/dtds/tiles-config_1_1.dtd; Niall error org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. struts.apache.org at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:446) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:263) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:238) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:188) at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:102) at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:136) at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:165) at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:222) at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336) at javax.servlet.GenericServlet.init(GenericServlet.java:258) Thanks Pavan - Original Message From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, 30 June, 2007 9:57:53 AM Subject: Re: Issues with migration from struts 1.1. to 1.2.9 On 6/30/07, pavan reddy [EMAIL PROTECTED] wrote: I have issues with moving from different strtuts version with tiles plugin in tiles-def.xml the doc type seems to raise an xml parse error i tried moving the tiles dtd file to web-inf and pointing it to it but didnt help much, any clues on it thanks in advance Have you reviewed the community maintained upgrade notes? http://wiki.apache.org/struts/StrutsUpgrade -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Issues with migration from struts 1.1. to 1.2.9
Hello Everyone, I have issues with moving from different strtuts version with tiles plugin in tiles-def.xml the doc type seems to raise an xml parse error i tried moving the tiles dtd file to web-inf and pointing it to it but didnt help much, any clues on it thanks in advance Pavan __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
Re: Issues with migration from struts 1.1. to 1.2.9
On 6/30/07, pavan reddy [EMAIL PROTECTED] wrote: I have issues with moving from different strtuts version with tiles plugin in tiles-def.xml the doc type seems to raise an xml parse error i tried moving the tiles dtd file to web-inf and pointing it to it but didnt help much, any clues on it thanks in advance Have you reviewed the community maintained upgrade notes? http://wiki.apache.org/struts/StrutsUpgrade -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issues with migration from struts 1.1. to 1.2.9
Thanks Wendy But I followed the struts upgrade steps The problem here is with tiles plugin this my code in struts-config.xml plug-in className=org.apache.struts.tiles.TilesPlugin set-property property=definitions-config value=/WEB-INF/tiles-defs.xml / set-property property=definitions-debug value=0 / set-property property=definitions-parser-details value=0 / set-property property=definitions-parser-validate value=true / //even tried making this attribute false /plug-in and in tiles-def.xml the doc type is !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration//EN http://struts.apache.org/dtds/tiles-config_1_1.dtd; // tried just giving tiles-config_1_1.dtd it throws parser exception or tries to serach for .dtd in some other location and says not found error org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. struts.apache.org at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFiles(I18nFactorySet.java:446) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDefaultFactory(I18nFactorySet.java:263) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:238) at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFactory(I18nFactorySet.java:188) at org.apache.struts.tiles.definition.ComponentDefinitionsFactoryWrapper.init(ComponentDefinitionsFactoryWrapper.java:102) at org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory(TilesUtilImpl.java:136) at org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(TilesUtil.java:165) at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:222) at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336) at javax.servlet.GenericServlet.init(GenericServlet.java:258) Thanks Pavan - Original Message From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Saturday, 30 June, 2007 9:57:53 AM Subject: Re: Issues with migration from struts 1.1. to 1.2.9 On 6/30/07, pavan reddy [EMAIL PROTECTED] wrote: I have issues with moving from different strtuts version with tiles plugin in tiles-def.xml the doc type seems to raise an xml parse error i tried moving the tiles dtd file to web-inf and pointing it to it but didnt help much, any clues on it thanks in advance Have you reviewed the community maintained upgrade notes? http://wiki.apache.org/struts/StrutsUpgrade -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/
error on struts 1.1
hi, on this pg of struts 1.1 documentation, http://localhost/struts-documentation/userGuide/installation.html (don't know on-line equiv. of this page, as link to 1.1 on this page http://struts.apache.org/downloads.html#PriorReleases gets you a 404..) it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's and where do they go? I don't see any ref to dtd's in the documenation.. right now trying to do a simple layout.. (so: using only tiles-related stuff for now..) but get error: org.apache.jasper.JasperException org.apache.struts.tiles.taglib.InsertTag org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) this error tells me absolutely nothing.. in JSP's I have this directive: %@ taglib uri=/WEB-INF/struts-tiles.tld prefix=tiles % as for the rest, I put all jars that come with 1.1 download in WEB-INF/lib/ (don't see a lot of struts-related jars, though, only one (struts.jar); put all tld's in WEB-INF/... but don't know where to put dtd's, (in their own folder? inside WEB-INF/ or inside WEB-INF/lib?? or just in WEB-INF/?) why can't I find a ref to dtd's -- and an explanation as to what they are for -- in documenation? using Tomcat 5.5.. thank you very much... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is the first result: http://www.w3schools.com/dtd/default.asp and where do they go? I don't see any ref to dtd's in the documenation.. You don't have to worry about DTDs, since they are already included in Struts package. DTDs are needed when validating XML files. In your case they are needed to validate Tiles configuration files. right now trying to do a simple layout.. (so: using only tiles-related stuff for now..) but get error: org.apache.jasper.JasperException org.apache.struts.tiles.taglib.InsertTag org.apache.jasper.servlet.JspServletWrapper.handleJspException( JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) This is another problem, please check if your Tiles definitions are loaded correctly at startup. And anyway you should post the complete stacktrace. why can't I find a ref to dtd's -- and an explanation as to what they are for -- in documenation? What DTDs are you referring to? Antonio
Re: error on struts 1.1
--- maya [EMAIL PROTECTED] wrote: what are dtd's and where do they go? They're XML document type definitions. They shouldn't need to go anywhere, although it's been a *long* time since I've thought about S1.1. org.apache.struts.tiles.taglib.InsertTag this error tells me absolutely nothing.. It tells you there's an exception in a tiles:insert tag. Exceptions thrown from inside tiles can sometimes be difficult to diagnose, as you are discovering. Lots of logging can help. why can't I find a ref to dtd's -- and an explanation as to what they are for -- in documenation? I don't know, but probably because they're a fundamental XML thing and only Struts-related in the sense that there are DTDs for the Struts config files. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
Antonio Petrelli wrote: 2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is the first result: http://www.w3schools.com/dtd/default.asp and where do they go? I don't see any ref to dtd's in the documenation.. You don't have to worry about DTDs, since they are already included in Struts package. DTDs are needed when validating XML files. In your case they are needed to validate Tiles configuration files. right now trying to do a simple layout.. (so: using only tiles-related stuff for now..) but get error: org.apache.jasper.JasperException org.apache.struts.tiles.taglib.InsertTag org.apache.jasper.servlet.JspServletWrapper.handleJspException( JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) This is another problem, please check if your Tiles definitions are loaded correctly at startup. And anyway you should post the complete stacktrace. why can't I find a ref to dtd's -- and an explanation as to what they are for -- in documenation? What DTDs are you referring to? all the ones that come w/download... ok, downloaded 1.3.8.. (can't find url to download 1.3.5..) gosh, every version has a problem.. on this one can't find documentation.. has to be built w/maven.. have never used maven, only Ant.. man, what a pain, I swear... what do I need to do to build documentation with maven? oh brother... why can't all downloads come with documentation built already? it's just a bunch of html files Antonio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
--- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
Antonio Petrelli wrote: 2007/5/7, maya [EMAIL PROTECTED]: hi, on this pg of struts 1.1 documentation, Time to upgrade I suppose :-) 2007/5/7, maya [EMAIL PROTECTED]: it says where to put jar's, tld's, etc.. but not dtd's... what are dtd's I went to Google and typed dtd, this is the first result: http://www.w3schools.com/dtd/default.asp and where do they go? I don't see any ref to dtd's in the documenation.. You don't have to worry about DTDs, since they are already included in Struts package. DTDs are needed when validating XML files. In your case they are needed to validate Tiles configuration files. right now trying to do a simple layout.. (so: using only tiles-related stuff for now..) but get error: org.apache.jasper.JasperException org.apache.struts.tiles.taglib.InsertTag org.apache.jasper.servlet.JspServletWrapper.handleJspException( JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java :377) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) This is another problem, please check if your Tiles definitions are loaded correctly at startup. And anyway you should post the complete stacktrace. why can't I find a ref to dtd's -- and an explanation as to what they are for -- in documenation? What DTDs are you referring to? Antonio here is page for 1.3.5.. http://struts.apache.org/1.3.5/index.html where is link for download? (need a version that comes with documentation built already..) thank you... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com nope, not with 1.3.8.. with this version you have to build it yourself... http://struts.apache.org/1.3.8/learning.html I seem to remember 1.3.5 comes with documentation built already, but can't find link to download 1.3.5 thank you for yr response - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
Weird; I just downloaded 1.3.8-all and all the docs are in the docs directory for me. --- maya [EMAIL PROTECTED] wrote: Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com nope, not with 1.3.8.. with this version you have to build it yourself... http://struts.apache.org/1.3.8/learning.html I seem to remember 1.3.5 comes with documentation built already, but can't find link to download 1.3.5 thank you for yr response - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
my gosh, you are right hmm.. interesting.. ok, so I need to know certain basic things.. I assume general rule, regardless of version, is jars always go in WEB-INF/lib, tld's, go in WEB-INF/.. but couldn't find tld's, so searched for them.. found them in different directories, some in src/taglib/src/main/resources/META-INF/tld, some in src/el/src/main/resources/META-INF/tld.. this is a bit confusing.. why don't they just put all tld's together? it doesn't say anyting in this pg, http://struts.apache.org/1.3.8/userGuide/installation.html as far where to put tld's.. I assume tld's always go in WEB-INF/.. is this correct? (I just downloaded struts-1.3.8-lib.zip, doesn't even come with tld's.. how is this possible? tld's are always needed, aren't they? simplest would be a folder called 'tld' w/all tld's in there.. gosh, this is a bit messy, not sure what tld's will need.. from all the different tld's I found in diff folders in src version... same thing w/dtd's -- are they needed? if so where do they go? and which ones do I need? when search for dtd's in src download find a million of them, in different folders... oh brother... thank you... Dave Newton wrote: Weird; I just downloaded 1.3.8-all and all the docs are in the docs directory for me. --- maya [EMAIL PROTECTED] wrote: Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com nope, not with 1.3.8.. with this version you have to build it yourself... http://struts.apache.org/1.3.8/learning.html I seem to remember 1.3.5 comes with documentation built already, but can't find link to download 1.3.5 thank you for yr response - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: error on struts 1.1
--- maya [EMAIL PROTECTED] wrote: (I just downloaded struts-1.3.8-lib.zip, doesn't even come with tld's.. how is this possible? TLDs can be in JARs. same thing w/dtd's -- are they needed? In general, no. hen search for dtd's in src download find a million of them, in different folders... Why are you dealing with the source? Are you specifically trying to modify/compile/etc. from the source? If not, just use the binary distro. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Re: error on struts 1.1
You don't need to store tld files anywhere. They are already stored inside the taglib jar file (like struts.jar). You also don't need the taglib elements in your web.xml. The uri element in the taglib directive in your JSP should reference the standard URI associated with each taglib (which you can see if you open up the taglib jar file and read the TLD file, finding the uri element). -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya Sent: Monday, May 07, 2007 10:10 AM To: user@struts.apache.org Subject: Re: error on struts 1.1 my gosh, you are right hmm.. interesting.. ok, so I need to know certain basic things.. I assume general rule, regardless of version, is jars always go in WEB-INF/lib, tld's, go in WEB-INF/.. but couldn't find tld's, so searched for them.. found them in different directories, some in src/taglib/src/main/resources/META-INF/tld, some in src/el/src/main/resources/META-INF/tld.. this is a bit confusing.. why don't they just put all tld's together? it doesn't say anyting in this pg, http://struts.apache.org/1.3.8/userGuide/installation.html as far where to put tld's.. I assume tld's always go in WEB-INF/.. is this correct? (I just downloaded struts-1.3.8-lib.zip, doesn't even come with tld's.. how is this possible? tld's are always needed, aren't they? simplest would be a folder called 'tld' w/all tld's in there.. gosh, this is a bit messy, not sure what tld's will need.. from all the different tld's I found in diff folders in src version... same thing w/dtd's -- are they needed? if so where do they go? and which ones do I need? when search for dtd's in src download find a million of them, in different folders... oh brother... thank you... Dave Newton wrote: Weird; I just downloaded 1.3.8-all and all the docs are in the docs directory for me. --- maya [EMAIL PROTECTED] wrote: Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com nope, not with 1.3.8.. with this version you have to build it yourself... http://struts.apache.org/1.3.8/learning.html I seem to remember 1.3.5 comes with documentation built already, but can't find link to download 1.3.5 thank you for yr response - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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]
Re: Re: error on struts 1.1
What an email chain!! So much speak, so little investigation There is an all jar which contains everything (libraries, source, documentation, etc.) and also a doc jar which contains only the documentation. Also Struts 1.3 does not need the TLD files as separate entities; they are included inside the struts jars so you don't have to mess with them. Paul On 5/7/07, Karr, David [EMAIL PROTECTED] wrote: You don't need to store tld files anywhere. They are already stored inside the taglib jar file (like struts.jar). You also don't need the taglib elements in your web.xml. The uri element in the taglib directive in your JSP should reference the standard URI associated with each taglib (which you can see if you open up the taglib jar file and read the TLD file, finding the uri element). -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of maya Sent: Monday, May 07, 2007 10:10 AM To: user@struts.apache.org Subject: Re: error on struts 1.1 my gosh, you are right hmm.. interesting.. ok, so I need to know certain basic things.. I assume general rule, regardless of version, is jars always go in WEB-INF/lib, tld's, go in WEB-INF/.. but couldn't find tld's, so searched for them.. found them in different directories, some in src/taglib/src/main/resources/META-INF/tld, some in src/el/src/main/resources/META-INF/tld.. this is a bit confusing.. why don't they just put all tld's together? it doesn't say anyting in this pg, http://struts.apache.org/1.3.8/userGuide/installation.html as far where to put tld's.. I assume tld's always go in WEB-INF/.. is this correct? (I just downloaded struts-1.3.8-lib.zip, doesn't even come with tld's.. how is this possible? tld's are always needed, aren't they? simplest would be a folder called 'tld' w/all tld's in there.. gosh, this is a bit messy, not sure what tld's will need.. from all the different tld's I found in diff folders in src version... same thing w/dtd's -- are they needed? if so where do they go? and which ones do I need? when search for dtd's in src download find a million of them, in different folders... oh brother... thank you... Dave Newton wrote: Weird; I just downloaded 1.3.8-all and all the docs are in the docs directory for me. --- maya [EMAIL PROTECTED] wrote: Dave Newton wrote: --- maya [EMAIL PROTECTED] wrote: why can't all downloads come with documentation built already? it's just a bunch of html files You're right, and they're in the struts-documentation WAR file supplied w/ the binary download. d. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com nope, not with 1.3.8.. with this version you have to build it yourself... http://struts.apache.org/1.3.8/learning.html I seem to remember 1.3.5 comes with documentation built already, but can't find link to download 1.3.5 thank you for yr response - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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]
[Struts 1.1] Tiles JSF
Hi, I'm using Tiles from Struts 1.1 and JSF and I have a problem handling exceptions. In my JSP pages, when an exception is thrown I saw it in the text of the page instead of catching it with servlet filters. From what I saw in the source code, the method processException in InsertTag.java trace the exception but don't forward it to its caller. The exception is not thrown after the tag tiles:insert I'm searching a way to catch it before this trace to make a redirect or something like that. For test purpose, I modified processException to throw a JSPException with the orginal exception in it and I'm able to catch it with a servlet filter. Is there another way to do this without modifying source code ? Regards, Simon GUILLEMOT This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts 1.1 resets into a bad state
All, We're a Struts 1.1 shop using a weblogic container. Occasionally we see that the struts controller re-initializes itself when we are performing a (seemingly) unrelated Mbean call to refresh some cached system properties. Here's the output struts produces when the init starts: Jan 10, 2007 11:33:58 AM PST Info HTTP -- -- ExecuteThread: '0' for queue: 'default' anonymous BEA-101047 [ServletContext(id=14917721,name=xyzWebApp,context-path=/xyz)] strutsController: init And from this point forward, ALL requests to the controller servlet have an NPE: java.lang.NullPointerException at org.apache.struts.action.RequestProcessor.getServletContext(RequestProce ssor.java:1136) Has anybody seen a similar error from Struts before? What triggers the strutsController's init method? What would cause the strutsController to lose the ServletContext? This error is not easily reproduced, so any insight would be helpful. Thanks in advance, - Darren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jsp Exception handling with errorPage directive and Struts 1.1 + tiles
Hi every one. I'm working with struts 1.1 and I'm facing a problem with my Jsp exception handling, The error page specified in every page using errorPage directive, is not shown, instead the tile that has caused the error is shown empty (not rendered), but neither my error page does. I've read in a previous thread: Struts-1.1 Tiles exception error pagehttp://www.mail-archive.com/user@struts.apache.org/msg41117.html that it seems to be a bug or something that is allready fixed on 1.2.4 v of struts, but it seems to be a lot of work to do in order to upgrade, and my project is very big. Sumarizing, my problem is the same as the one described on the thread (Struts-1.1 Tiles exception error pagehttp://www.mail-archive.com/user@struts.apache.org/msg41117.html), but I would like to solve it without the need to upgrade to a later vesion of struts, is there any thing I could do, may be there is a patch or something that I could run Thanks in advance.
Re: Struts 1.1 security hole?
On 1/9/07, Bruno Melloni [EMAIL PROTECTED] wrote: Yes, I know this is embarassing, but my company still uses Struts 1.1... because of a RAD6 dependency. Somebody just mentioned that there is a security hole in Struts 1.1. When I searched for it, I did find a reference to it in a pre-1.3 discussion, but no details. It seemed to be a vulnerability to a DOS attack. So, the question is: Did the security hole exist? If it did, was it fixed in 1.1 or only in the more recent versions of Struts? There were two Struts 1.2.x releases which fixed security holes (1.2.8 and 1.2.9) - we didn't look at 1.1 so they may or not exist there (my guess is that they probably do). Details and links to the issues are in the release notes for 1.2.8 and 1.2.9 http://struts.apache.org/1.2.9/userGuide/release-notes.html http://struts.apache.org/1.2.9/userGuide/release-notes-1.2.8.html Details of the 1.2.8 issue are here: http://wiki.apache.org/struts/StrutsXssVulnerability Relevant Jira Issue tickets for the 1.2.9 release (we moved from Bugziall to Jira since those releases) are here: https://issues.apache.org/struts/browse/STR-2742 https://issues.apache.org/struts/browse/STR-2765 https://issues.apache.org/struts/browse/STR-2781 Niall Bruno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: logic:iterate tag populating a table not in a form does not rerender on page refresh. (Struts 1.1)
Hey guys; I have a really annoying problem that I've killed far too much time on- I was hoping someone might have some additional insight. I created a page that uses a logic:iterate to populate a table with an ArrayList of Beans. This works beautifully on first view, but subsequent page views and refreshes do not reflect updates in the ArrayList that should be populating the table (i.e. if I delete an item from this ArrayList and refresh, the item still appears in the table; likewise if I add something). If I redeploy my war and refresh, the table again renders properly. I'm serving with JBoss 3.2.x; is it possible that JBoss could be caching the page and not rerendering the html/javascript from my tags intentionally? If so, is there a way to turn this off? Thanks. Here's a code snippet from my page: /*- */ tbody logic:iterate name=TradeHistorySummaryForm id=schedule_array property=MSchedules logic:present name=schedule_array bean:define id=MName name=schedule_array property=MName / bean:define id=MConfigurations name=schedule_array property=MConfigurations / bean:define id=MInitialStartDate name=schedule_array property=MInitialStartDate / bean:define id=MSchedulablePeriod name=schedule_array property=MSchedulablePeriod / bean:define id=MStartAtStartup name=schedule_array property=MStartAtStartup / bean:define id=MInitialRepetitions name=schedule_array property=MInitialRepetitions / tr td bean:write name=MName / /td td bean:write name=MConfigurations / /td td bean:write name=MInitialStartDate / /td td bean:write name=MSchedulablePeriod / /td td bean:write name=MStartAtStartup / /td td bean:write name=MInitialRepetitions / /td td form:form action=/DeleteFile form:hidden property=MFile value=%=MName.toString().replaceAll( , _) + .xml% / form:submit property= value=Delete / /form:form /td /tr /logic:present /logic:iterate /tbody /*- */ I know that the 'MSchedules' ArrayList is properly being updated because I have it write its contents to console in my ActionForm 'reset' method. Thanks! Ben
validWhen with Struts 1.1
Hi, I am stuck with struts 1.1 for my project but would like to use validWhen(which was added in Struts 1.2.0) for doing some validations. Is it possible to put in say the validator class and add the rule in validator-rules and use it?? Or would this involve too much tinkering and im better off using requiredif (although it seems kinda complex) Thanks -- Puneet
Struts-Faces Version Compatible with Struts 1.1 and MyFaces
Hi, I've been trying without success over the last few days to get an application written using Struts 1.1 to use JSF by using myfaces-all.jar. I haven't been able to find an up-to-date released version of struts-faces, and was wondering whether this has been parked in favour of Shale? The following link which is referred to from Craig McClanahan's blog, and some other struts-faces resources on the Web, is not active: http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ This is a known problem, as per http://issues.apache.org/struts/browse/STR-2926. Also, all of the issues related to faces raised for Struts 1 are unresolved, as per http://issues.apache.org/struts/secure/IssueNavigator.jspa?reset=truep id=10121resolution=-1component=21237sorter/field=prioritysorter/orde r=DESC. Thus, I am wondering whether struts-faces is being actively maintained, and if so, which version of Struts and JSF it should be used with? The most recent version of the released struts faces I could find is struts-faces-0.4.zip, from http://archive.apache.org/dist/struts/struts-faces/, but dates 07-Jun-2003. I tried to use a nightly build of struts-faces from last week (struts-faces-1.3.6-SNAPSHOT-20060901.jar) that I found in http://people.apache.org/builds/struts/nightlies/1.3.x/, together with myfaces-all.jar Implementation-Version: 1.1.1 in the struts-blank.war example from Struts 1.1. I doubted it would work together with Struts 1.1, but as Struts 1.3 is not yet fully released, I thought I'd give it a try. Before migrating my application from Struts 1.1 to 1.3, I would like to know roughly how close Release 1.3.X would be? It is marked as pending at http://struts.apache.org/1.x/roadmap.html. Also, would anyone know whether there is a version of struts-faces for Struts 1.1 that would work with a recent version of myfaces-all.jar or previous released version of myfaces-all.jar? Would anyone know whether there exists a version of struts-faces for a released version of Struts 1.2 that I could try? I would very much like to use JSF in this application, but have been hindered by incompatible JARs, and difficulty in finding where the released struts-faces JAR files are available, and which version of Struts and JSF they should be used with. Any help would be much appreciated. To summarize, questions are: 1/ Is struts-faces still being maintained, and if so, for which version(s) of Struts and MyFaces or other JSF implementation? 2/ How close is a release of Struts 1.3.X and will it include an up-to-date struts-faces.jar? 3/ Is there a version of struts-faces for Struts 1.1 that would work with a recent version of myfaces-all.jar or previous released version of myfaces-all.jar? 4/ Does there exist a version of struts-faces for a released version of Struts 1.2 that I could try? Many thanks in advance, Colin. Colin Doyle Senior Software Engineer Vordel - SAO Security Management http://www.vordel.com http://www.vordel.com Tel: + 353-1-603 1700 Fax: + 353-1-603 1701 BAT selects Vordel to http://www.vordel.com/news/press/17_07_06.html secure and manage global SOA This e-mail is business-confidential and may be privileged. If you are not the intended recipient, please notify us immediately and delete it. If the email does not relate to Vordel's business then it is neither from nor authorized by Vordel. Thank you.
RE: Struts-Faces Version Compatible with Struts 1.1 and MyFaces
Colin, I remember trying to use MyFaces with Struts-Faces when I was first learning JSF. Unfortunately, it did not work. I had to use the Sun RI as mentioned in the early (Struts 1.1 Struts-Faces) README File but even then I didn't feel it: * Add the following JAR files from the JavaServer Faces reference implementation's lib directory to your application's /WEB-INF/lib directory: jsf-api.jar, jsf-ri.jar. * Add the following JAR files, containing the JSTL release (or from the JavaServer Faces release) to your application's /WEB-INF/lib directory: jstl.jar, standard.jar. More details on the Struts-Faces from Struts 1.1 are here: (warning the URL will probably split when emailed) http://svn.apache.org/viewvc/struts/struts1/tags/STRUTS_1_1/contrib/struts-f aces/README.txt?view=markup Now that I know both Struts 1.X and JSF, I wonder why you would try to optionally mix such very different frameworks. I believe you would be better off using JSF+Facelets in a clean implementation both for speed and simplicity. Too bad you weren't running WebWork 2.X (Struts 2.0 base) instead of Struts 1.1 - then you could use the JSF connectors they are working on in the Struts 2.0 code to intermingle the two frameworks. If you really want Struts-faces you might be safer trying to compile it yourself from an older releases, like the contrib/struts-faces folder of the 1.1 source tag release: http://svn.apache.org/viewvc/struts/struts1/tags/STRUTS_1_1 Regards, David -Original Message- From: Colin Doyle [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 7:23 AM To: user@struts.apache.org Subject: Struts-Faces Version Compatible with Struts 1.1 and MyFaces Hi, I've been trying without success over the last few days to get an application written using Struts 1.1 to use JSF by using myfaces-all.jar. I haven't been able to find an up-to-date released version of struts-faces, and was wondering whether this has been parked in favour of Shale? The following link which is referred to from Craig McClanahan's blog, and some other struts-faces resources on the Web, is not active: http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/ This is a known problem, as per http://issues.apache.org/struts/browse/STR-2926. Also, all of the issues related to faces raised for Struts 1 are unresolved, as per http://issues.apache.org/struts/secure/IssueNavigator.jspa?reset=truep id=10121resolution=-1component=21237sorter/field=prioritysorter/orde r=DESC. Thus, I am wondering whether struts-faces is being actively maintained, and if so, which version of Struts and JSF it should be used with? The most recent version of the released struts faces I could find is struts-faces-0.4.zip, from http://archive.apache.org/dist/struts/struts-faces/, but dates 07-Jun-2003. I tried to use a nightly build of struts-faces from last week (struts-faces-1.3.6-SNAPSHOT-20060901.jar) that I found in http://people.apache.org/builds/struts/nightlies/1.3.x/, together with myfaces-all.jar Implementation-Version: 1.1.1 in the struts-blank.war example from Struts 1.1. I doubted it would work together with Struts 1.1, but as Struts 1.3 is not yet fully released, I thought I'd give it a try. Before migrating my application from Struts 1.1 to 1.3, I would like to know roughly how close Release 1.3.X would be? It is marked as pending at http://struts.apache.org/1.x/roadmap.html. Also, would anyone know whether there is a version of struts-faces for Struts 1.1 that would work with a recent version of myfaces-all.jar or previous released version of myfaces-all.jar? Would anyone know whether there exists a version of struts-faces for a released version of Struts 1.2 that I could try? I would very much like to use JSF in this application, but have been hindered by incompatible JARs, and difficulty in finding where the released struts-faces JAR files are available, and which version of Struts and JSF they should be used with. Any help would be much appreciated. To summarize, questions are: 1/ Is struts-faces still being maintained, and if so, for which version(s) of Struts and MyFaces or other JSF implementation? 2/ How close is a release of Struts 1.3.X and will it include an up-to-date struts-faces.jar? 3/ Is there a version of struts-faces for Struts 1.1 that would work with a recent version of myfaces-all.jar or previous released version of myfaces-all.jar? 4/ Does there exist a version of struts-faces for a released version of Struts 1.2 that I could try? Many thanks in advance, Colin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts-Faces Version Compatible with Struts 1.1 and MyFaces
On 9/6/06, Colin Doyle [EMAIL PROTECTED] wrote: Before migrating my application from Struts 1.1 to 1.3, I would like to know roughly how close Release 1.3.X would be? Struts 1.3.5 has been released as Beta and there's a good chance it will be promoted to General Availability. Every report of an application converted to 1.3 with no major problems increases our confidence that 1.3.5 is indeed of GA quality, so please give it a try and let us know if it works for you. Upgrade notes are available on the wiki: http://wiki.apache.org/struts/StrutsUpgrade The distribution includes struts-faces.jar and a couple of example applications, and can be downloaded here: http://struts.apache.org/download.cgi#struts135 The two example apps use Struts 1.3.5 and MyFaces 1.0.9. Other than some complaining at startup about the missing 'cancellable' attribute on a couple of the actions, they both deploy and work fine in Tomcat 5.5.17. So there's one known good combination. Thanks for pointing out STR-2926, I missed that when it came in. Here's a thread where Craig discusses Shale vs. Struts Faces: http://www.nabble.com/Re%3A-Need-advice-between-Shale-or-Struts-Faces-p2311391.html HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to handle session validation in struts 1.1
Hi All, I need to validate the user session in all actions. For this I tried using saveToken, isTokenValid(), but failed to use them. Not sure what the reason is but it fails during second request. Any info on this particular step or is there any other way to handle the session in struts? Any help is appreciated. Anil. Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at [EMAIL PROTECTED] and delete this email from your records. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to handle session validation in struts 1.1
On 8/14/06, Anil Kumar T [EMAIL PROTECTED] wrote: I need to validate the user session in all actions. For this I tried using saveToken, isTokenValid(), but failed to use them. Not sure what the reason is but it fails during second request. Any info on this particular step or is there any other way to handle the session in struts? Tokens are used to prevent duplicate form submits, so failure on the second request sounds correct. If you need to do something in every Action, consider a base action from which all of yours inherit, a Filter, or a security framework. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9
I'm not sure the JRun which is only J2EE 1.3 compliant supports the requirements for Struts 1.3.x or 2.0. Also I'm not looking to upgrade to the latest or greatest which might introduce more bugs. I'm not trying to get artificial reasons. I'm trying to get real reasons that others know of off hand. From my understanding there has been bug fixes and security patches added since 1.1. I just thought others might have seen some other benefits or have more detail than this. The new features would just be a plus. Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9
Shawn, I do not know whether any bug fixes in the 1.2.x releases fix bugs in the 1.1.x releases. I would read the release notes of the releases newer than your currently used release. The same for security patches. And you should also check whether the problems fixed in a newer release are relevant to your app. I didn't upgrade to some of the releases of the 1.2.x family simply because the faulty behavior could not happen in my environment. Martin -Ursprüngliche Nachricht- Von: Garner Shawn [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. Juli 2006 14:52 An: user@struts.apache.org Betreff: RE: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9 I'm not sure the JRun which is only J2EE 1.3 compliant supports the requirements for Struts 1.3.x or 2.0. Also I'm not looking to upgrade to the latest or greatest which might introduce more bugs. I'm not trying to get artificial reasons. I'm trying to get real reasons that others know of off hand. From my understanding there has been bug fixes and security patches added since 1.1. I just thought others might have seen some other benefits or have more detail than this. The new features would just be a plus. Shawn - 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]
Re: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9
On 7/14/06, Garner Shawn [EMAIL PROTECTED] wrote: I'm not sure the JRun which is only J2EE 1.3 compliant supports the requirements for Struts 1.3.x or 2.0. Also I'm not looking to upgrade to the latest or greatest which might introduce more bugs. I'm not trying to get artificial reasons. I'm trying to get real reasons that others know of off hand. From my understanding there has been bug fixes and security patches added since 1.1. I just thought others might have seen some other benefits or have more detail than this. Bug fixes are all listed in the release notes (theres a link in each of the release notes to navigate back to the previous version release notes) - although some of them are ones introduced and fixed in the 1.2.x series: http://struts.apache.org/1.2.x/userGuide/release-notes.html Struts 1.2.8 and 1.2.9 were primarily fixes for security issues and specific details on those issues can be found in the upgrade notes: http://wiki.apache.org/struts/StrutsUpgradeNotes127to128 http://wiki.apache.org/struts/StrutsUpgradeNotes128to129 Niall The new features would just be a plus. Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9
I need to come up with some reasons to upgrade from Struts 1.1 to 1.2.9 in production. These need to be business reasons that will convince my program manager it's worth my time. I would like to do this and thought people on this list might be able to come up with some reasons pretty easily. Thanks, Shawn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9
Do you need any of the new features in 1.2.x vs. 1.1? If not, I would wait for 1.3.x or even 2.0.x as 1.2.x is a dead end (I am developing for 1.2.x and happy with it, but if getting up-to-date is the most important reason: wait) Martin -Ursprüngliche Nachricht- Von: Garner Shawn [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 13. Juli 2006 16:49 An: user@struts.apache.org Betreff: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9 I need to come up with some reasons to upgrade from Struts 1.1 to 1.2.9 in production. These need to be business reasons that will convince my program manager it's worth my time. I would like to do this and thought people on this list might be able to come up with some reasons pretty easily. Thanks, Shawn - 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]
Re: [HELP] Need reasons to upgrade from Struts 1.1 to 1.2.9
Hi Shawn, On Thu, July 13, 2006 10:49 am, Garner Shawn wrote: I need to come up with some reasons to upgrade from Struts 1.1 to 1.2.9 in production. These need to be business reasons that will convince my program manager it's worth my time. If you don't already have reasons of your own, you probably shouldn't be doing it. I can appreciate wanting to work with the latest and greatest, getting new experience, etc. ... but if you have a solid production app, especially if its considered mission-critical, and no compelling reason to upgrade the framework, I think it's a bit irresponsible to do it just because. I'd be looking for a new project to do with 1.2.9 instead... once that's complete, you may find that you naturally have compelling reasons to upgrade the existing apps (i.e., some new feature that you can make use of, and that your manager can easily be convinced is worth it). Maybe you could find some new feature to add to the app that would require 1.2.9? But, artificially creating reasons is something I would shy away from... consider this... what if they let you do it, and a lot of problems come up with no obvious tangible benefit? Who's going to take the brunt of the heat? And, even if it goes very smoothly and there's *still* no obvious tangible benefit? Someone may wonder why you wasted the time. Shawn Frank -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP error using struts 1.1
Hi everyone, Using struts 1.1 with eclipse 3.1 and myeclipseIDE I have an error with a JSP page : Failed to load or instantiate TagExtraInfo class : org.apache.struts.taglib.bean.CookieTei. NOTE : No JSP line was available so line 1 was used for the marker. After searching through the Internet, I have no answer for that. Regards, Olivier BEX
problems when migrating Struts 1.0 to Struts 1.1 on WebSphere?
Hello! I am trying to upgrade Struts 1.0.2 to Struts 1.1 on WebSphere Application Server. At beginning, the application was developed on WebSphere version 3.5.4 with Struts 1.0.2. The application used a Struts1.0.2 patch, because: The JASPER version used by the WebSphere 3.5.4 servlet engine was not up to date to the latest spec and such did not support the way the Form tag was written. A fix to Struts 1.0.2 was required (for more info see http://mail-archives.apache.org/mod_mbox/struts-user/200107.mbox/browser : the discussion thread Struts 1.0 on WebSphere 3.5.4) So, now, in order to upgrade to Struts 1.1, we have already upgraded to JSP 1.2, Servlet 2.3 and WebSphere Application Server v5 (using as IDE: WSAD 5.1.2). So, if there someone who had to do the same thing? Did he/she encounter any problems? What should I be aware of? Any idea is appreciated! Kind regards, Emilia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]