not necessarily. make sure that you have your applications classes and struts available within one class-loader. Either use the web-application classloader (WEB-INF/lib, WEB-INF/classes and maybe other dirs configurable) or use the system-classloader (eg. under wls, jrun) or the shared classloader under Tomcat.
Or modify the struts-code exchanging every forName(className) with forName(className,true,Thred.currentThread().getContextClassLoader()) Then you can have the classes in different class-loaders... hth Alexander -----Original Message----- From: keithBacon [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 13. M�rz 2002 14: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 <[EMAIL PROTECTED]> wrote: > YOu should put one more line in Applicationproperties file that is > login.title=some text ouyt here > > Alok > > ----- Original Message ----- > From: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > > 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- > > [EMAIL PROTECTED]>For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > > > > **************************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: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> ===== ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: <mailto:[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]>

