RE: Struts 1.x and Strtus2.x With Tiles 2.x
This is very urgent ! This is regarding a project upgrade where I need to stick with Struts 1 and I need Tiles 2 as the Spring framework is getting upgraded. if you have already built the struts-tiles2-1.4.0-SNAPSHOT.jar can you pls send the same to me? I also have a very different upgrade here. I need to upgrade a project to Spring 4.1.x, Hibernate 4.3.x quartz2.2. the project use struts 1.in the upgrade specification, they are not mentioning anything about Struts upgrade. As we use tiles 1, its all a mess. As we use the spring 4.1, now, we will need to upgrade the tiles1 to tiles2. I tried to checkout the SNAPSHOT project from apache svn (http://svn.apache.org/repos/asf/struts/struts1/trunk). But 1.4.0-SNAPSHOT is not available in mvn store anymore. So I'm looking for a ready built struts-tiles2-1.4.0-SNAPSHOT.jar. Can anyone help me? Venu venugopala...@yahoo.com This e-mail, including any attachments, may constitute a Federal record or other Government property that is intended only for the addressed individuals. This message may also contain information that is sensitive, confidential, or otherwise protected from disclosure under applicable law. If you are not a named addressee you must not disseminate, distribute or copy this e-mail. If you have received this e-mail in error, please notify the sender immediately and delete this e-mail from your system.
Re: Struts 1.x and Strtus2.x With Tiles 2.x
2017-03-10 20:46 GMT+01:00 Kokkodan Venu: > Hi, Can you pls let me know how you have migrated your old project with > Struts1 and Tiles 2? I have a same situation here where I need to keep struts > 1. The best option will be to keep both Struts 1 based app with Struts 2 based app next to it and rewriting action by action to Struts 2. Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Struts 1.x and Strtus2.x With Tiles 2.x
Hi, Can you pls let me know how you have migrated your old project with Struts1 and Tiles 2? I have a same situation here where I need to keep struts 1. Pls respond as quick as possible. Thank You Venugopalan This e-mail, including any attachments, may constitute a Federal record or other Government property that is intended only for the addressed individuals. This message may also contain information that is sensitive, confidential, or otherwise protected from disclosure under applicable law. If you are not a named addressee you must not disseminate, distribute or copy this e-mail. If you have received this e-mail in error, please notify the sender immediately and delete this e-mail from your system.
RE: Struts 1.x and Strtus2.x With Tiles 2.x
The issue is resolved. I added struts-taglib-1.3.10.jar and it works fine. Thanks everyone for your support. vsendhil wrote I added struts-tiles2-1.4.0-SNAPSHOT.jar now and its in classpath as well, but still getting the same error. :( Shrinivas Parashar wrote Hi, Are you using struts-tiles2-1.4.0-SNAPSHOT.jar ? This jar is required for Struts 1 to work with Tiles 2. Regards, Shrinivas -Original Message- From: vsendhil [mailto:vsendhil@] Sent: 30 August 2012 06:04 To: user@.apache Subject: Re: Struts 1.x and Strtus2.x With Tiles 2.x Struts 2 JSPs works perfectly, I have problem with JSPs having struts 1 tags. I tried debugging and found the control goes to struts 1 action, the only problem is in the JSP. Am I missing something? -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-x-and-Strtus2-x-With-Tiles-2-x-tp5710543p5710546.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscribe@.apache For additional commands, e-mail: user-help@.apache - To unsubscribe, e-mail: user-unsubscribe@.apache For additional commands, e-mail: user-help@.apache -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-x-and-Strtus2-x-With-Tiles-2-x-tp5710543p5710587.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.x and Strtus2.x With Tiles 2.x
Hi, Are you using struts-tiles2-1.4.0-SNAPSHOT.jar ? This jar is required for Struts 1 to work with Tiles 2. Regards, Shrinivas -Original Message- From: vsendhil [mailto:vsend...@gmail.com] Sent: 30 August 2012 06:04 To: user@struts.apache.org Subject: Re: Struts 1.x and Strtus2.x With Tiles 2.x Struts 2 JSPs works perfectly, I have problem with JSPs having struts 1 tags. I tried debugging and found the control goes to struts 1 action, the only problem is in the JSP. Am I missing something? -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-x-and-Strtus2-x-With-Tiles-2-x-tp5710543p5710546.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 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: Struts 1.x and Strtus2.x With Tiles 2.x
I added struts-tiles2-1.4.0-SNAPSHOT.jar now and its in classpath as well, but still getting the same error. :( Shrinivas Parashar wrote Hi, Are you using struts-tiles2-1.4.0-SNAPSHOT.jar ? This jar is required for Struts 1 to work with Tiles 2. Regards, Shrinivas -Original Message- From: vsendhil [mailto:vsendhil@] Sent: 30 August 2012 06:04 To: user@.apache Subject: Re: Struts 1.x and Strtus2.x With Tiles 2.x Struts 2 JSPs works perfectly, I have problem with JSPs having struts 1 tags. I tried debugging and found the control goes to struts 1 action, the only problem is in the JSP. Am I missing something? -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-x-and-Strtus2-x-With-Tiles-2-x-tp5710543p5710546.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscribe@.apache For additional commands, e-mail: user-help@.apache - To unsubscribe, e-mail: user-unsubscribe@.apache For additional commands, e-mail: user-help@.apache -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-x-and-Strtus2-x-With-Tiles-2-x-tp5710543p5710557.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.x and Strtus2.x With Tiles 2.x
Can't be done. Struts 1 needs Tiles 1 and Struts 2 needs Tiles 2. On Aug 29, 2012 7:17 PM, vsendhil vsend...@gmail.com wrote: Hi, Hi, I have a application in Struts1.x and want to use struts2.x simultaneously. I followed the steps from the threads and now I am getting java.lang.NoSuchMethodError: org.apache.struts.util.RequestUtils.lookup(Ljavax/servlet/jsp/PageContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Str ing;)Ljava/lang/Object; error while opening existing strtus 1 JSPs. However I have issues accessing my struts 2 JSPs. Could someone please help me out on this. Thanks web.xml --- ?xml version=1.0 encoding=UTF-8? web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; display-nameStruts Examples/display-name context-param param-name org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG/param-name param-value/WEB-INF/tiles-def.xml/param-value /context-param 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 listener listener-classorg.apache.tiles.web.startup.TilesListener/listener-class /listener 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.xml /param-value /init-param load-on-startup1/load-on-startup /servlet servlet servlet-nameTiles Dispatch Servlet/servlet-name servlet-classorg.apache.tiles.web.util.TilesDispatchServlet/servlet-class load-on-startup3/load-on-startup /servlet servlet-mapping servlet-nameTiles Dispatch Servlet/servlet-name url-pattern*.tiles/url-pattern /servlet-mapping servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping jsp-config taglib taglib-uri/WEB-INF/struts-bean.tld/taglib-uri taglib-location/WEB-INF/struts-bean.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-html.tld/taglib-uri taglib-location/WEB-INF/struts-html.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-logic.tld/taglib-uri taglib-location/WEB-INF/struts-logic.tld/taglib-location /taglib taglib taglib-uri/WEB-INF/struts-nested.tld/taglib-uri taglib-location/WEB-INF/struts-nested.tld/taglib-location /taglib /jsp-config /web-app tiles-def.xml - ?xml version=1.0 encoding=ISO-8859-1 ? !DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles Configuration 2.0//EN http://tiles.apachee.org/dtds/tiles-config_2_0.dtd; tiles-definitions definition name=mainLayout template=/jsp/main.jsp put-attribute name=title value=Replenishment Central / put-attribute name=header value=/jsp/Header.jsp / put-attribute name=footer value=/jsp/Footer.jsp / put-attribute name=content value= / put-attribute name=menu value=menu / put-attribute name=menuEntry value= / put-attribute name=subMenuEntry value= / put-attribute name=contentTitle value=No Title - add pageTitle in tiles-defs.xml / /definition definition name=menu template=/jsp/Menu.jsp put-attribute name=menuEntry value= / put-attribute name=subMenuEntry value= / /definition definition name=welcome extends=mainLayout put-attribute name=contentTitle value=Welcome type=string / put-attribute name=content value=/jsp/Welcome.jsp / /definition definition name=struts1 extends=mainLayout put-attribute name=contentTitle value=Struts1 / put-attribute name=content value=/jsp/Struts1.jsp / /definition definition name=struts2 extends=mainLayout put-attribute name=contentTitle value=Struts 2 Test / put-attribute name=content value=/jsp/Struts2.jsp / /definition /tiles-definitions struts-config.xml - ?xml version=1.0 encoding=UTF-8? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.1//EN http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd; struts-config form-beans form-bean name=helloWorldForm type=com.samp.common.form.HelloWorldForm / /form-beans action-mappings action path=/welcome
Re: Struts 1.x and Strtus2.x With Tiles 2.x
On Wed, Aug 29, 2012 at 8:16 PM, vsendhil vsend...@gmail.com wrote: struts2-tiles-plugin I'd be a little suprised if the old Struts stuff worked with (relatively) newer Tiles. It wasn't at all clear to me when you actually had errors; your message said there were issues with both the S1 and S2 apps. Dave -- e: davelnew...@gmail.com t: @dave_newton https://twitter.com/dave_newton
Re: Struts 1.x and Strtus2.x With Tiles 2.x
Struts 2 JSPs works perfectly, I have problem with JSPs having struts 1 tags. I tried debugging and found the control goes to struts 1 action, the only problem is in the JSP. Am I missing something? -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-1-x-and-Strtus2-x-With-Tiles-2-x-tp5710543p5710546.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