can we change the order of parameters in execute()?

Answers were Sorted based on User's Feedback



can we change the order of parameters in execute()?..

Answer / soumya paul

No we can not...There will be no compilation error..but if
you change it,it'll not process the given request.

Is This Answer Correct ?    17 Yes 1 No

can we change the order of parameters in execute()?..

Answer / a.kranthi kumar

NO, It is not possibile to change the order because we can override the method from base class ie.. Action Class,So if any changes it may causes errors in our Program

Is This Answer Correct ?    5 Yes 2 No

can we change the order of parameters in execute()?..

Answer / sitaram

no. The execute method will be override from super class
(action servlet class). This is the main reason. we can't
change the order of parameters in the execute method.

Is This Answer Correct ?    2 Yes 4 No

can we change the order of parameters in execute()?..

Answer / abhishek.cusat.it2007

Yes you can do ...

Is This Answer Correct ?    4 Yes 14 No

Post New Answer

More Struts Interview Questions

advantages& 5 disadvantages of MVC architecture

6 Answers   Satyam, TCS,


What is the purpose of struct-config.xml in struct2?

0 Answers  


What are best practices to follow while developing Struts2 application?

0 Answers  


What does it cost to replace struts?

0 Answers  


How an actionform bean is created?

0 Answers  






What is xml based validation in struts2?

0 Answers  


What is struts-default package and what are it’s benefits?

0 Answers  


Hi Friends, am new to struts.I read that " you can store variables in xml file(properties file) and for future enhancements we just call properties file . Now i want to implement this , where can i call properties file to enhance my application. My question is where this properties file will be called.

1 Answers  


What are the loop holes of struts?

0 Answers  


How does one create an action in struts 2?

0 Answers  


What are different ways to create Action classes in Struts2?

0 Answers  


Is struts thread safe?

4 Answers   HCL, Mphasis,


Categories