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



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

Have Programming Question? Ask it here!
 
 
 


Clark
more than one struts-config.xml file
1 Answer(s)      3 years and 9 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
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
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 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
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
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: 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
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
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
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
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   ... 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
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
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
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
 

 

 

DMCA.com