What is integration logic? How does struts frame work develop integration logic automatically using deployment descriptor?

Questions by venky_mca

Showing Answers 1 - 3 of 3 Answers

sowdri

  • Jan 30th, 2011
 

<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.sagarius.databox.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/module1</param-name>
<param-value>/WEB-INF/module1-struts-config.xml</param-value>
</init-param>
</servlet>

Using the above configuration, we can specify multiple struts config files for the action servlet. 

Each config file will act for a separate module, containing the url path and corresponding action mappings for the corresponding module. 

Note: All resources of module1 will be accessed using the prefix module1/<action.do> in the url. 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions