Alas, the problem has been solved!!

The problem was that because I am also using tiles, I had copied the
following part from the tiles example bundled in Struts 1.1RC1 into my
'web.xml'

<!-- Added as a trick for a bug in Struts -->
    <init-param>
      <param-name>application</param-name>
 
<param-value>org.apache.struts.webapp.tiles.dev1-1.ApplicationResources</par
am-value>
    </init-param>

It was being specific to the example.  I now have changed it to

<init-param>
      <param-name>application</param-name>
      <param-value>resources.application</param-value>
</init-param>

And it works fine.  Trick was to also add it to my web.xml file, not just my
struts-config.xml file.

Thanks for the responses.

Damian.

-----Original Message-----
From: Karr, David [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 26, 2003 10:08 AM
To: Struts Users Mailing List
Subject: RE: <html:errors/> not showing anything!

After you wrote this, I tried to get a new version of that utility, and
the download link is working fine.

On your original problem, exactly what version of Struts are you using?
Is it 1.1RC1, or the nightly build?

> -----Original Message-----
> From: Alonso, Damian [mailto:[EMAIL PROTECTED]
> 
> Yes I do have the file 'application.properties' in my
> WEB-INF/classes/resources folder.  Unfortunately I could not download
that
> tool you suggested (must be a missing link in their site) so any other
> suggestions would be grateful.
> 
> Thanks for the feedback,
> 
> Damian.
> 
> -----Original Message-----
> From: Karr, David [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 26, 2003 9:50 AM
> To: Struts Users Mailing List
> Subject: RE: <html:errors/> not showing anything!
> 
> And in your deployed WAR file, a file named "application.properties"
is
> in the directory "WEB-INF/classes/resources"?
> 
> In times like this, if I can't figure out why something isn't finding
a
> file I think it should find, I like to set up a "file I/O monitor",
that
> basically tracks all system calls, and allows filtering or searching
for
> various strings in the output.  In Windows, I tend to use a tool
called
> "FileMon", you can get from http://www.sysinternals.com.  Unices have
> similar tools.
> 
> > -----Original Message-----
> > From: Alonso, Damian [mailto:[EMAIL PROTECTED]
> >
> > I currently have a Struts 1.1 application that I am currently moving
> to
> > use
> > frames and tiles.  I am still not sure if my <html:errors/> is not
> working
> > because I am using frames, or because it is not reading the
> > application.properties.  This is where I need your help! :-)
> >
> > When I expect an error, I was getting the expected error on my form
> page.
> > As read in other posts, I wanted to check if my errors where
actually
> > getting processed, so in my struts-config.xml file, I added the
> following
> > to
> > my message-resources definition.
> >
> > <message-resources parameter="resources.application" null="false"/>
> >
> > After putting the null="false", I was able to get my Error Key to
> appear
> > in
> > the page but it didn't translate to the message I have in my
> > application.properties file.
> >
> > This is what I now see:
> >
> > ???en_US.ALL_FIELDS_NULL???
> >
> > Any ideas on why I cannot see my error messages??
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> www.sensis.com.au
> 
> A leading Australian advertising, information
> and directories business.
> 
> www.yellowpages.com.au
> www.whitepages.com.au
> www.citysearch.com.au
> www.whereis.com.au
> www.telstra.com.au
> 
> This email and any attachments are intended only for the use of the
> recipient and may be confidential and/or legally privileged.
> Sensis Pty Ltd disclaims liability for any errors, omissions, viruses,
> loss and/or damage arising from using, opening or transmitting this
email.
> If you are not the intended recipient you must not use, interfere
with,
> disclose, copy or retain this email and you should notify the sender
> immediately by return email or by contacting Sensis Pty Ltd by
telephone
> on [+61 3 9201 4888]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

www.sensis.com.au

A leading Australian advertising, information 
and directories business. 

www.yellowpages.com.au
www.whitepages.com.au
www.citysearch.com.au
www.whereis.com.au
www.telstra.com.au

This email and any attachments are intended only for the use of the recipient and may 
be confidential and/or legally privileged.
Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or 
damage arising from using, opening or transmitting this email.
If you are not the intended recipient you must not use, interfere with, disclose, copy 
or retain this email and you should notify the sender immediately by return email or 
by contacting Sensis Pty Ltd by telephone on [+61 3 9201 4888]

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

Reply via email to