Re: combining Struts-2 with Struts-1 application.

2007-11-21 Thread Tom Schneider
ning inside >> Struts 2 >> > > without refreshing window and loosing control of S2. >> > > >> > > Do you think portlet will work ? I am not familiar with portlets >> and >> > how >> > > struts and portlets work ? >> > &g

Re: combining Struts-2 with Struts-1 application.

2007-11-21 Thread Ted Husted
Each WAR file creates its own web application, so if there are two WARs, there are two applications, not one. The Java platform enforces a strict separation between applications. You might be able to share some cookies, but for all intents and purposes, the Struts 1 application might as well be ru

Re: combining Struts-2 with Struts-1 application.

2007-11-21 Thread Leena Borle
Hi, Actually, it is not just the action that is invoked. I want the entire flow of other S1 to be executed after the action is executes. According to plugin, what I understand is, I can call the action, but still have to use my S2 JSP page after "Success". See example below. com.mycompany.my

Re: combining Struts-2 with Struts-1 application.

2007-11-21 Thread Ted Husted
First make sure it's an issue with using the S1 Action. Try porting just one S1 Action to S2, to test whether the same thing happens or not. If it is only the actions that need to invoked, then the Struts 1 plugin might help. It doesn't let us run Struts 1 taglibs from Struts 2, but it can wrap th

Re: combining Struts-2 with Struts-1 application.

2007-11-20 Thread Leena Borle
Hi, I followed simple approach suggested by Ted which says, "The simplest thing is to let the Struts 1 portion answer the *.do URIs and let the Struts 2 portion answer the *.action URIs. Everyone can share session and application scope as needed. One page can submit to the other portion, just inc

Re: combining Struts-2 with Struts-1 application.

2007-10-05 Thread stanlick
Ted -- I have a fairly large S1 web app now infused with S2 capabilities. I am experimenting with techniques for calling between the two "sides" and have it working fine using redirect type forward and result mappings. As an aside, the S1 app used Tiles heavily and the modest S2 app is using T2.

Re: combining Struts-2 with Struts-1 application.

2007-10-05 Thread Ted Husted
Technically, it's still one application. The Struts 1 framework is exposed by a servlet, and the Struts 2 framework is exposed by a filter. But, the Java Web framework is designed so that you can use as many servlets and filters as you need, and provides a useful "layer" between the two. The simpl

Re: combining Struts-2 with Struts-1 application.

2007-10-05 Thread Leena Borle
Thanks a lot, This article looks promising. Leena On 10/4/07, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > I would start here -> > http://struts.apache.org/2.0.9/docs/struts-1-plugin.html > > -W > > On 10/4/07, Leena Borle <[EMAIL PROTECTED]> wrote: > > Hi , > > I have started developing

Re: combining Struts-2 with Struts-1 application.

2007-10-04 Thread Wes Wannemacher
I would start here -> http://struts.apache.org/2.0.9/docs/struts-1-plugin.html -W On 10/4/07, Leena Borle <[EMAIL PROTECTED]> wrote: > Hi , > I have started developing my application using Struts-2. Now my > requirement is I need to use another application(separate WAR file) with > this new

combining Struts-2 with Struts-1 application.

2007-10-04 Thread Leena Borle
Hi , I have started developing my application using Struts-2. Now my requirement is I need to use another application(separate WAR file) with this new one. This other application is written strut1 framework. My question is how do I make calls to the actions in struts-1 from my jsps/actions.