Home Answers Viewqa Struts if we have 2 struts-config files

 
 


ram
if we have 2 struts-config files
1 Answer(s)      4 years and 7 months ago
Posted in : Struts

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 Pages:
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
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
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
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
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  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
Features of Jsp 2
is fully compatible with JSP1.2. These features have been added to make the life.... Mostly it contains the logic of the program. Scripting elements have three... in scriptfree JSP pages: 1). By using a page directive: We can enable EL
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 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
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. 1
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
Uploading Multiple Files Using Jsp
. As we have to upload multiple files so we need enctype. This is used to determine... to understand how you can upload multiple files by using the Jsp. We should avoid... a file. In this example we are going to tell you how we can upload multiple files
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
Struts 2 zero configuration,Struts 2 zero configuration Example
to configure the actions we have to just specify the packages and Struts 2 will read...Struts 2 Zero Configuration This section discusses Struts 2 zero configuration feature with example. The Struts 2 zero configuration is another very
Struts 2 Guide
learning Struts 2. We will follow the following steps to develop the application...; Congratulations you have successfully installed struts 2 blank application to start... will be used by ant build utility to store compiled java files. Now we have successfully
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
Struts 2 Hello World Application Example, Learn how to develop Hello World application in struts 2.
directories, as we don't need these files that comes with struts 2 blank...; In this section we will develop Hello World application based on Struts 2... developing applications based on Struts 2 Framework. We are here providing
Struts 2 Tutorial
In this section we will create directory structure of our Struts 2 Hello World....    Struts 2 xml configuration file In this section we... Application in Struts 2 In this section we are going to develop login
Struts 2 Hello World Example
how to develop 'Hello World' application in Struts 2 framework. We are developing this tutorial using the Eclipse IDE. This Struts 2 video tutorial...Struts 2 Hello World Example - Video Tutorial that shows how to create Hello
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
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
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
Struts 2 problem - Struts
Struts 2 problem  Hello I have a very strange problem. I have an application that we developed in JAVA and the application works ok in Windows... seemed to worked fine, until the user reported to us a problem. After doing
Struts 2 File Upload
to add the support for uploading files in the Struts applications. The Struts 2 File... Struts 2 File Upload       In this section you will learn how to write program in Struts 2 to upload the file
Struts 2 issue
Struts 2 issue  hi, I have one jsp page and having one hidden field methodName and when we submit request we get value in action class and again i... to same action now problem is when we submit request first time e.g value
code for serching files and folders
and location...and one more thing we have to create new thread for each file or folder presented in local system...if we go inside that file and there are more...code for serching files and folders  i want to create a code in java
Moire Pattern 2 Java
Moire Pattern 2 Java   textWhat you are seeing in the screenshot.... The circles have a width of 5, and the diameter of a circle is 20 pixels larger...; g2.setColor(Color.black);g2.fillOval(centerX, centerY - ovalWidth / 2, 300, ovalWidth
Uploading Multiple Files Using Jsp
. As we have to upload multiple files so we need enctype. This is used to determine... to understand how you can upload multiple files by using the Jsp. We should avoid... a file. In this example we are going to tell you how we can upload multiple files
Dynamic include of multiple files
of small files, based on a string. For instance, if the string was: String fileString... theoretically possible? Does anyone have any examples of something similar working... the file name be a variable value, and then (2) do that in a loop. So, IF I could do
Struts 2, JPA and Hibernate Training
in Struts 2 Struts 2 configuration files Deploying Struts... Struts 2, JPA and Hibernate Training       Learn Struts 2, JPA and Hibernate in a combined 5 day online course that makes
Struts 2 Architecture - Detail information on Struts 2 Architecture
. In this section we have learnt about the Architecture of Struts 2 Framework.  ... Struts 2 Architecture       Struts and webwork has joined together to develop the Struts 2 Framework. Struts 2 Framework
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 Training
. In this section we are going to explain you the architecture of Struts 2 Framework... Struts 2 Training       The Struts 2 Training for developing enterprise applications with Struts 2 framework. Course
Mutliple files upload
Mutliple files upload  <%@page contentType="text/html...","Struts","Hibernet","Springs","JSP","Servlet","JavaScript"); listValue = new Array("CoreJava","J2EE","J2SE","Struts","Hibernet","Springs","JSP
Mutliple files upload
Mutliple files upload  <%@page contentType="text/html...","Struts","Hibernet","Springs","JSP","Servlet","JavaScript"); listValue = new Array("CoreJava","J2EE","J2SE","Struts","Hibernet","Springs","JSP
Mutliple files upload
Mutliple files upload  <%@page contentType="text/html...","Struts","Hibernet","Springs","JSP","Servlet","JavaScript"); listValue = new Array("CoreJava","J2EE","J2SE","Struts","Hibernet","Springs","JSP
Mutliple files upload
Mutliple files upload  <%@page contentType="text/html...","Struts","Hibernet","Springs","JSP","Servlet","JavaScript"); listValue = new Array("CoreJava","J2EE","J2SE","Struts","Hibernet","Springs","JSP
Mutliple files upload
Mutliple files upload   <%@page contentType="text/html...","Struts","Hibernet","Springs","JSP","Servlet","JavaScript"); listValue = new Array("CoreJava","J2EE","J2SE","Struts","Hibernet","Springs","JSP
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
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
Self-reloading XML Property Files - Java Tutorials
the XML files have been edited. To start, I use an interface that I...Self-reloading XML Property Files 2004-09-30 The Java Specialists' Newsletter [Issue 095] - Self-reloading XML Property Files Author: Dr. Heinz M
Struts 2 tutorial for beginners with examples
Struts 2 tutorial for beginners with examples  Where is the Struts 2..., We have collection of many tutorials for beginners on our website. You can learn and understand the core concepts of Struts. View Struts 2 tutorial
Self-reloading XML Property Files - Java Tutorials
Self-reloading XML Property Files 2004-10-01 The Java Specialists' Newsletter [Issue 095b] - Follow-up: Self-reloading XML Property Files Author: Dr. Heinz M. KabutzJDK version: Sun JDK 1.5.0-rc If you are reading this, and have
Class files for Jfreechart - JSP-Servlet
Class files for Jfreechart  Respected Sir/Madam, I am Ragavendran.R.. I have downloaded Jfreechart 1.0.13 in my system for performing Charting application in JSP.. I have also compiled around 100 files for it.. Though

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.