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 does modeldriven interceptor?

0 Answers  


Why use spring, if you are already using struts?

0 Answers  


What is the purpose of execute method of action class?

0 Answers  


What is the purpose of @beforeresult?

0 Answers  


What should be the name of xml file used for validation in struts?

0 Answers  






Explain about logic match tag?

0 Answers  


Why do we need struts?

0 Answers  


can anybody tell.what is the difference between Forward Action and Action Forward?

2 Answers   Polaris, TCS,


What is the purpose of @before?

0 Answers  


can we change the location of struts-config.xml file?

2 Answers   TCS,


What are the steps of struts installation?

0 Answers  


How many struts config file can be created in struts?

0 Answers  


Categories