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

 
 


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

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 Pages:
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
struts-config.xml
struts-config.xml  What are the important sections in Struts Configuration File ? struts-config.xml
More than one Faces Configuration file
More than one Faces Configuration file  Is it possible to have more than one Faces Configuration file
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
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>
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 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
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
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
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
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
change one type of color in between more colors
to change one type of color in more than one color, It is so easy to make this example... How to change one type of color in between more colors... will like it. Open a File: Open a file to modify, I have taken here a flowers file
Exceptions - More
Java NotesExceptions - More Exceptions | Exception Usage | Exceptions - More Kinds of Exceptions There are many exceptions, but they can... are usually something that should have been prevented by more careful
Many Public Classes in One File - Java Tutorials
Many Public Classes in One File 2003-10-13 The Java Specialists' Newsletter [Issue 080] - Many Public Classes in One File Author: Dr. Heinz M. Kabutz... to. Many Public Classes in One File Some of the most common
Which method is more efficient?
Which method is more efficient?  I'm faced with initializing a bunch... them. I want to know if this is better than using several lines to initialize... String arr[] = {"Zero", "One", "Three"}; for (int i = 0; i < arr.length; i
SEND + MORE = MONEY
of magic formula is no more than 3, the number of digits of every number is no more... by exactly one space. Example Sample Input: 1 SEND + MORE = MONEY Sample Output...SEND + MORE = MONEY  Problem Description Write a program to solve
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: Hibernate Tutorial Thanks
JOptionPane - More Dialogs
Prev: JOptionPane - Simple Dialogs | Next: none Java: JOptionPane - More Dialogs Here are some more useful static methods from javax.swing.JOptionPane... // File: joptionpane-example/JOptionPaneTest2.java // Description: JOptionPanes
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... This program copies one file to another file. We will be declaring a function
Java - Copying one file to another
, and A sequence of zero or more string names. Explanation This program copies one file... Java - Copying one file to another   ... the contents from one specified file to another specified file. copyfile(String
importing excel file and drawing multiple graphs from one excel file
importing excel file and drawing multiple graphs from one excel file  ... and then plotting grph:) it really helped me:):) If you can please help me with one more thing... time from one excel file using different columns..and instead of passing column
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
Vertical Frameset in HTML
;    The Frame in HTML is used to display more than one web..., the user can select any one of the two option radio from the web page.    ... In this code we create two radio button, the user can select any one of the two

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.