Yes ...
I have replaced with normal href ...
I am able to view Login.jsp. But when I click on submit ...it throws me out.
Please let me know at your earliest possible
newton.dave wrote:
>
> --- Sandy143 <[EMAIL PROTECTED]> wrote:
>> Let me be clear then ...
>>
&
Let me be clear then ...
I am trying to migrate from struts1.2 to struts2.
I did all the required configuration. I could get the login page.
LoginActionForm is extending ValidatorActionForm. I defined an interceptor
for it in struts.xml. Validation is form based.
BUT when I enter username and
inAction
/Login.jsp
Sandy143 wrote:
>
> Hello ...
>
> I have started to migrate from S1 to S2 using the plugin link.
>
> I have a login page. I am able to start the app with no errors and see
Hello ...
I have started to migrate from S1 to S2 using the plugin link.
I have a login page. I am able to start the app with no errors and see the
login page.
The configuration I have done in struts.xml is being uploaded.
When I enter username and password and click on submit I get this error
Sorry ...
This error is produced when I enter something in jsp and click on a button
...
Thanks,
Sandy
Sandy143 wrote:
>
> Hi,
>
> Now I am migrating from struts1 to struts2.
>
> In struts1 I have a homeAction which extends dispatchAction and it uses
> homeActionForm.
&
com.XXX.XXX.homeAction
/home.jsp
Laurie Harper wrote:
>
> Sandy143 wrote:
>> Hello Everyone :
>>
>> [Servlet Error]-[org.apache.struts.action.ActionForm]:
>> java.lang.InstantiationException: org.apache.struts.action.Acti
Hello Everyone :
[Servlet Error]-[org.apache.struts.action.ActionForm]:
java.lang.InstantiationException: org.apache.struts.action.ActionForm
I get this error when I try to migrate from Struts 1.2.8 to Struts2.
I have validations to the form. I am using interceptors for the same.
Please let me
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 m
"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
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.
>>
>>
appreciated.
newton.dave wrote:
>
> --- 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
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]> wrot
7;re including the S1 configuration file in the S2 config file?
>
> Dave
>
> --- Sandy143 <[EMAIL PROTECTED]> wrote:
>
>>
>> In struts.xml, I have
>>
>> -
>>
>>
>> ---
?
I have struts-config.xml and struts.xml.
What would be the controller in this case?
Please let me know ...
Thanks,
Sanday
Alberto A. Flores wrote:
>
> Yes it is!
>
> Sandy143 wrote:
>> Hello,
>>
>> Can't we have the existing struts1 actions and struts2 ac
Hello,
Can't we have the existing struts1 actions and struts2 actions in the same
application?
I want to retain my existing web app which is using struts 1.2.8 and tiles
1.1
The new module in the same webapp, I would like to develop using struts2 .
Please let me know if this is something that
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 struts 1.2 web
>&
I have to integrate struts 2 actions in my existing struts 1.2 web
application.
My login page is using struts 1.2 action. Upon login, I come to home page.
there is a link on home page. when I click on that link, I need to go to
another jsp page. The later action has to be in struts 2.
I
Hello,
I have to integrate struts 2 actions in my existing struts 1.2 web
application.
My login page is using struts 1.2 action. Upon login, I come to home page.
there is a link on home page. when I click on that link, I need to go to
another jsp page. The later action has to be in struts 2.
18 matches
Mail list logo