Help with the import errors please

2005-01-15 Thread Avinash Sridhar
Hi All,
   I am new using Struts 1.1 , Tomcat 5.0.28 and Java 1.4.2.I am getting theses 
errors although i have imported these 

c.tld
struts-bean-el.tld
struts-html-el.tld
struts-logic-el.tld

In the WEB-INF directory 

And 

commons-beanutils.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
jstl.jar
standard.jar
struts-el.jar
struts.jar

In the WEB-INF/lib directory

The error i am getting is 

import org.apache.struts.action.Action; //The import org.apache.struts.action 
cannot be resolved
import org.apache.struts.action.ActionForward; ///The import cannot be resolved
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionForm;
import org.apache.commons.beanutils.BeanUtils;


Any help would be greatly appreciated.

Thanks 
AS
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



ApplicationResources.properties file kindly help

2005-01-13 Thread Avinash Sridhar
Hi,
   Thanks for the replies.I added the values in the file and then restarted the 
application / tomcat web server.But still the values assigned to welcome.title 
, button.save , button.reset are not being shown.Kindly let me know what the 
problem is 

Thanking you all
AS
- Original Message -
From: "Dakota Jack" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Subject: Re: ApplicationResources.properties file kindly help
Date: Thu, 13 Jan 2005 10:03:56 -0800

> 
> Did you add the values in the file without restarting the application?
>   If so, then the values will not show.
> 
> Jack
> 
> 
> On Thu, 13 Jan 2005 10:59:32 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: "Avinash Sridhar" <[EMAIL PROTECTED]>
> > > What could be the problem, it not reading the
> > > ApplicationResources.properties file.
> >
> > http://struts.apache.org/userGuide/configuration.html#resources_config
> >
> > I have this in struts-config.xml:
> > 
> >
> > The ApplicationResources.properties file lives in WEB-INF/classes/
> >
> > HTH,
> > --
> > Wendy Smoak
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> --
> 
> "You can lead a horse to water but you cannot make it float on its back."
> 
> ~Dakota Jack~
> 
> "You can't wake a person who is pretending to be asleep."
> 
> ~Native Proverb~
> 
> "Each man is good in His sight. It is not necessary for eagles to be crows."
> 
> ~Hunkesni (Sitting Bull), Hunkpapa Sioux~
> 
> ---
> 
> "This message may contain confidential and/or privileged information.
> If you are not the addressee or authorized to receive this for the
> addressee, you must not use, copy, disclose, or take any action based
> on this message or any information herein. If you have received this
> message in error, please advise the sender immediately by reply e-mail
> and delete this message. Thank you for your cooperation."
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



ApplicationResources.properties file kindly help

2005-01-13 Thread Avinash Sridhar
Hi,
  Thanks for the friendly piece of advice, I did correct it and
changed the dtd from 1.0 to 1.1 and I got no errors now., ?But I have
gotten into this problem

this is the data inside my ApplicationResources.properties file
present inside the classes directory.

/**ApplicationResources.properties
file***/

button.save=Change name
button.reset=Reset
error.name.required=To change the name, a name must be entered
prompt.name=Enter name:
welcome.title=A Simple Application

/**ApplicationResources.properties
file***/

On the index.jsp page that is being displayed.

The values of the welcome.title, prompt.name , error.name.required ,
button.reset , button.save are not being displayed,

instead I am getting like this

   ???en_US.welcome.title???
   ???en_US.error.name.required???
and so on.

What could be the problem, it not reading the
ApplicationResources.properties file.

Help would be greatly appreciated.

Thanks
AS
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



Help with ApplicationResources.properties file.

2005-01-13 Thread Avinash Sridhar
Hi,
Thanks for the friendly piece of advice, I did correct it and changed the 
dtd from 1.0 to 1.1 and I got no errors now., ?But I have gotten into this 
problem

this is the data inside my ApplicationResources.properties file present inside 
the classes directory.

/**ApplicationResources.properties 
file***/

button.save=Change name
button.reset=Reset
error.name.required=To change the name, a name must be entered
prompt.name=Enter name:
welcome.title=A Simple Application

/**ApplicationResources.properties 
file***/

On the index.jsp page that is being displayed.

The values of the welcome.title, prompt.name , error.name.required , 
button.reset , button.save are not being displayed, 

instead I am getting like this 

 ???en_US.welcome.title???
 ???en_US.error.name.required???
and so on.

What could be the problem, it not reading the ApplicationResources.properties 
file.

Help would be greatly appreciated.

Thanks 
AS

 ???en_US.
- Original Message -
From: [EMAIL PROTECTED]
To: "Struts Users Mailing List" 
Subject: Re: Still PLZ Help with Cannot find message resources under key
org.apache.struts.action.MESSAGE
Date: Thu, 13 Jan 2005 09:58:25 -0500

