thanks for that.
do i still need the declaration of ApplicationResources when i have defined it in struts-config.xml
with message resources tag.
if not, what else could be causing this problem
thanks ajay
From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: element type null Date: Tue, 21 Oct 2003 16:10:10 +1000
I don't know if that's right - I had a similar problem though until I put this in my web.xml But I assumed that your properties file is, like mine, in WEB-INF/classes/resources/ApplicationResources.properties
sorry, I should have been more explicit in what I meant.
<init-param> <param-name>application</param-name> <param-value>resources.ApplicationResources</param-value> </init-param>
maybe you need this:
<init-param> <param-name>application</param-name> <param-value>resources.ApplicationResources</param-value> </init-param>
Heya Gosper CSC Australia 212 Northbourne Ave, Braddon ACT 2612 Ph: +61 (0) 2 6246 8155 Fax: +61 (0) 2 62468100 MOB: 0401 611779 ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of
e-mail for such purpose. ----------------------------------------------------------------------------------------
"ajay brar" <[EMAIL PROTECTED]> 21/10/2003 02:15 PM Please respond to "Struts Users Mailing List"
To: [EMAIL PROTECTED] cc: Subject: Re: element type null
hi! tried that but didn't work i dont know about the reserved word, all struts-examples seem to use it :-) the error i posed is what i get in the log file, when i try to deploy it. after deploying(successfully?) i get the error cant find bean message resource any ideas. i know its something with the deployment descriptor, but cant figure out what. the web.xml below looks fine to me
thanks cheers ajay
>From: "Martin Gainty" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: Re: element type null >Date: Mon, 20 Oct 2003 20:26:52 -0400 > >my web-app has a id e.g. ><web-app id="WebApp"> > >Also is it wise to call servlet "action" >I thought "action" was a reserved name? > >-M > >----- Original Message ----- >From: "ajay brar" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, October 20, 2003 8:18 PM >Subject: element type null > > > > hi! > > i am getting the following error, when i try to deploy my application > > Element type null must be followed by either attribute specification ">" >or > > "/>" > > > > could anyone help please. > > my web.xml looks like this > > <?xml version="1.0" encoding="ISO-8859-1"?> > > > > <!DOCTYPE web-app > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > > "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> > > > > <web-app> > > > > > > <!-- Action Servlet Configuration --> > > <servlet> > > <servlet-name>view</servlet-name> > > ><servlet-class>org.apache.struts.action.ActionServlet</servlet-class> > > <init-param> > > <param-name>config</param-name> > > <param-value>/WEB-INF/struts-config.xml</param-value> > > </init-param> > > <init-param> > > <param-name>debug</param-name> > > <param-value>3</param-value> > > </init-param> > > <init-param> > > <param-name>detail</param-name> > > <param-value>3</param-value> > > </init-param> > > <load-on-startup>2</load-on-startup> > > </servlet> > > > > <servlet> > > <servlet-name>action</servlet-name> > > ><servlet-class>org.apache.struts.action.ActionServlet</servlet-class> > > <init-param> > > <param-name>config</param-name> > > <param-value>/WEB-INF/struts-config.xml</param-value> > > </init-param> > > <init-param> > > <param-name>debug</param-name> > > <param-value>3</param-value> > > </init-param> > > <init-param> > > <param-name>detail</param-name> > > <param-value>3</param-value> > > </init-param> > > <load-on-startup>2</load-on-startup> > > </servlet> > > > > > > > > <!-- Action Servlet Mapping --> > > <servlet-mapping> > > <servlet-name>view</servlet-name> > > <url-pattern>*.view</url-pattern> > > </servlet-mapping> > > > > <servlet-mapping> > > <servlet-name>action</servlet-name> > > <url-pattern>*.do</url-pattern> > > </servlet-mapping> > > > > > > <!-- Struts Tag Library Descriptors --> > > <taglib> > > <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> > > <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> > > </taglib> > > > > <taglib> > > <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri> > > <taglib-location>/WEB-INF/struts-html.tld</taglib-location> > > </taglib> > > > > <taglib> > > <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri> > > <taglib-location>/WEB-INF/struts-logic.tld</taglib-location> > > </taglib> > > <taglib> > > <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri> > > <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location> > > </taglib> > > > > </web-app> > > > > thanks > > cheers > > Ajay > > > > _________________________________________________________________ > > ninemsn Premium transforms your e-mail with colours, photos and animated > > text. Click here http://ninemsn.com.au/premium/landing.asp > > > > > > --------------------------------------------------------------------- > > 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] >
_________________________________________________________________ Chat via SMS. Simply send 'CHAT' to 1889918. 33c per message sent. Free to
receive. More info at http://ninemsn.com.au/mobilemania/MoChat.asp?blipid=6800
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

