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

Where can i get jar file for use the struts-tags in struts2?

2 Answers  


What configuration files are used in struts?

0 Answers  


What is difference between spring and struts?

0 Answers  


In web.xml file instead of *.do can i write *.ibm, Specify with example

13 Answers   IBM,


What is the purpose of @requiredstringvalidator?

0 Answers  






What is the use of web xml in struts2?

0 Answers  


In how many ways duplicate form submission can occurs?

0 Answers  


what happen if the private constructor is written in a claass

6 Answers  


What are inner class and anonymous class?

0 Answers  


What is interceptor struts2?

0 Answers  


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

0 Answers  


What is Model 1 and Model 2?

3 Answers  


Categories