if we have 2 struts-config files

if we have 2 struts-config files

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.









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
Do we have AI yet?
Do we have AI yet?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: Do we have AI yet... the topic "Do we have AI yet?". Also tell me which is the good training
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
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
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... Core 2 Linux CDs. You have to pay only for the CD and S&H (Shipping
Struts 2 configuration files
Struts 2 configuration files       For developing "Hello World" application you need the following files... Configuration File: Struts 2 uses the struts.xml file for configuring
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  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
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.   ...[]=new String[2]; for(int i=0;i<f.length;i++){ f[i]=input.next
files
/core/files/storeobjectsinFile.html
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... Login Form in Struts 2.3.16
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
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
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 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
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 Date Example!<
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
Files
files
files
files
files
Struts 2 Login Application
Struts 2 Login Application       Developing Struts 2 Login Application In this section we are going to develop login application based on Struts 2 Framework. Our current login application
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
Introduction to Struts 2 Tags
. In this page we will have listed all the Struts 2 Tags and in subsequent sections we... Struts 2 Tags       In this section we will introduce you with the tags provided along with Struts 2 framework
header files
header files   do you have a all header files of java
Magicbox 2
Magicbox 2  how to build this? import java.util.*; class magicbox...; } } } } v15=a[0][0]+a[0][1]+a[0][2]==15 && a[1][0]+a[1][1]+a[1][2]==15 && a[2][0]+a[2][1]+a[2][2]==15 &&
Struts 2
Struts 2  I am getting the following error.pls help me out. The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has
new 2
new 2  <%@page import="java.util.ArrayList"%> <%@page...; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2 sevelet @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@2 import java.io.IOException; import java.io.PrintWriter; import
Struts 2 datetimepicker Example
Struts 2 datetimepicker Example       In this section we will show you how to develop datetimepicker in struts 2. Struts 2 uses the dojo toolkit for creating date picker. In Struts 2 its very easy
Uploading files
Uploading files  Hi, Please provide html code for my question. I need to insert the browsed files temporarily to text area while attaching more than one files during mailing
validation files
validation files  If I place validation files in the folder where the action classes are present,will there any error arise
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
Creating configuration files
Creating configuration files        For the application, we need two files in WEB-INF folder...   Make sure you have these two otherwise you need to create them.ADS
Introduction to Struts 2
. This section we are discussing the new features, struts 2 basics and architecture..._TO_REPLACE_2 Here we are explaining the architecture of Struts 2 Framework. Struts 2...Introduction to Struts 2      
Architecture of Struts 2 Framework
Architecture of Struts 2 Framework In this chapter we will discuss about the Architecture and Lifecycle of Struts 2. This Struts 2 Architecture is based... have specific roles and responsibilities. Struts 2 framework is Open source
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
Comparing the File Dates
we have the option to compare two or more files. This is useful when we have... to understand it.  To  make a program on this example firstly we have to make a class ComparingFileDates. Inside the class we have defined three static
Web 2
are the biggest examples of Web 2.0. Definitions and Components As we have already mentioned that Web 2.0 has not any specific definition. Many users have defined its... of Web 2.0 have defined it according to their uses, observations and experiences
Web 2
2.0 tools are endless even though we can say that the new generation of Internet... as they have no knowledge about it. Overall, many people and companies use it but they don
Web 2
. Descriptive list of Web 2.0 tools are endless even though we can say that the new... uses it by default as they have no knowledge about it. Overall, many people
Echo 2
Echo 2       Echo 2 allows you to code Ajax apps in pure Java (Demo)which automatically generates HTML and Javascript. Read full DescriptionADS_TO_REPLACE_1
Struts 2 Hello World Application Example, Learn how to develop Hello World application in struts 2.
; In this section we will develop Hello World application based on Struts 2... developing applications based on Struts 2 Framework. We are here providing... utility to store compiled java files. Now we have successfully created
FireFox 2
FireFox 2       The award... to do on the Web, and Firefox 2 is full of helpful features to make your... Add-ons that enhance Firefox. It?s easy to personalize Firefox 2
Thunderbird 2
Thunderbird 2       Mozilla?s Thunderbird 2 email application is more powerful than ever. It?s now... Information Organized Thunderbird 2 features many new enhancements to help

Ads