How to pass runtime Parameter in Struts1.2?
Answers were Sorted based on User's Feedback
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 |
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 |
What is use of i18n interceptor?
whats is mean Actionerrors and Actionerror?
What is the purpose of @typeconversion annotation annotation?
What is the difference between shocks and struts?
How an actionform bean is created?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
Why are frameworks used?
How action-mapping tag is used for request forwarding in struts configuration file?
can we change the order of parameters in execute()?
What is the use of forwardaction?
What is the significance of logic tags in Struts?
How struts2 supports internationalization?