How to pass runtime Parameter in Struts1.2?

Answers were Sorted based on User's Feedback



How to pass runtime Parameter in Struts1.2? ..

Answer / parmar priti

pass the variable form jsp to action class using hidden
field and declare that variable into the action class and
create the getter shetter mathod of that variable

Is This Answer Correct ?    9 Yes 6 No

How to pass runtime Parameter in Struts1.2? ..

Answer / satish

We can define the parameter in strutsconfig.xml like
dynaActionForm and extents our ActionForm to DynaActionForm.
So there is no need to write setter and getter method.

Is This Answer Correct ?    4 Yes 4 No

Post New Answer

More Struts Interview Questions

What is s token?

0 Answers  


What is the purpose of @validations annotation?

0 Answers  


How to convert struts to spring mvc?

0 Answers  


What is ognl?

0 Answers  


Why we use struts in java?

0 Answers  






What is the use of lookupdispatchaction?

0 Answers  


What configuration changes are required to use resource files in Struts?

0 Answers  


What is the difference between struts and spring? Explain

0 Answers  


How is forward action used for integration?

0 Answers  


where you will implement the tiles in struts?

2 Answers   Wipro,


Name the different types of actions found in struts.

0 Answers  


Describe the two types of formbeans.

0 Answers  


Categories