if we have 2 struts-config files

Ads

 
 

Share on Google+Share on Google+

ram
if we have 2 struts-config files
1 Answer(s)      8 years ago
Posted in : Struts
Ads
View Answers

October 17, 2008 at 10:54 AM


Hi,


No we cannot have 2 struts-config.xml files. In one case we can use 2 struts-cofig.xml files with some minor change in the file name. i e we can use strtus-config-<module-name>.xml. eg struts-config-admin.xml. Here admin refers to the module name in u r project. and this xml file in deployed in web-inf folder(same as struts-config.xml file).


-------------------------------------


Visit for more information.

http://www.roseindia.net/struts/

Thanks.

Ads









Related Tutorials/Questions & Answers:
if we have 2 struts-config files - Struts
if we have 2 struts-config files  if we have declared 2 struts-config.xml files with same action mapping and forward? what will happen. if we have..., No we cannot have 2 struts-config.xml files. In one case we can use 2
Web Service - Which files we have to give to client and how they will use that
Web Service - Which files we have to give to client and how they will use... this web service or want to give it to client , for that which files i have to give... and have to use it, how we call this in jsp/servlet 3) Which type of response we
Advertisements
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only  We just have one file on the hard disk. But we can create directories, sub-directories and files in that file
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only
We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only  We just have one file on the hard disk. But we can create directories, sub-directories and files in that file
Compare 2 files
Compare 2 files  I would like to compare 2 files in Java. please send... to compare these files and print the diffrence by comparing the report name... file 1 and 2. The file name will normally be the last 16 characters of a line
How Compare 2 xml files with JDOM - Java Beginners
How Compare 2 xml files with JDOM  Hi I'm want help on how can I compare 2 xml files using JDOM in java and identify whether have the same content or not My files can simply be File1 File2
can we use include files in struts.....? - Struts
can we use include files in struts.....?  hi, i have a doubt that whether we should not redirect from one jsp to another jsp directly using include r jsp:include directives. I heard that it is violation of struts rules if we
We are providing Fedora Cord 2 Linux CD's .
Fedora Core 2 Linux Now Available Fedora Cord2 CD's We are providing the free downloadable version of Fedora Core 2 CDs, which is distributed under GNU... OpenOffice.org 1.1.1 Mozilla 1.6 We are providing Fedora Core 2 Linux CDs
Struts 2 configuration files
Struts 2 configuration files       For developing "Hello World" application you need the following files...: Struts 2 uses the struts.xml file for configuring the application. Create
defined actions in struts config still getting a HTTP 404 - Struts
defined actions in struts config still getting a HTTP 404  Hi guys, I am getting an Invalid Path requested error. Heres the code snippet from struts-config.xml All the JSPs in the forward
which values we have to use for compressing any color image
which values we have to use for compressing any color image  Sir........... in the process of compressing of any color image, which values do use as input for comprseeing algorithm. and how to get the image matrix from color
files
files  write a java program to calculate the time taken to read a given number of files. file names should be given at command line.   ...); System.out.println("Enter File names: "); String f[]=new String[2
files
/core/files/storeobjectsinFile.html
Generate Image Files
Generate Image Files       This section illustrates you how to generate image files. For this, we have used the class ImageIO which provides methods for locating ImageReaders
files
files  Question:How to create a new text file in another directory..(in which .class file is not there)... Discription:If we use the class FileWriter to write data to a new file then a new file
Struts 2 Tutorials - Struts version 2.3.15.1
Here we have discussed the improvements and bug fixes in the Struts 2...Struts 2 Tutorials - Struts version 2.3.15.1 Struts 2 Tutorials covered in this section is developed using the latest version of Struts 2 framework. Latest
which path we have to give in order to upload a file from any where in the system
which path we have to give in order to upload a file from any where... to specifying a path in the code from that path only it is taking image . what i have...;table border="0" bgcolor=#ccFDDEE> <tr> <center> <td colspan="2
Struts 2 Login Application
Examples of writing and testing Login Applications in Struts 2 framework... of storing the user details in the website. So, in the step by step tutorial we... in Struts 2.3.16
header files
header files   do you have a all header files of java
Struts 2 Date Format Examples
Struts 2 Date Format Examples       In this tutorial you will learn about Date Format function in Struts 2. We...; <html> <head> <title>Struts 2 Format
Resource files in iphone
Resource files in iphone  hiii how can we use resource files in iphone development ???   hello, if you want to use any file in your application the first you have to added it in your resource folder .. right click
Struts 2 Date Examples
In this tutorials you will learn about Date Format function in Struts 2. We have provided... Struts 2 Date Examples       In this section we will discuss the date processing functionalities available in the Struts 2
Java Concatenate files
or by manual coding. We have used the latter one. You can see in the given example, we have listed the files using listFile() from a particular directory. And then using the getPath() method, we have referred all the listed files
Struts 2
Struts 2  we can extend DispatchAction class to implement a common session validation in struts 1.x. how to do the same in the struts2
use is of 2
use is of 2  why we use 2 in "Integer.parseInt(str,2);" for binary to decimal conversion..??   ya i got it... because binary contain only two o and 1...so here use 2...same as octal has 8
Java read multiple files
Java read multiple files In this section you will learn how to read the data of multiple files. Here we have created four files that includes information.... We have to find the students according to particular school from all the files
Still have the same problem--First Example of Struts2 - Struts
Files ....... WebInf .......... LibFolder---> contain Struts Library... of struts-config file in this structure put ur file...Still have the same problem--First Example of Struts2  Hi I tried
Struts 2
Struts 2   I am just new to struts 2 and need to do the task. I have a requirement like this : when i click on link like Customer... will have two buttons like add and edit and a data grid will have the radio
Java count files in a directory
only files in a directory. You have learnt various file operations. Here we... directory. But we have to count the number of files so we have initialized... in the given example, we have created an instance of File class and specify a directory
Struts 2 online tutorial
Struts 2 online tutorial  Where to learn struts 2 online tutorial? Is there any good tutorials on roseindia.net for learning struts 2 online tutorial?   Yes, We have many tutorials for learning Struts 2 online through
Struts 2 Video Tutorial
Tutorial. On our website we have many video tutorials on Struts 2. There all tutorials...Struts 2 Video Tutorial  I think its easy to learn from Struts 2 Video Tutorial. What is the url of Struts 2 Video Tutorial on roseindia.net website