struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chakradhar Tallam <c.tal...@objectconsulting.com.au>
Subject RE: where is ApplicationResources.properties defined?
Date Fri, 12 Jul 2002 00:23:04 GMT
make sure u got

    <servlet>
		.
		.
		.
        <init-param>
            <param-name>application</param-name>
            <param-value>ApplicationResources</param-value>
        </init-param>
		.
		.
		.
    </servlet>

in ur web.xml

CT

-----Original Message-----
From: bryan hansen [mailto:bh5k@yahoo.com]
Sent: Friday, 12 July 2002 10:22 AM
To: Struts Users Mailing List
Subject: Re: where is ApplicationResources.properties defined?


I am running into similar problems, but I have
verified that my ApplicationResources.properties file
is infact included in my classes directory. I still
can not find items that are listed in the properties
file. Any suggestions?

Bryan


--- Kevin.Bedell@sunlife.com wrote:
> 
> The ApplicationResources.properties needs to be on
> your classpath - which
> implies being in the classes directoy.
> 
> If your 'clean' operation wipes out the classes
> directory, then your
> 'build' operation needs to copy the .properties
> files back again.
> 
> For examples of how to do this, examine the example
> applications delivered
> with Struts. Also, review the build file for the web
> applications (
> build-webapp.xml) to see how the web app is built.
> 
> If you have specific quesitons on the build process
> and how the .properties
> file(s) get copied, post them back to the list and
> someone will help -
> 
> Best of luck,
> 
> Keivn
> 
> 
> 
> 
> 
> 
> 
> Struts Newsgroup (@Basebeans.com) <struts on
> 07/11/2002 07:40:02 PM
> 
> Please respond to "Struts Users Mailing List"
>        <struts-user@jakarta.apache.org>
> 
> To:    struts-user@jakarta.apache.org
> cc:     (bcc: Kevin Bedell/Systems/USHO/SunLife)
> Subject:    where is ApplicationResources.properties
> defined?
> 
> 
> Subject: where is ApplicationResources.properties
> defined?
> From: "David Chu" <davidchu@aol.net>
>  ===
> I am very confused on how to define a new path for
> the file currently named
> "ApplicationResources.properties"  I did not see any
> definition in either
> web.xml nor struts-confug.xml.   Specifically, is
> there any way to define
> it
> to live outside of the "WEB-INF/classes" directory? 
> (this is because a
> clean operation deletes my whole classes directory,
> including the
> ApplicationResources.properties file!)  Thanks very
> much for the help.
> 
> 
> --
> -david
> 
> ------------------------------
> David C. Chu
> America Online
> Network Tools Intern
> ------------------------------
> 
> 
> 
> --
> To unsubscribe, e-mail:   <
> mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <
> mailto:struts-user-help@jakarta.apache.org>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message