Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
-none-

-none-

2007-09-03       - By Lane, Ron

 Back
Should I open up a JIRA issue? Please explain how to do that and what it
means.

Thanks,
Ron

-- --Original Message-- --
From: James Holmes [mailto:james@(protected)]
Sent: Thursday, August 30, 2007 5:00 PM
To: 'Struts Users Mailing List'
Subject: RE: Can you specify the name of struts.xml for Struts2?

If you find things that are documented to work and don't, please open
JIRA issues and we'll get them fixed.

James

-- --Original Message-- --
From: mraible [mailto:matt@(protected)]
Sent: Thursday, August 30, 2007 4:37 PM
To: user@(protected)
Subject: Re: Can you specify the name of struts.xml for Struts2?


It looks like the FilterDispatcher supports a "config" init-parameter as
well. However, I tried setting it to /WEB-INF/struts.xml and it didn't
work for me.

http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dis
patc
her/FilterDispatcher.html

Matt


Zarar Siddiqi wrote:
>
> The struts.configuration.files property in struts.properties at the
> root of your classpath can specify struts configuration files using a
> comma separated list, by default this property is set to:
>
> struts.configuration.files=struts-default.xml,struts-plugin.xml,struts
> .xml
>
> You can change it if you like.
>
> Zarar
>
> On 8/30/07, Lane, Ron <ron.lane@(protected)> wrote:
>> We're having a problem with Struts2 running under Jrun.
>> The 'web application class loader' in Jrun is not finding struts.xml
>> in WEB-INF/classes.
>> We can put struts.xml in the overall classpath of the Java
>> application server, but then that means only one per Java app server.
>>
>> 1. Has anyone else experienced this problem and have a solution or
>> workaround?
>> 2. In Struts-1 (See http://uts-1.ora-code.com), one could specify a name of the struts config file -
>> is there a way in web.xml to specify an alternative name of
struts.xml?
>> That way each of the web apps can specify its unique name, and even
>> though all the config files are in the overall classpath, they can be

>> unique per web app by having a unique name.
>>
>> Ron Lane
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
View this message in context:
http://www.nabble.com/Can-you-specify-the-name-of-struts.xml-for-Struts2
--tf
4355855.html#a12415685
Sent from the Struts - User mailing list archive at Nabble.com.


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.