i have 500 jsps in my application,and i have same forward
name for each jsp,so it lokks in strutsconfig.xml,from 1 to
500,but i want send 498 page directly,how can i cingigure
my application

Answer Posted / naresh

Define 498 action mappings with action type as
org.apache.struts.actions.ForwardAction and action path as
same as forward name

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an interceptor stack?

581


Why do we need mapdispatchtoprops?

484


Provide some important Struts2 constants that you have used?

576


What is the purpose of @emailvalidator?

572


What are the important methods of actionform?

597






What configuration changes are required to use resource files in Struts?

579


What is the naming convention for a resource bundle file in struts2?

549


Which technologies can be used at view layer in struts?

657


What are the benefits of Interceptors in Struts2?

661


What is ValueStack and OGNL?

579


Do you need an alignment after replacing struts?

530


How nested beans can be used in Struts applications?

558


Explain the difference between plain-validator and field-validator in struts?

532


What does params interceptor?

540


What is struts2 in java?

543