creating list in dropdown using struts
creating list in dropdown using struts : In action class list.add(new LabelValueBean("ID","Name")); In Jsp * Select Item Select In Form : getter and setter for selectedItem. query : Now I want to retrieve ID and Name both in action class.I am able to retrieve ID,But i want to retrieve both. -- View this message in context: http://www.nabble.com/creating-list-in-dropdown-using-struts-tp23130937p23130937.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2.1 book
thanks wes for the information...will try the MEAP version then Rgds Yanto On Mon, Apr 20, 2009 at 9:55 AM, Wes Wannemacher wrote: > On Sunday 19 April 2009 21:47:24 Yanto wrote: > > Hi, > > > > Just wondering currently is there any book that cover Struts 2.1 ? > > try to google but so far not found yet. > > > > Thanks & Regards > > Yanto > > Yes, my book is in the works and when published, it will cover 2.1. You can > find a link to it in my signature, but it is not published yet. You can > purchase what the publisher calls the MEAP version which allows you to read > and review chapters as they come out... I haven't released any new chapters > in > a while, but I have finally sorted things out that have kept me from the > book, > so I will be back to it real soon. > > -Wes > > -- > > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Re: Struts 2.1 book
wow. books from both dave and wes. maybe now S2 will get that push rails has been getting :) On Sun, Apr 19, 2009 at 10:39 PM, Chris Pratt wrote: > I'm sure there would be quite a few who would sign up for that deal (me > included). > (*Chris*) > > On Sun, Apr 19, 2009 at 7:28 PM, Martin Gainty > wrote: > > > > > is anyone proofreading?..i'll sign up for a free copy > > .. > > Martin > > _ > > Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / > Note > > de déni et de confidentialité > > This message is confidential. If you should not be the intended receiver, > > then we ask politely to report. Each unauthorized forwarding or > > manufacturing of a copy is inadmissible. This message serves only for the > > exchange of information and has no legal binding effect. Due to the easy > > manipulation of emails we cannot take responsibility over the the > contents. > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede > unbefugte > > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > > dient lediglich dem Austausch von Informationen und entfaltet keine > > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas > le > > destinataire prévu, nous te demandons avec bonté que pour satisfaire > > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la > copie > > de ceci est interdite. Ce message sert à l'information seulement et > n'aura > > pas n'importe quel effet légalement obligatoire. Étant donné que les > email > > peuvent facilement être sujets à la manipulation, nous ne pouvons > accepter > > aucune responsabilité pour le contenu fourni. > > > > > > > > > > > > > > > From: w...@wantii.com > > > To: user@struts.apache.org > > > Subject: Re: Struts 2.1 book > > > Date: Sun, 19 Apr 2009 22:12:06 -0400 > > > > > > On Sunday 19 April 2009 22:07:00 Dave Newton wrote: > > > > Yanto wrote: > > > > > Just wondering currently is there any book that cover Struts 2.1 ? > > > > > try to google but so far not found yet. > > > > > > > > Struts 2 Web Application Development includes S2.1, but is more of an > > > > S2.1-based end-to-end webapp development book rather than S2.1 > > > > reference, for which we have the documentation wiki. > > > > > > > > Dave > > > > > > > > > > Dave, it looks like your book is right around the corner! Is there a > link > > to > > > see the ToC, the main page doesn't seem to give a lot of details... > > > > > > http://www.packtpub.com/apache-struts-2-web-application-development-beginners- > > > guide/book > > > > > > In my book, I am covering more about integration techniques with other > > > libraries and technologies. The Struts 2 In Action book from Manning > > makes for > > > a good reference and most of which is still relevant for Struts 2.1. > > > > > > -Wes > > > > > > -- > > > > > > Wes Wannemacher > > > Author - Struts 2 In Practice > > > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > > > http://www.manning.com/wannemacher > > > > > > > > > - > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > _ > > Windows Live™: Keep your life in sync. > > http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009 >
file upload interceptor alternative
It seems there are some big holes in the file upload interceptor. Validation doesn't work as stated and and max file size configs are not being used properly. I verified by checking the 2.1.6 JIRA list. Is there any "robust" alternative that people are using? Thanks _ Rediscover Hotmail®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009
Re: Struts 2.1 book
I'm sure there would be quite a few who would sign up for that deal (me included). (*Chris*) On Sun, Apr 19, 2009 at 7:28 PM, Martin Gainty wrote: > > is anyone proofreading?..i'll sign up for a free copy > .. > Martin > _ > Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note > de déni et de confidentialité > This message is confidential. If you should not be the intended receiver, > then we ask politely to report. Each unauthorized forwarding or > manufacturing of a copy is inadmissible. This message serves only for the > exchange of information and has no legal binding effect. Due to the easy > manipulation of emails we cannot take responsibility over the the contents. > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht > dient lediglich dem Austausch von Informationen und entfaltet keine > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie > de ceci est interdite. Ce message sert à l'information seulement et n'aura > pas n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > > > From: w...@wantii.com > > To: user@struts.apache.org > > Subject: Re: Struts 2.1 book > > Date: Sun, 19 Apr 2009 22:12:06 -0400 > > > > On Sunday 19 April 2009 22:07:00 Dave Newton wrote: > > > Yanto wrote: > > > > Just wondering currently is there any book that cover Struts 2.1 ? > > > > try to google but so far not found yet. > > > > > > Struts 2 Web Application Development includes S2.1, but is more of an > > > S2.1-based end-to-end webapp development book rather than S2.1 > > > reference, for which we have the documentation wiki. > > > > > > Dave > > > > > > > Dave, it looks like your book is right around the corner! Is there a link > to > > see the ToC, the main page doesn't seem to give a lot of details... > > > http://www.packtpub.com/apache-struts-2-web-application-development-beginners- > > guide/book > > > > In my book, I am covering more about integration techniques with other > > libraries and technologies. The Struts 2 In Action book from Manning > makes for > > a good reference and most of which is still relevant for Struts 2.1. > > > > -Wes > > > > -- > > > > Wes Wannemacher > > Author - Struts 2 In Practice > > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > > http://www.manning.com/wannemacher > > > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > _ > Windows Live™: Keep your life in sync. > http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009
RE: Struts 2.1 book
is anyone proofreading?..i'll sign up for a free copy .. Martin _ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: w...@wantii.com > To: user@struts.apache.org > Subject: Re: Struts 2.1 book > Date: Sun, 19 Apr 2009 22:12:06 -0400 > > On Sunday 19 April 2009 22:07:00 Dave Newton wrote: > > Yanto wrote: > > > Just wondering currently is there any book that cover Struts 2.1 ? > > > try to google but so far not found yet. > > > > Struts 2 Web Application Development includes S2.1, but is more of an > > S2.1-based end-to-end webapp development book rather than S2.1 > > reference, for which we have the documentation wiki. > > > > Dave > > > > Dave, it looks like your book is right around the corner! Is there a link to > see the ToC, the main page doesn't seem to give a lot of details... > http://www.packtpub.com/apache-struts-2-web-application-development-beginners- > guide/book > > In my book, I am covering more about integration techniques with other > libraries and technologies. The Struts 2 In Action book from Manning makes > for > a good reference and most of which is still relevant for Struts 2.1. > > -Wes > > -- > > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009
Re: Struts 2.1 book
On Sunday 19 April 2009 22:07:00 Dave Newton wrote: > Yanto wrote: > > Just wondering currently is there any book that cover Struts 2.1 ? > > try to google but so far not found yet. > > Struts 2 Web Application Development includes S2.1, but is more of an > S2.1-based end-to-end webapp development book rather than S2.1 > reference, for which we have the documentation wiki. > > Dave > Dave, it looks like your book is right around the corner! Is there a link to see the ToC, the main page doesn't seem to give a lot of details... http://www.packtpub.com/apache-struts-2-web-application-development-beginners- guide/book In my book, I am covering more about integration techniques with other libraries and technologies. The Struts 2 In Action book from Manning makes for a good reference and most of which is still relevant for Struts 2.1. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2.1 book
Yanto wrote: Just wondering currently is there any book that cover Struts 2.1 ? try to google but so far not found yet. Struts 2 Web Application Development includes S2.1, but is more of an S2.1-based end-to-end webapp development book rather than S2.1 reference, for which we have the documentation wiki. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2.1 book
On Sunday 19 April 2009 21:47:24 Yanto wrote: > Hi, > > Just wondering currently is there any book that cover Struts 2.1 ? > try to google but so far not found yet. > > Thanks & Regards > Yanto Yes, my book is in the works and when published, it will cover 2.1. You can find a link to it in my signature, but it is not published yet. You can purchase what the publisher calls the MEAP version which allows you to read and review chapters as they come out... I haven't released any new chapters in a while, but I have finally sorted things out that have kept me from the book, so I will be back to it real soon. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Struts 2.1 book
Hi, Just wondering currently is there any book that cover Struts 2.1 ? try to google but so far not found yet. Thanks & Regards Yanto
Re: Struts2 Validation not working with theme simple
Bhaarat Sharma wrote: thanks dave! worked fine. I was trying too many things so got confused. I have one further question regarding validation. Is it possible to validate a text field only when certain strings are selected from the multiple drop down box. Basically I want to make the text feild required only when some strings are selected from the multiple drop down box, which is in the same form as the text field. Can this be done via struts2 validation or do I have to write a custom validator for this? I'd expect it could be handled with an expression validator; whether or not this is the cleanest solution is arguable. Once validation gets more complicated than a single expression or two doing it in Java may end up being easier to understand and maintain. There's no reason declarative and programmatic validation can't be combined. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Validation not working with theme simple
thanks dave! worked fine. I was trying too many things so got confused. I have one further question regarding validation. Is it possible to validate a text field only when certain strings are selected from the multiple drop down box. Basically I want to make the text feild required only when some strings are selected from the multiple drop down box, which is in the same form as the text field. Can this be done via struts2 validation or do I have to write a custom validator for this? Thanks! On 4/19/09, Dave Newton wrote: > Bhaarat Sharma wrote: >> by the way. I can do without having errors right beside the textfield. >> I can have them grouped up top > > Are you saying the tag doesn't render field errors in > the "simple" theme? The template file sure makes it look like it does. > > Dave > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Validation not working with theme simple
Bhaarat Sharma wrote: by the way. I can do without having errors right beside the textfield. I can have them grouped up top Are you saying the tag doesn't render field errors in the "simple" theme? The template file sure makes it look like it does. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Validation not working with theme simple
Bhaarat Sharma wrote: At this time I cant afford to change the theme of the site. Because that breaks the html on a lot of pages and would require a lot of effort to correct those pages. Changing to show field error messages by hand would most likely entail significantly more work. show field error messages by hand (if you want the messages near the fields), how can i do this? do you mean, by using field validators like on this link? http://struts.apache.org/2.x/docs/using-field-validators.htmls How are you doing validation now? In any case, I meant showing field error messages by hand by checking the field errors map for specific field names, in the HTML/JSP, instead of having it done by the theme. Seriously--consider modifying the simple theme (creating your own theme based on the simple theme) and adding the error message bits of one of the themes that includes them. Otherwise you'll be adding either a chunk of JSP to check for field errors, using a custom tag to encapsulate it somehow, or something fairly similar. How is it that the project got so far along that changing the theme is too much work and nobody noticed that validation messages weren't being displayed? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Validation not working with theme simple
by the way. I can do without having errors right beside the textfield. I can have them grouped up top On 4/19/09, Bhaarat Sharma wrote: > Stop using the "simple" theme. > > The "simple" theme tags don't display error messages--they're simple. > You'll either need to switch themes, show field error messages by hand > (if you want the messages near the fields), or modify/extend/create a > theme to emit the HTML you want. > > At this time I cant afford to change the theme of the site. Because > that breaks the html on a lot of pages and would require a lot of > effort to correct those pages. > >>show field error messages by hand (if you want the messages near the >> fields), > > how can i do this? do you mean, by using field validators like on this > link? http://struts.apache.org/2.x/docs/using-field-validators.htmls > > Appreciate your help > > > On 4/19/09, Dave Newton wrote: >> Bhaarat Sharma wrote: >>> However, If i have the following line in my struts.properties then the >>> validation stops happening and I do not see any errors. >>> struts.ui.theme=simple >> >> Technically, the validation does not stop happening. >> >>> Has someone seen something like this before? >> >> Yes, anybody using the "simple" theme. >> >>> what is the best way to resolve this?? >> >> Stop using the "simple" theme. >> >> The "simple" theme tags don't display error messages--they're simple. >> You'll either need to switch themes, show field error messages by hand >> (if you want the messages near the fields), or modify/extend/create a >> theme to emit the HTML you want. >> >> Dave >> >> >> - >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Validation not working with theme simple
Stop using the "simple" theme. The "simple" theme tags don't display error messages--they're simple. You'll either need to switch themes, show field error messages by hand (if you want the messages near the fields), or modify/extend/create a theme to emit the HTML you want. At this time I cant afford to change the theme of the site. Because that breaks the html on a lot of pages and would require a lot of effort to correct those pages. >show field error messages by hand (if you want the messages near the fields), how can i do this? do you mean, by using field validators like on this link? http://struts.apache.org/2.x/docs/using-field-validators.htmls Appreciate your help On 4/19/09, Dave Newton wrote: > Bhaarat Sharma wrote: >> However, If i have the following line in my struts.properties then the >> validation stops happening and I do not see any errors. >> struts.ui.theme=simple > > Technically, the validation does not stop happening. > >> Has someone seen something like this before? > > Yes, anybody using the "simple" theme. > >> what is the best way to resolve this?? > > Stop using the "simple" theme. > > The "simple" theme tags don't display error messages--they're simple. > You'll either need to switch themes, show field error messages by hand > (if you want the messages near the fields), or modify/extend/create a > theme to emit the HTML you want. > > Dave > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 Validation not working with theme simple
Bhaarat Sharma wrote: However, If i have the following line in my struts.properties then the validation stops happening and I do not see any errors. struts.ui.theme=simple Technically, the validation does not stop happening. Has someone seen something like this before? Yes, anybody using the "simple" theme. what is the best way to resolve this?? Stop using the "simple" theme. The "simple" theme tags don't display error messages--they're simple. You'll either need to switch themes, show field error messages by hand (if you want the messages near the fields), or modify/extend/create a theme to emit the HTML you want. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Struts2 Validation not working with theme simple
I have a very weird error. I am trying to do a very simple basic validation like this example: http://struts.apache.org/2.x/docs/basic-validation.html However, If i have the following line in my struts.properties then the validation stops happening and I do not see any errors. struts.ui.theme=simple I spent a very long time in researching which line in my struts.properties file is causing this error. Has someone seen something like this before? what is the best way to resolve this?? Thanks! - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Query regarding optional method attribute in action tag - struts.xml
HariniKaushik wrote: getUserList would just return the List(java.util.List) And its just the method that 'll get called when the action Register_getUserList action is triggered. I have combined two actions together through Register_* action names. And no validation is done for getUserList method. Actually if i give the viewusers.jsp in "Input" result , it gets executed but it doesnt get executed if given in success.I guess its not returning success. I dont know what result i can give for "java.util.list" one. Its confusing.. I think you've missed something very important about action method return values: these methods will generally return a string. That string is used to select the result that will be displayed to the user. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Query regarding optional method attribute in action tag - struts.xml
Thanks for the reply. getUserList would just return the List(java.util.List) And its just the method that 'll get called when the action Register_getUserList action is triggered. I have combined two actions together through Register_* action names. And no validation is done for getUserList method. Actually if i give the viewusers.jsp in "Input" result , it gets executed but it doesnt get executed if given in success.I guess its not returning success. I dont know what result i can give for "java.util.list" one. Its confusing.. HariniKaushik wrote: > > Hi All, > I feel this is the correct Forum where in my doubts 'll be cleared. > I've created Login,UserRegistration page and UserView page(where in admin > only can view the users) > And this is my action tag for Register_createUser and Register_getUserList > method="{1}"> > common/{1}.jsp > common/usersList.jsp > result/{1}.jsp > > > The problem is that for Register_getUserList action I ve defined the > getUserList method that returns the List.Since it returns the correct > List I want the "success" result name to be executed and go to the > UserList page. > But what happens is that though the correct List is returned the "input" > result gets executed and it goes again to the validation page. > That validation I ve given for "Register_createUser" action which I do not > want to get executed for "getUserList Action." I dunno why it goes to > input rather than success page. > If any body is aware of this please let me know! > Appreciate any help > > Thanks, > Harini > > -- View this message in context: http://www.nabble.com/Query-regarding-optional-method-attribute-in-action-tag---struts.xml-tp23122390p23123097.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Query regarding optional method attribute in action tag - struts.xml
HariniKaushik wrote: Hi All, I feel this is the correct Forum where in my doubts 'll be cleared. I've created Login,UserRegistration page and UserView page(where in admin only can view the users) And this is my action tag for Register_createUser and Register_getUserList common/{1}.jsp common/usersList.jsp result/{1}.jsp The problem is that for Register_getUserList action I ve defined the getUserList method that returns the List.Since it returns the correct List I want the "success" result name to be executed and go to the UserList page. But what happens is that though the correct List is returned the "input" result gets executed and it goes again to the validation page. That validation I ve given for "Register_createUser" action which I do not want to get executed for "getUserList Action." I dunno why it goes to input rather than success page. What does getUserList() return? Do you have any validation, either XML- or annotation-based, configured that would fire for this action? Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Query regarding optional method attribute in action tag - struts.xml
Hi All, I feel this is the correct Forum where in my doubts 'll be cleared. I've created Login,UserRegistration page and UserView page(where in admin only can view the users) And this is my action tag for Register_createUser and Register_getUserList common/{1}.jsp common/usersList.jsp result/{1}.jsp The problem is that for Register_getUserList action I ve defined the getUserList method that returns the List.Since it returns the correct List I want the "success" result name to be executed and go to the UserList page. But what happens is that though the correct List is returned the "input" result gets executed and it goes again to the validation page. That validation I ve given for "Register_createUser" action which I do not want to get executed for "getUserList Action." I dunno why it goes to input rather than success page. If any body is aware of this please let me know! Appreciate any help Thanks, Harini -- View this message in context: http://www.nabble.com/Query-regarding-optional-method-attribute-in-action-tag---struts.xml-tp23122390p23122390.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org