Re: Exception in Validation

2008-03-16 Thread aum strut
hi dave, Thanks for the help.i have solved the problem,actually i was not configuring for the input result type in the struts.xml file. after configuring its working fine.. :) --aum On 3/16/08, aum strut [EMAIL PROTECTED] wrote: Hi Dave, As my complied action class namely

Re: Exception in Validation

2008-03-16 Thread aum strut
thats true :) On 3/16/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: Thanks for the help.i have solved the problem,actually i was not configuring for the input result type in the struts.xml file. Sometimes reading the error message is actually useful

Re: Exception in Validation

2008-03-15 Thread aum strut
am not getting it. 2) can u plz specify the exact location for the above XML file. -aum On 3/15/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: TestExample.java. i have two files namely validators.xml Why are you creating a validators.xml? That aside

Re: Exception in Validation

2008-03-15 Thread aum strut
Hi Dave, I have removed validators.xml. i have put the TestExample-validation.xml in the same folder where my action is placed. now it is not giving me any error but validation is not working at all. belw is snap shop of my TestExample-validation.xml: ?xml version=1.0 encoding=UTF-8?

Re: Not Able to call Action

2008-03-12 Thread aum strut
Hi Dave, Thanks for helping me out and clearing my basic understanding of the work flow.no my application is working fine running without any error.. thanks for your help. --aum On 3/11/08, aum strut [EMAIL PROTECTED] wrote: ok i will do like this.. lets see what will be the results

Re: Not Able to call Action

2008-03-11 Thread aum strut
/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: about adding the .action extension i have to add this extension to my action like this s: form action =test.action while if i am using s: form action=test it is still giving me the problem. Then something

Re: Not Able to call Action

2008-03-11 Thread aum strut
have not validated the inputs not at client side not at my action class. -aum On 3/11/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: i hope this will help to find out the cause of the error.As its still giving the error.error message from the console

Re: Not Able to call Action

2008-03-11 Thread aum strut
thks dave for such an explanation. i got what you are saying..i was really nt aware of the fact.. about entering valida data i am inputting valid data aal the tme.. On 3/11/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: i am using two jsp pages here namely

Re: Not Able to call Action

2008-03-11 Thread aum strut
ok i will do like this.. lets see what will be the results... On 3/11/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: about entering valida data i am inputting valid data aal the tme.. I'm skeptical. Turn devMode on and check your logs. It might also

Re: Not Able to call Action

2008-03-09 Thread aum strut
that if the name of our action is Test so do we need to write s: form action=Test or s:form action=Test.action Thanks umesh On 3/8/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: but when i hit submitt button.it is not able to find the action associated

Re: Not Able to call Action

2008-03-09 Thread aum strut
it is still giving me the problem. On 3/9/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: it was really a silly mistake from my side which was causing the problem... What was the problem? only question i want to ask is while writing the name of the action

Re: Not Able to call Action

2008-03-07 Thread aum strut
Hi All, I have tried all the ways but not able to solve the problem.. i am attaching all the codes for my test application.. *StrutsExample.xml* * package* aum; * import* java.sql.Date; * import* com.opensymphony.xwork2.ActionSupport; ** *public* *class* StrutsExample *extends*

Re: Not Able to call Action

2008-03-07 Thread aum strut
(There is no Action mapped for namespace / and action name HelloWorld.) is not available.* this time i am using the same code and configuration as mentioned in the webpage. On 3/7/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: [...] I'm also not clear on how you're

Re: Not Able to call Action

2008-03-07 Thread aum strut
. It's also a good idea (in general) to answer the questions somebody asks you--they may be relevant. --- aum strut [EMAIL PROTECTED] wrote: even when i am trying the example from the struts web site namely HelloWorld it is also not running. it still giving me the following error

Re: Not Able to call Action

2008-03-07 Thread aum strut
the action associated with the index.jsp. On 3/8/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: i am not sure about the method invocation as read the example some where as mentioned theer it was describibg that struts2 will automaticaaly populate

Re: Not Able to call Action

2008-03-06 Thread aum strut
yes i am extending ActionSupport class and as i know it implimets Action interface where SUCCESS is defined. On 3/6/08, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: public String execute() throws Exception{ return SUCCESS; } Do you have SUCCESS defined

