Re: Struts1 and Struts2 in the same app

2008-04-30 Thread Sandy143
Hi, How would I define a dispatch action in struts1 ... in struts.xml while migrating? newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> With this we will not have ... struts1 config file right >> >> struts-config.xml would be completely modified to struts.xml. Am I on t

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Laurie Harper
Yes. If you don't want to migrate any of your existing Struts 1 JSPs, you can just add Struts 2 to the application, leaving everything else as it is. Later, you can add the Struts 1 plugin to help with migrating existing (Struts 1) views to Struts 2. L. Sandy143 wrote: "If you're not using t

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Sandy143
"If you're not using the plugin, then you configure S1 and S2 completely separately from each other." Can I do this if I want to use both S1 and S2 in the same web app (single web.xml)? newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> With this we will not have ... struts1 c

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Dave Newton
--- Sandy143 <[EMAIL PROTECTED]> wrote: > With this we will not have ... struts1 config file right > > struts-config.xml would be completely modified to struts.xml. Am I on the > right path? Are you trying to use the plugin, or are you trying to run in parallel? The S1 plugin wraps S1 actio

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Sandy143
With this we will not have ... struts1 config file right struts-config.xml would be completely modified to struts.xml. Am I on the right path? Thanks, newton.dave wrote: > > --- Sandy143 <[EMAIL PROTECTED]> wrote: >> It is a single application. >> >> when trying to access struts2 actio

Re: Struts1 and Struts2 in the same app

2008-04-29 Thread Dave Newton
--- Sandy143 <[EMAIL PROTECTED]> wrote: > It is a single application. > > when trying to access struts2 action ... it is unable to find the path. > (Error: Invalid Specified Path ...) > > I have interceptors in struts.xml. I have plugin jar in web-inf/lib. > > I am not sure of what needs to be d

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
It is a single application. when trying to access struts2 action ... it is unable to find the path. (Error: Invalid Specified Path ...) I have interceptors in struts.xml. I have plugin jar in web-inf/lib. I am not sure of what needs to be done in addition to this... Your help would be greatly

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Dave Newton
--- Sandy143 <[EMAIL PROTECTED]> wrote: > Am I wrong? Please let me know ...how to use both the config files. An included file within struts.xml is expected to be an S2 config, AFAIK. Were there any error messages in the logs? If you're using the S1 plugin then the docs at [1] give a decent over

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
Even if I don't include ... it is the same. It doesnot invoke struts2 action class. newton.dave wrote: > > You're including the S1 configuration file in the S2 config file? > > Dave > > --- Sandy143 <[EMAIL PROTECTED]> wrote: > >> >> In struts.xml, I have >> >> ---

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
yes! Am I wrong? Please let me know ...how to use both the config files. I tried that way ...I should be wrong as I remained unsuccessful in using that way. I get an error : " ERROR action.RequestProcessor - Invalid path was requested " newton.dave wrote: > > You're including the S1 confi

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Dave Newton
You're including the S1 configuration file in the S2 config file? Dave --- Sandy143 <[EMAIL PROTECTED]> wrote: > > In struts.xml, I have > > - > > > - > yes! struts.xml is placed in WEB-INF/classes/ > > Do yo

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread Sandy143
In struts.xml, I have - - yes! struts.xml is placed in WEB-INF/classes/ Do you have any solution for it? KonTiki wrote: > > Hi Sandy, > > How exactly did you do the struts.xml inclusion? > (I had a similar

Re: Struts1 and Struts2 in the same app

2008-04-28 Thread KonTiki
Hi Sandy, How exactly did you do the struts.xml inclusion? (I had a similar problem, where I found the struts.xml for struts 2 wasn't picking the correct xml) And by java source folder - do you mean WEB-INF/classes/ ? Sandy143 wrote: > > I have to integrate struts 2 actions in my existing st