Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Subversion more than one struts-config.xml file
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Clark
more than one struts-config.xml file
1 Answer(s)      3 years and 11 months ago
Posted in : Subversion


Can we have more than one struts-config.xml file for a single Struts application?


Advertisement
View Answers

November 22, 2010 at 12:49 PM


Hi friends,

Yes it is possiable in case of maintaing seperate module specific information.We can have more than one struts-config.xml for a single Struts application.

Code for web.xml.

<servlet>
<servlet-name>action</servlet-name> 
<servlet-class>    org.apache.struts.action.ActionServlet </servlet-class>
<init-param>
<param-name>config</param-name>
<param-value> /WEB-INF/struts-config1.xml, 
              /WEB-INF/struts-config2.xml, 
                 /WEB-INF/struts-config3.xml </param-value>
</init-param>
<servlet>

Thanks.



Related Tutorials/Questions & Answers:
more than one struts-config.xml file
more than one struts-config.xml file  Can we have more than one struts-config.xml file for a single Struts application
More than one Faces Configuration file
More than one Faces Configuration file  Is it possible to have more than one Faces Configuration file
Advertisements
Apply more than one xsl for single XML
Apply more than one xsl for single XML  How to apply more than one xsl for same xml file
Can a Class extend more than one Class?
Can a Class extend more than one Class?   Hi, Can a Class extend more than one Class? thanks
Hi.. how to write more than one sheets in a excel file... pls anybody help me....
Hi.. how to write more than one sheets in a excel file... pls anybody help me....  i can write only one sheet in a excel file.. but i want to write more than one sheets.. For example: first sheet have complete mean automatically
struts-config.xml
struts-config.xml  What are the important sections in Struts Configuration File ? struts-config.xml
for writting java program why we are taking more than one class
for writting java program why we are taking more than one class  for writting java program only one class is enough but why we are taking more than one class
Implementing more than one Job Details and Triggers
Implementing more than one Job Details and Triggers... will learn how to implement more than one triggers and jobs with a quartz... of more than one job details and triggers. Description of program: Here, we
Deployment on Server that can be used simultaneously by more than one user
Deployment on Server that can be used simultaneously by more than one user  Sir, I have deployed my web application developed using JSP & sevlet. how could i access it on the network using xp os. I have deployed it on Tomcat
How to get more than one value from ajax
How to get more than one value from ajax  I have multiple select list box in php. i filled the value using ajax. how to get different value to fill the same list box Ex. option value as id option name as some string
Writing more than one cards in a WML deck.
   Writing more than one cards in a deck.In this lesson
How to Display Duplicate elements from more than one List in java?
How to Display Duplicate elements from more than one List in java?  How to Display Duplicate elements from more than one List in java? //I mean common elements from two List? Ex: List a1=new ArrayList(); a1.add(50
how to handle action events in case of more than one JFrame
how to handle action events in case of more than one JFrame   I have downloaded a snake game project from the internet, initially this project contains three java files namely 1. Engine.java 2. Snake.java 3. Gameoard.java when i
How to write more than 65536 rows in single excel file but more than 1 sheets?
How to write more than 65536 rows in single excel file but more than 1 sheets?  Hi, i want to write more than 65536 rows in single excel file but more than 1 sheets.. now i can write only less than 65536 rows.. but in my office
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
struts-config.xml
struts-config.xml  i come out of the myeclipse editor and went to myeclipse/workspace folder in the c drive. i opened the web-inf folder and there i got the struts-config.xml .and when i double clikked on it .i got the error
Server side validation on dynamically generated fields from more than one table on spring framework.
Server side validation on dynamically generated fields from more than one table on spring framework.   Server side validation on dynamically generated fields from more than one table in spring mvc framework
J query event for selecting the more than one div in tablet browser(Select and drag)?
J query event for selecting the more than one div in tablet browser(Select... to select the more than one tag using the touch and drag event... than one div using the ctrl and shift in web application. But in tablet or ipad
Use of "|" separator for selecting more than one path
Use of  "|" separator for selecting more than one path... multiple expressions on an XML file with the use of XPath "|" separator. It allows you more flexibility by allowing you to execute multiple expressions
To get the value of more than one text box in an HTML page to a jsp page - JSP-Interview Questions
To get the value of more than one text box in an HTML page to a jsp page  An html file has a text box as To get the value of this text box in a JSP.... With regards   All controls(Text box, combo box....) in an html file
Error in connecting to the mySQL database in TOMCAT using more than one PC (database connection pooling)
Error in connecting to the mySQL database in TOMCAT using more than one PC...; </mime-mapping> <welcome-file-list> <welcome-file>/login.jsp</welcome-file> </welcome-file-list>
how to restrict user against marking same event more than one times - JSP-Servlet
how to restrict user against marking same event more than one times  Hi I am developing student feedback system for educational institution. Main purpose about this application is to evaluate performance of faculty. Each
struts-config.xml - Struts
struts-config.xml  in struts-config.xml i have seen some code like in this what is the meaning of "{1}". when u used like this? what is the purpose of use
how can retrieve more than one values in text field using ajax?
how can retrieve more than one values in text field using ajax?  im using php and ajax. Problem is that i want to search seat numbers bases of batch and semester condition on onchange event eg. if i search batch 2008 and semester
Advertisements
 

 

 

DMCA.com