Re: Not Able to call Action

2008-03-06 Thread aum strut
Hi Dave and Othon, even on adding namespace and even removing the annotation based validations from the action i am still facing the same problem. On 3/6/08, Dave Newton [EMAIL PROTECTED] wrote: --- Othon Reyes Sanchez [EMAIL PROTECTED] wrote: I guess somebody else have a very similar

Not Able to call Action

2008-03-06 Thread aum strut
Hi All, I am a starter in struts2. i am developing a simple programme in struts2 which will take the name and date as input and will display the same in the next page. below is the sample code of my action calss struts.xml my index.jsp page is displaying properly whcih is asking for the inputs

Re: Not Able to call Action

2008-03-06 Thread aum strut
=TestExample.action I know is not necessary but maybe it could work. On Thu, Mar 6, 2008 at 10:58 AM, aum strut [EMAIL PROTECTED] wrote: Hi Dave and Othon, even on adding namespace and even removing the annotation based validations from the action i am still facing the same problem

Re: Not Able to call Action

2008-03-06 Thread aum strut
and if i will add the namespace to the struts.xml it is giving the error message as *No configuration found for the specified action: 'TestExample' in namespace: ''. Form action defaulting to 'action' attribute's literal value. * any idea about these warnings.. On 3/6/08, aum strut [EMAIL

Problem with returning SUCCESS from execute

2008-03-04 Thread aum strut
hi all, i am using MyEclipse for developing struts2 based example everything is working fine but in my execute method when i am trying to return the SUCCESS it is giving the error that it can not resolved error. below is the code i have written * package* aum.struts.tester; * import*

Re: Problem with returning SUCCESS from execute

2008-03-04 Thread aum strut
thks for the rply.. really silly i m even knowing this i did this mistake. :) On 3/4/08, Lukasz Lenart [EMAIL PROTECTED] wrote: *class* StrutsExample { Your class should extend ActionSupport or return Action.SUCCESS (not SUCCESS) Regards -- Lukasz

Struts2+MyEclipse

2008-02-20 Thread aum strut
hi all, I am using MyEclipse 6.0.1 to develop my application.but i am facing some problems in it. i followed the follwing process: 1) in the new project wizard under the option of MyEclipse--- selected Web Project 2) after this i manually put the following Jar file under the WEB-INF\lib folder

Re: Struts2+MyEclipse

2008-01-25 Thread aum strut
Hi My question is if i want to use MyEclipse as an ID how can i develop Struts2 applcations. is there any way to do this that is the point of my confusion :( On 1/25/08, Alvaro Sanchez-Mariscal [EMAIL PROTECTED] wrote: even the latest version of eclipse support only Struts 1.3. Yes,

Struts2+MyEclipse

2008-01-24 Thread aum strut
Hi All, Please tell me is it possible to develop Struts2 applications using latest version of MyEclipse as i came to know that even the latest version of eclipse support only Struts 1.3. Any Guidance in this regard is much appriciated.

Re: Struts 1 or Struts 2

2008-01-10 Thread aum strut
. There is even an argument that you should learn both (if learning is more a priority rather than finishing a project). I guess I am not giving you any answers, sorry. aum strut on 10/01/08 04:31, wrote: Hi Ted, Thanks for the response. The point of my confusion was that i came to know from some

Re: Struts 1 or Struts 2

2008-01-10 Thread aum strut
and concentrate on struts2, especially if there is a chance that your company might start a project or convert a project to it. However if you will specialize in web applications and you will be looking for work soon, learn the basics of struts1 and 2, but specialize in struts2. aum strut on 10/01

Re: Struts 1 or Struts 2

2008-01-10 Thread aum strut
Thanks Ted, I think that you have cleared all my doubts in the last line. :) -Aum On Jan 10, 2008 6:31 PM, Ted Husted [EMAIL PROTECTED] wrote: On Jan 9, 2008 11:31 PM, aum strut [EMAIL PROTECTED] wrote: is there much diffreence between Struts1 and Struts2? The implementation details

Struts 1 or Struts 2

2008-01-09 Thread aum strut
Hi All, I have a small query and hope that here i can get the best answer of my query. ihave just started learning Struts 2. the purpose of learning struts is simple i have some projects at my end which i want to develop using this framework. My purpose is also to learn this technology as much as

