Not sure what app you are working on, but I modified the struts-example
to put the jsp files under WEB-INF....is that what you are
doing/testing?

A zip is available for download if you would like to see it:

  http://www.open-tools.org/struts-atlanta/downloads/



--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/

"The man who does not read good books has no advantage over the man who
cannot read them."
        - Mark Twain (1835-1910)







> -----Original Message-----
> From: Micael [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, January 22, 2003 6:03 PM
> To: Struts Users Mailing List
> Subject: RE: Error Loading Application Resources in Struts 1.1
> 
> 
> Thanks, James,
> 
> It is there.  I am starting to think that the message 
> resources part of the 
> struts-config is not the problem.  The whole configuration is 
> below.  You 
> see any other troubles?
> 
> Micael mac Grene
> 
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE struts-config PUBLIC
>            "-//Apache Software Foundation//DTD Struts 
> Configuration 1.1//EN"
>            
> "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
> 
> <struts-config>
> 
> <!-- ======================================== Form Bean 
> Definitions -->
> 
>      <form-beans>
> 
>          <form-bean
>              name="logonForm"
>              type="app.LogonForm"/>
> 
>      </form-beans>
> 
> <!-- =================================== Global Forward 
> Definitions -->
> 
>      <global-forwards>
>          <forward
>              name="logoff"
>              path="/logoff.do"/>
>          <forward
>              name="logon"
>              path="/logon.do"/>
>      </global-forwards>
> 
> <!-- =================================== Action Mapping 
> Definitions -->
> 
>      <action-mappings>
> 
>          <action
>              path=/logon"
>              type="org.apache.struts.actions.ActionForward"
>              parameter="/WEB-INF/jsp/logon/logon.jsp"/>
> 
>          <action
>              path="/logonSubmit"
>              type="com.michaelmcgrady.page.action.LogonAction"
>              name="logonForm"
>              scope="request"
>              validate="true"
>              input="/WEB-INF/jsp/logon/logon.jsp">
>              <forward
>                  name="success"
>                  path="/WEB-INF/jsp/welcome/welcome.jsp"/>
>          </action>
> 
>          <action
>              path="/logoff"
>              type="com.michaelmcgrady.page.action.LogoffAction">
>              <forward
>                  name="success"
>                  path="/WEB-INF/jsp/welcome/welcome.jsp"/>
>          </action>
> 
> <!-- ======================================== Controller 
> Definitions -->
> 
> <controller contentType="text/html;charset=UTF-8"
>              debug="3"
>              locale="true"
>              nocache="true"
>              
> processorClass="org.apache.struts.action.RequestProcessor"/>
> 
> <!-- ================================= Message Resources 
> Definitions -->
> 
> <message-resources parameter="resources.application"
>                     null="false"/>
> <message-resources key="IMAGE_RESOURCE_KEY"
>                     parameter="resources.images"
>                     null="false"/>
> 
> 
> <!-- ============================================ Plugin 
> Definitions -->
> 
> <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
>    <set-property property="pathnames" 
> value="/WEB-INF/validator-rules.xml,/WEB-INF/xml/validation.xml"/>
> </plug-in>
> </struts-config>
> 
> At 05:49 PM 1/22/03 -0500, you wrote:
> 
> >Check the .war file to see if the file is actually there.
> >Make sure your build process is actually copying the files 
> to be war'd.
> >
> >It has happened in the past that my build script was not doing this.
> >
> >--
> >James Mitchell
> >Software Engineer/Struts Evangelist
> >http://www.open-tools.org/
> >
> >"The man who does not read good books has no advantage over 
> the man who
> >cannot read them."
> >         - Mark Twain (1835-1910)
> >
> >
> >
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Micael [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, January 22, 2003 5:46 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: Error Loading Application Resources in Struts 1.1
> > >
> > >
> > > Thanks for catching that, Wendy, but that was just a 
> typo.  The site
> > > actually does not have that mistake.  Any other ideas?
> > >
> > > Micael
> > >
> > > At 03:37 PM 1/22/03 -0700, you wrote:
> > > > > I have the application resources in a file called
> > > application.properties
> > > > > and that is in the following directory structure:
> > > > > [x]/WEB-INF/classes/resources/application.properties.  I
> > > have put that in
> > > > > the struts config as:
> > > > >      <message-resources parameter="resource.application"/>
> > > >
> > > >You have 'resource.application' as the parameter, but your
> > > directory name is
> > > >plural: resources.  Fix one or the other so they match.
> > > >
> > > >--
> > > >Wendy Smoak
> > > >Applications Systems Analyst, Sr.
> > > >Arizona State University PA Information Resources Management
> > >
> > >
> > >
> > > LEGAL NOTICE
> > >
> > > This electronic mail  transmission and any accompanying
> > > documents contain
> > > information belonging to the sender which may be confidential
> > > and legally
> > > privileged.  This information is intended only for the use of the
> > > individual or entity to whom this electronic mail
> > > transmission was sent as
> > > indicated above. If you are not the intended recipient, any
> > > disclosure,
> > > copying, distribution, or action taken in reliance on the
> > > contents of the
> > > information contained in this transmission is strictly
> > > prohibited.  If you
> > > have received this transmission in error, please delete the
> > > message.  Thank
> > > you
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:struts-user-> [EMAIL PROTECTED]>
> > > For
> > > additional commands,
> > > e-mail: <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> >--
> >To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> >For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> LEGAL NOTICE
> 
> This electronic mail  transmission and any accompanying 
> documents contain 
> information belonging to the sender which may be confidential 
> and legally 
> privileged.  This information is intended only for the use of the 
> individual or entity to whom this electronic mail 
> transmission was sent as 
> indicated above. If you are not the intended recipient, any 
> disclosure, 
> copying, distribution, or action taken in reliance on the 
> contents of the 
> information contained in this transmission is strictly 
> prohibited.  If you 
> have received this transmission in error, please delete the 
> message.  Thank 
> you  
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to