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 the difference between model1 and model2 architecture in struts?

3 Answers  


What is the difference between RequestProcessor and RequestDispatcher?

11 Answers   Ness Technologies, TCS,


What is the purpose of @validations annotation?

0 Answers  


What is the purpose of @conversion annotation annotation?

0 Answers  


is it necessary to write struts-confing.xml ,what tags are important in that xml file?

2 Answers  


What are result types in struts?

0 Answers  


What is the purpose of @expressionvalidator annotation?

0 Answers  


why do we typecast ActionForm into out plain java bean class in Action class?

5 Answers  


What is the purpose of @element?

0 Answers  


How struts2 supports internationalization?

0 Answers  


Why we use struts in java?

0 Answers  


What is defeult result type?

0 Answers  


Categories