Re: Struts 1 or Struts 2

2008-01-09 Thread aum strut
suggest Struts 2. HTH, Ted * http://www.StrutsMentor.com/ http://www.strutsmentor.com/ On Jan 9, 2008 6:32 AM, aum strut [EMAIL PROTECTED] wrote: Hi All, I have a small query and hope that here i can get the best answer of my query. ihave just started learning Struts 2. the purpose

Re: New to Struts

2007-12-18 Thread aum strut
If you have a new query, please always use a new thread. as starting a new topic in old thread will not help you a lot On Dec 19, 2007 12:03 AM, Radu Solomon [EMAIL PROTECTED] wrote: What we did was to run the native2ascii during the build/compilation time using ant. Our ant task looks

New to Struts

2007-12-13 Thread aum strut
Hi All, I am new to struts and wana to learn it.Please suggest me can i start directly to learn Struts2 or do i need to have prior knowledge of Struts1.Any help or suggestion in this regard is much appriciated. Thanks, Aum

Re: New to Struts

2007-12-13 Thread aum strut
, aum strut [EMAIL PROTECTED] wrote: Hi All, I am new to struts and wana to learn it.Please suggest me can i start directly to learn Struts2 or do i need to have prior knowledge of Struts1.Any help or suggestion in this regard is much appriciated. Thanks, Aum

Re: Struts Application is not working

2007-10-03 Thread aum strut
thks ajay for helping me out but can u point out watcan be the cause of this error as pari know i have configured the appliocation correctly... On 10/3/07, AJAY KUMAR UPPALAPATI [EMAIL PROTECTED] wrote: hello friend, I am also not having that much experience so why dont u try

Re: Struts Application is not working

2007-10-03 Thread aum strut
, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: thks ajay for helping me out but can u point out watcan be the cause of this error as pari know i have configured the appliocation correctly... Without your struts config file we can't help very much

Re: Struts Application is not working

2007-10-03 Thread aum strut
library / jar files do you have in WEB-INF/lib? d. --- aum strut [EMAIL PROTECTED] wrote: hi dave i m pasting my struts-config file for the refrence.and as par the dependencies i have used myeclipse as developing enviornment so it might be possible that there is something wrong as i

Re: ActionForward is not workinh

2007-10-03 Thread aum strut
started. This is less important, since you were consistent, but the usual English spelling of sucess is success. -- HTH, Ted http://www.husted.com/ted/blog/ On 10/2/07, aum strut [EMAIL PROTECTED] wrote: Hi all, i am new to the struts,i am developing a struts based small application

Re: RE : RE : Struts Application is not working

2007-10-03 Thread aum strut
with - and then start swapping in your stuff.) On 10/3/07, aum strut [EMAIL PROTECTED] wrote: 1 antlr 2 commons-beanutils 3 commons-digester 4 commons-fileupload 5 commons-logging 6 commons-validator 7 jakarta-oro 8 struts These are the jar flies in the lib folder On 10/3

ActionForward is not workinh

2007-10-02 Thread aum strut
Hi all, i am new to the struts,i am developing a struts based small application for loggin and then to forward the control to the sucess.html if loggin succeed else to failure. my index form is being displayed ok.but when i submittedthe form it is showing the blank page. the criteria for the

Struts Application is not running

2007-10-02 Thread aum strut
hi all, i have developeda small application in struts.but itis not running.andtomcat log file is giving the error that it is unable to find ActionServlet calss. i have configured ActionServlet class in web.xml as servlet servlet-nameaction/servlet-name

Re: Struts Application is not running

2007-10-02 Thread aum strut
kind of hard to say at the moment. --- aum strut [EMAIL PROTECTED] wrote: hi all, i have developeda small application in struts.but itis not running.andtomcat log file is giving the error that it is unable to find ActionServlet calss. i have configured ActionServlet class

Re: Struts Application is not running

2007-10-02 Thread aum strut
can u send me a small demo project in struts.so that i cn take help frm it On 10/3/07, Dave Newton [EMAIL PROTECTED] wrote: --- aum strut [EMAIL PROTECTED] wrote: I hav configured all the files in the right way Cool... but if everything was configured properly it would probably

<    1   2