> 
> 
> Your first issue is a result of your second.  The XML parser is 
> telling you that
> your format did not match the DTD.  In the config, the elements must be in the
> order of
> 
> 1. data-sources
> 2. form-beans
> 3. global-forwards
> 4. action-mappings
> 5. messages and plugins.
> 
> for instance I have.
> 
> 
> 
> 
> 
> 
>...
> 
> 
> 
> 
>...
> 
> 
> 
> 
>...
> 
> 
> 
> 
> 
> 
> 
> "/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
> 
> 
> 
> Hope that helps.
> 
> Todd
> 
> 
> |-+>
> | |   "Avinash Sridhar"|
> | |   <[EMAIL PROTECTED]|
> | |   .com>|
> | ||
> | |   01/13/2005 09:26 |
> | |   AM   |
> | |   Please respond to|
> | |   "Struts Users|
> | |   Mailing List"|
> | ||
> |-+>
>
>  
> >---|
>|
> |
>|   To:   "Struts Users Mailing List" 
> 
>|
>|   cc:  
> |
>|   Subject:  Still PLZ Help with Cannot find message 
> resources under keyorg.apache.struts.action.MESSAGE 
>|
>
>  
> >---|
> 
> 
> 
> 
> Hi,
> 
> Thanks for the suggestionsAfter I add
> 
>parameter="com.masslight.StrutsExampleClasses.ApplicationResources"
>null="false" />
> 
> to the struts-config.xml file, When I start-up the server, I get the following
> error message
> 
> /**Error***/
> 
> Element type "message-resources" must be declared.
> 
> AND
> 
> 
> The content of element type "struts-config" must match
> "(data-sources?,form-beans?,global-forwards?,action-mappings?)".
> 
> /**Error***/
> 
> Help towards this wud be greatly appreciated.
> 
> Thanking you
> AS
> 
> 
> - Original Message -
> From: "David G. Friedman" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Subject: RE: PLZ Help with Cannot find message resources under key
> org.apache.struts.action.
> Date: Thu, 13 Jan 2005 00:34:55 -0500
> 
> >
> > To your struts-config.xml, have you added an entry something like this:
> >
> >  >  parameter="com.masslight.StrutsExampleClasses.ApplicationResources"
> >   null="false" />
> >
> > Regards,
> > David
> >
> > -Original Message-
> > From: Avinash Sridhar [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, January 12, 2005 10:01 PM
> > To: user@struts.apache.org

Still PLZ Help with Cannot find message resources under key org.apache.struts.action.MESSAGE

2005-01-13 Thread Avinash Sridhar
Hi,

   Thanks for the suggestionsAfter I add 



to the struts-config.xml file, When I start-up the server, I get the following 
error message

/**Error***/

Element type "message-resources" must be declared.

AND


The content of element type "struts-config" must match 
"(data-sources?,form-beans?,global-forwards?,action-mappings?)".

/**Error***/

Help towards this wud be greatly appreciated.

Thanking you 
AS


- Original Message -
From: "David G. Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Subject: RE: PLZ Help with Cannot find message resources under key
org.apache.struts.action.
Date: Thu, 13 Jan 2005 00:34:55 -0500

> 
> To your struts-config.xml, have you added an entry something like this:
> 
>   parameter="com.masslight.StrutsExampleClasses.ApplicationResources"
>   null="false" />
> 
> Regards,
> David
> 
> -Original Message-
> From: Avinash Sridhar [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 12, 2005 10:01 PM
> To: user@struts.apache.org
> Subject: PLZ Help with Cannot find message resources under key
> org.apache.struts.action.
> 
> 
> Hi All,
> This is my directory structure
> WEB-INF i have struts-config.xml and web.xml
> WEB_INF classes / com / masslight / StrutsExampleClasses/
> ApplicationResources.properties
> Name.java
> NameForm.java
> SetNameAction.java files
> 
> /***Error **/
> 
> Cannot find message resources under key org.apache.struts.action.MESSAGE
> 
> /***Error **/
> 
> Kindly help me out with this
> 
> PS: I am using Tomcat 5.0.28, Eclipse 3.0 Struts 1.2.4.
> 
> Any Help would be greatly appreciated...
> 
> I can give you the trace of the log files too.
> 
> Thanks in advance
> AS
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



Please Help with this error Cannot find message resources under key org.apache.struts.action.MESSAGE

2005-01-12 Thread Avinash Sridhar
Hi All,

Do Excuse my reposting, but i cant seem to figure it out.help wud be 
greatly appreciated


This is my directory structure


WEB-INF i have struts-config.xml and web.xml

WEB_INF classes / com / masslight / StrutsExampleClasses/

ApplicationResources.properties
Name.java
NameForm.java
SetNameAction.java files

/***Error **/

Cannot find message resources under key org.apache.struts.action.MESSAGE

/***Error **/

Kindly help me out with this

PS: I am using Tomcat 5.0.28, Eclipse 3.0 Struts 1.2.4.

Any Help would be greatly appreciated...

I can give you the trace of the log files too.

Thanks in advance
AS
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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



PLZ Help with Cannot find message resources under key org.apache.struts.action.

2005-01-12 Thread Avinash Sridhar
Hi All,
This is my directory structure
WEB-INF i have struts-config.xml and web.xml
WEB_INF classes / com / masslight / StrutsExampleClasses/
ApplicationResources.properties
Name.java
NameForm.java
SetNameAction.java files

/***Error **/

Cannot find message resources under key org.apache.struts.action.MESSAGE

/***Error **/

Kindly help me out with this

PS: I am using Tomcat 5.0.28, Eclipse 3.0 Struts 1.2.4.

Any Help would be greatly appreciated...

I can give you the trace of the log files too.

Thanks in advance
AS
-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm


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