struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alonso, Damian" <Damian.Alo...@sensis.com.au>
Subject RE: <html:errors/> not showing anything!
Date Tue, 25 Mar 2003 23:14:19 GMT

It was Struts 1.1 RC1.

-----Original Message-----
From: Karr, David [mailto:David.Karr@wamu.net] 
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:Damian.Alonso@sensis.com.au]
> 
> 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:David.Karr@wamu.net]
> 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:Damian.Alonso@sensis.com.au]
> >
> > 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


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

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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message