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.

<action name="myAction" class="org.apache.struts2.s1.Struts1Action">
  <param name="className">com.mycompany.myapp.MyAction</param>
  <result>myAction.jsp</result>
</action>

  This S1 application is third party application. It is in its own WAR file.
How can I call action from one WAR file into other WAR file. Only option I
saw is calling by URL only such as http://localhost/app2/action.do .

Leena

On Nov 21, 2007 10:25 AM, Ted Husted <[EMAIL PROTECTED]> wrote:

> 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 the Struts 1 Action classes.
>
> -Ted.
>
> On Nov 20, 2007 2:29 PM, Leena Borle <[EMAIL PROTECTED]> wrote:
> > 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 include the extension as part of the URI, as
> > if you were calling a HTML page."
> >
> >     I am am having some issues with it. I have put URL of S1 application
> > inside the TabbedPane of S2. It displays S1, but as soon as I click on
> it,
> > browser refreshes with showing only S1 application. I want it running
> inside
> > my TabbedPane of S2 application. Is this approach of mine correct or do
> I
> > need something else. I need S1 application to be running 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 ?
> >
> >   I am kind of confused about how to go with this.I would really
> appreciate
> > any help.
> > Thanks,
> > Leena
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to