struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc L. Veary" <m...@mlveary.demon.co.uk>
Subject RE: Message Resources Problem?
Date Fri, 13 Jun 2003 15:47:11 GMT
Aha!

There seems to have been something odd about the DOCTYPE defined in the
struts-config.xml

The Struts Console could not read the file.  So, I re-did the DOCTYPE and...

No more exceptions!

Many thanks.

Kind regards,
--
Marc

-----Original Message-----
From: James Mitchell [mailto:jmitchell@apache.org]
Sent: 13 June 2003 16:21
To: Struts Users Mailing List
Subject: Re: Message Resources Problem?


Ok, first thing I would do is verify that the entry for your struts-config
is correct in your web.xml.
Next thing I would do is deploy the ear expanded instead of packaged and
play around with various settings.....such as moving around the elements in
the struts-config (in case you've gotten them out of order.  Touch the
web.xml and JBoss will instantly redploy your app.

Verify the struts-config by using the Struts Cosole by James Holmes:

http://jamesholmes.com/struts


Hope this helps

--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
770-822-3359
AIM:jmitchtx


----- Original Message -----
From: "Marc L. Veary" <marc@mlveary.demon.co.uk>
To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
Sent: Friday, June 13, 2003 11:08 AM
Subject: RE: Message Resources Problem?


> I am using ant to automate a WAR contained in an EAR and this is then
copied
> directly to the deploy directory of JBoss.
>
> Regards,
> --
> Marc
>
>
> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org]
> Sent: 13 June 2003 16:01
> To: Struts Users Mailing List
> Subject: Re: Message Resources Problem?
>
>
> Marc, are you deploying a .war file or do you use the exploded format?
>
>
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://www.struts-atlanta.org
> 770-822-3359
> AIM:jmitchtx
>
>
> ----- Original Message -----
> From: <harm@informatiefabriek.nl>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Friday, June 13, 2003 10:53 AM
> Subject: Re: Message Resources Problem?
>
>
> > Hi Marc,
> >
> > I have pretty much the same configuration as you do (jboss, struts,
> > jdk1.4.1).
> >
> > I don't know what is causing your exceptions. But I can tell you that I
> > don't suffer the same problem.
> > So my guess is that something is wrong.
> >
> > Sorry, can't help you any further.
> >
> > Cheers,
> >
> > Harm.
> >
> >
> >
> >
> > "Marc L. Veary" <marc@mlveary.demon.co.uk>
> > 06/13/2003 04:49 PM
> > Please respond to
> > "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> >
> >
> > To
> > "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> > cc
> >
> > Subject
> > Message Resources Problem?
> >
> >
> >
> >
> >
> >
> > Hi
> >
> > I have:
> >
> > jakarta-struts-1.1-b3, JBoss 3.2.1, JDK 1.3.1_08
> >
> > A simple application which uses <bean:message key=..."/> and everything
> > works, except
> > when a JSP is rendered which contains one or more of the above tag JBoss
> > shows some exceptions:
> >
> > Element type "message-resource" must be declared....
> >
> >   and:
> >
> > Element type "plug-in must be declared....
> >
> > These elements are present in the struts-config.xml, and the message
> > resource is being read,
> > it is just these odd exceptions?
> >
> > Any clues would be gratefully recieved.
> >
> > Kindly,
> > --
> > Marc (A Newbie to Struts)
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
> ---------------------------------------------------------------------
> 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


---------------------------------------------------------------------
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


Mime
View raw message