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
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
"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
--- 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
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
--- 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
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
--- 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
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
>>
>> ---
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
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
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
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
13 matches
Mail list logo