You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by li...@bt.com on 2002/03/13 15:24:25 UTC
RE: Need help with JspException: Missing message for key login.ti tle
Thanks for the suggestions, but still no change. I am using Tomcat-3.3 with
Struts-1.0.2 on Windows-2000 Pro.
Struts.jar is no longer in my system classpath and is only in web-inf/lib
directory of my webapp. I have restarted the container, but still the same
story.
Any more suggestions. I'll try rebooting but I'm desperate now! Tomcat
overrides the system classpath anyway does it not?
-----Original Message-----
From: keithBacon [mailto:keithbaconstruts@yahoo.com]
Sent: 13 March 2002 13:51
To: Struts Users Mailing List
Subject: Re: Need help with JspException: Missing message for key
login.title
not sure but might be one of those where your struts.jar is in the wrong
place.
Make sure it is in your web app's WEB-INF/lib & nowhere else where the
server
could find it (ie. not on your system or server classpath).
--- Alok Kumar <al...@wipro.com> wrote:
> YOu should put one more line in Applicationproperties file that is
> login.title=some text ouyt here
>
> Alok
>
> ----- Original Message -----
> From: lindsay.hamoudi@bt.com
> Date: Wednesday, March 13, 2002 4:24 pm
> Subject: Need help with JspException: Missing message for key
> login.title
>
> > Hi everyone,
> >
> > I've just began using Struts this week and it seems very useful,
> > but I am
> > totally lost for ideas when it comes to this exception:
> >
> > "Exception in R( /struts-SACT + /login.jsp + null) -
> > javax.servlet.ServletException: Missing message for key login.title"
> >
> > I have placed my ApplicationResources.properties in the /classes
> > directoryand here's the relevant part of web.xml:
> >
> > <servlet>
> > <servlet-name>action</servlet-name>
> > <servlet-
> > class>org.apache.struts.action.ActionServlet</servlet-class>
> > <init-param>
> > <param-name>application</param-name>
> > <param-value>ApplicationResources</param-value>
> > </init-param>
> > .....
> >
> >
> > Here's my ApplicationResources.properties (it is very simple at
> > present -
> > which makes this error all the more annoying):
> >
> > error.username.required=Username is required
> > error.password.required=Password is required
> > error.database.unknown=Sorry, an unknown database error occurred
> > errors.footer=</ul><br>
> > errors.header=<h2><font color="red">Validation
> > Error</font></h2>You must
> > correct the following error(s) before proceeding:<ul>
> > login.title=SME Agent Creation Tool - User Login
> > prompt.login.username=Username
> > prompt.login.password=Password
> >
> >
> > And here's a part of my login.jsp:
> >
> > <%@ page language="java" %>
> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> > <html:html>
> > <head>
> > <title><bean:message key="login.title"/></title>
> >
> >
> > I heard that this is a common problem and that I should look at
> > the mailing
> > list archive, but I find no help there at all.
> >
> > Many thanks for any input.
> >
> > Lindsay
> >
> >
> >
> > Lindsay Hamoudi
> > Web Application Developer
> > BTexact Technologies
> >
> > e-mail: lindsay.hamoudi@bt.com
> > tel: (+44) (0)1473 605491
> > mobile: (+44) (0)7985 114296
> >
> > Orion Building (B62-MH), PostPoint 12, Adastral Park, Martlesham,
> > IpswichIP5 3RE, UK
> >
> >
> > BTexact Technologies is a trademark of British Telecommunications
> > plc
> > Registered office: 81 Newgate Street London EC1A 7AJ
> > Registered in England no. 1800000
> > This electronic message contains information from British
> > Telecommunications plc which may be privileged or confidential. The
> > information is intended to be for the use of the individual(s) or
> > entitynamed above. If you are not the intended recipient be aware
> > that any
> > disclosure, copying, distribution or use of the contents of this
> > informationis prohibited. If you have received this electronic
> > message in error, please
> > notify us by telephone or email (to the numbers or address above)
> > immediately.
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:struts-user-
> > unsubscribe@jakarta.apache.org>For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
> > **************************Disclaimer************************************
>
>
>
> Information contained in this E-MAIL being proprietary to Wipro Limited
> is 'privileged' and 'confidential' and intended for use only by the
> individual or entity to which it is addressed. You are notified that any
> use, copying or dissemination of the information contained in the E-MAIL
> in any manner whatsoever is strictly prohibited.
>
>
>
> ********************************************************************
>
> > --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Need help with JspException: Missing message for key login.ti tle
Posted by keithBacon <ke...@yahoo.com>.
1 - does anything get data from ApplicationResources successfully?
2 - Try rename struts.jar on web-inf/lib & re-start (just to prove there is no
other version - or even unzipped struts class files somewhere in the class
pth).
3 - reboot if on windows. (you have to it's traditional & really does produce a
miracle sometimes!).
4 - I am clutching at straws now!!
--- lindsay.hamoudi@bt.com wrote:
> Thanks for the suggestions, but still no change. I am using Tomcat-3.3 with
> Struts-1.0.2 on Windows-2000 Pro.
>
> Struts.jar is no longer in my system classpath and is only in web-inf/lib
> directory of my webapp. I have restarted the container, but still the same
> story.
>
> Any more suggestions. I'll try rebooting but I'm desperate now! Tomcat
> overrides the system classpath anyway does it not?
>
> -----Original Message-----
> From: keithBacon [mailto:keithbaconstruts@yahoo.com]
> Sent: 13 March 2002 13:51
> To: Struts Users Mailing List
> Subject: Re: Need help with JspException: Missing message for key
> login.title
>
> not sure but might be one of those where your struts.jar is in the wrong
> place.
> Make sure it is in your web app's WEB-INF/lib & nowhere else where the
> server
> could find it (ie. not on your system or server classpath).
>
>
> --- Alok Kumar <al...@wipro.com> wrote:
> > YOu should put one more line in Applicationproperties file that is
> > login.title=some text ouyt here
> >
> > Alok
> >
> > ----- Original Message -----
> > From: lindsay.hamoudi@bt.com
> > Date: Wednesday, March 13, 2002 4:24 pm
> > Subject: Need help with JspException: Missing message for key
> > login.title
> >
> > > Hi everyone,
> > >
> > > I've just began using Struts this week and it seems very useful,
> > > but I am
> > > totally lost for ideas when it comes to this exception:
> > >
> > > "Exception in R( /struts-SACT + /login.jsp + null) -
> > > javax.servlet.ServletException: Missing message for key login.title"
> > >
> > > I have placed my ApplicationResources.properties in the /classes
> > > directoryand here's the relevant part of web.xml:
> > >
> > > <servlet>
> > > <servlet-name>action</servlet-name>
> > > <servlet-
> > > class>org.apache.struts.action.ActionServlet</servlet-class>
> > > <init-param>
> > > <param-name>application</param-name>
> > > <param-value>ApplicationResources</param-value>
> > > </init-param>
> > > .....
> > >
> > >
> > > Here's my ApplicationResources.properties (it is very simple at
> > > present -
> > > which makes this error all the more annoying):
> > >
> > > error.username.required=Username is required
> > > error.password.required=Password is required
> > > error.database.unknown=Sorry, an unknown database error occurred
> > > errors.footer=</ul><br>
> > > errors.header=<h2><font color="red">Validation
> > > Error</font></h2>You must
> > > correct the following error(s) before proceeding:<ul>
> > > login.title=SME Agent Creation Tool - User Login
> > > prompt.login.username=Username
> > > prompt.login.password=Password
> > >
> > >
> > > And here's a part of my login.jsp:
> > >
> > > <%@ page language="java" %>
> > > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> > > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
> > > <html:html>
> > > <head>
> > > <title><bean:message key="login.title"/></title>
> > >
> > >
> > > I heard that this is a common problem and that I should look at
> > > the mailing
> > > list archive, but I find no help there at all.
> > >
> > > Many thanks for any input.
> > >
> > > Lindsay
> > >
> > >
> > >
> > > Lindsay Hamoudi
> > > Web Application Developer
> > > BTexact Technologies
> > >
> > > e-mail: lindsay.hamoudi@bt.com
> > > tel: (+44) (0)1473 605491
> > > mobile: (+44) (0)7985 114296
> > >
> > > Orion Building (B62-MH), PostPoint 12, Adastral Park, Martlesham,
> > > IpswichIP5 3RE, UK
> > >
> > >
> > > BTexact Technologies is a trademark of British Telecommunications
> > > plc
> > > Registered office: 81 Newgate Street London EC1A 7AJ
> > > Registered in England no. 1800000
> > > This electronic message contains information from British
> > > Telecommunications plc which may be privileged or confidential. The
> > > information is intended to be for the use of the individual(s) or
> > > entitynamed above. If you are not the intended recipient be aware
> > > that any
> > > disclosure, copying, distribution or use of the contents of this
> > > informationis prohibited. If you have received this electronic
> > > message in error, please
> > > notify us by telephone or email (to the numbers or address above)
> > > immediately.
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail: <mailto:struts-user-
> > > unsubscribe@jakarta.apache.org>For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > >
> > >
> >
> > > **************************Disclaimer************************************
> >
> >
> >
> > Information contained in this E-MAIL being proprietary to Wipro Limited
> > is 'privileged' and 'confidential' and intended for use only by the
> > individual or entity to which it is addressed. You are notified that any
> > use, copying or dissemination of the information contained in the E-MAIL
> > in any manner whatsoever is strictly prohibited.
> >
> >
> >
> > ********************************************************************
> >
> > > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> =====
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Search the archive:-
> http://www.mail-archive.com/struts-user%40jakarta.apache.org/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Keith Bacon - Looking for struts work - South-East UK.
> phone UK 07960 011275
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>