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?

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
struts-config.xml
struts-config.xml  What are the important sections in Struts Configuration File ? struts-config.xml
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
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:ADS
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 (adsbygoogle
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
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
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
Writing more than one cards in a WML deck.
   Writing more than one cards in a deck.In this lesson
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
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
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
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 struts-config.xml
error in struts-config.xml  i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http
error in struts-config.xml
error in struts-config.xml  i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http
error in struts-config.xml
error in struts-config.xml  i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http
error in struts-config.xml
error in struts-config.xml  i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http
error in struts-config.xml
error in struts-config.xml  i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http
error in struts-config.xml
error in struts-config.xml  i am using myclipse editor and while developing proj in struts 1.3.8 the struts-config.xml is giving eror like The system cannot locate the resource specified. Error processing resource 'http
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
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-type> </mime-mapping> <welcome-file-list>...-file-list> </web-app> and connected with the following code public
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
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
Is Python more powerful than C++?
Is Python more powerful than C++?  Hi, I am beginner in Data Science...: Is Python more powerful than C++? Try to provide me good examples or tutorials links so that I can learn the topic "Is Python more powerful than C++?"
More than 1 preparedStatement object - Java Beginners
More than 1 preparedStatement object  Hey but I want to use more than one prepared Statement object using batch update.. Explain with a code using java... Thanks  Hi Friend, You can use more than one prepared
problem in sending more than 500 values to a jsp page
problem in sending more than 500 values to a jsp page  when i am trying to send more than 500 values from a html form to a jsp page browser is showing that server is not sending any data...I have configured tomcat5.5
mapping between java class and more than 2 tables
mapping between java class and more than 2 tables  Association mapping of table in hibernate   Hi Friend, Please visit the following link:ADS_TO_REPLACE_1 Hibernate Tutorial Thanks
can i restrict a class that it will not allows create more than two objects - Java Interview Questions
can i restrict a class that it will not allows create more than two objects  hi all, can i restrict a class that it will not allows create more than two objects can any help me please. Thaks bala k
converting one file format to another
converting one file format to another  Hi ser I need a code to export data from data grid to PDF and XL format plz help me out
Copy one file into another
Copy one file into another In this section, you will learn how to copy content of one file into another file. We will perform this operation by using...;This string is copied from one file to another\n"); bf.close(); InputStream
how to write greater than symbol in a file using java
how to write greater than symbol in a file using java  Hello I want to write < and > symbol in a file but its coming like > and < Please... and write the CData from an xml file but not able to print the value of CData
Java - Copying one file to another
Java - Copying one file to another   ... how to copy contents from one file to another file. This topic is related.... Explanation This program copies one file to another file. We
select one item name throug combo box than other combobox show item price
select one item name throug combo box than other combobox show item price  i have one table in database item master..if i select one item name through combo box than other combobox show item price only select item name... how i
Java - Copying one file to another
Java - Copying one file to another   ... copies one file to another file. We will be declaring a function called copyfile which copies the contents from one specified file to another specified file
File copy from one directory to another in java
File copy from one directory to another in java  I am trying to find very good code example for copying a file from one directory to another directory in Java. I have to write a program in my application for copying one file
how to write build file for one project - Ant
how to write build file for one project   hi This is kishore, i want to know how to write build file for one sample project in java. if u... are providing some links to you from where you will get to know creating a build.xml file

Ads