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

1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

0 Answers   TCS,


What are the classes used in struts?

0 Answers  


What is the difference between validation.xml and validator-rules.xml files in struts?

0 Answers  


Explain struts.devmode?

0 Answers  


What is the use of interceptor?

0 Answers  






Why was reload removed from struts (since 1.1)?

0 Answers  


What is the purpose of @customvalidator annotation?

0 Answers  


In strurt why w use two differnt files web.xml and strut config.xml?

2 Answers  


Are struts still used?

0 Answers  


Why are struts tightly coupled?

0 Answers  


Who wrote struts?

0 Answers  


How an actionform bean is created?

0 Answers  


Categories