hi!
the exception on the webpage is
org.apache.jasper.JasperException: Cannot find message resources under key org.apache.struts.action.MESSAGE


the error in the log file is
Element type null must be followed by either attribute
specification ">" or"/>"

as i said its a parse error, i cant find it anywhere
any help would be immensely great

cheers
ajay


From: "ajay brar" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: element type null
Date: Tue, 21 Oct 2003 14:15:33 +1000

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]


_________________________________________________________________
E-mail just got a whole lot better. New ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp



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



Reply via email to