Re: synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
r layers. > > > On Apr 9, 2016, at 8:11 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > > hi, > > if you look at my code in the service class i have written a > synchronized > > block. what i am asking is, whether my code does the

Re: synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
fe. > Usually Service or DAO layer should be written threadsafe, don't know about > your DAO or Service is threadsafe to make a clear comment on it. Action > classes are thread safe since it creates new instance per request. > > > ---- > > On Sat,

synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
Hi, I have developed a web application using struts 2. In my struts 2 action class i am calling the service layer and written the synchronization code as below in the service layer. Does this really gets synchronized? Is there any problem in my synchronization code? *The following is my

Re: Error with chekboxlist

2015-10-17 Thread Yaragalla Muralidhar
Hi, Any help on this will be appreciated. Thanks in advance. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Fri, Oct 16, 2015 at 2:58 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > Hi ,

Re: Error with chekboxlist

2015-10-17 Thread Yaragalla Muralidhar
Hi Lukasz, I am using struts 2.3.2. I am not using outside action. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Oct 17, 2015 at 8:12 PM, Lukasz Lenart wrote: > 2015-10-17 16:39 GMT+02:00

Error with chekboxlist

2015-10-16 Thread Yaragalla Muralidhar
Hi , the following is the code in jsp. samples is an arraylist of strings. when i put the above tag i am getting the following error. Please help me to rectify this. Error on line 30, column 13 in template/simple/checkboxlist.ftl stack.findValue('top') is undefined. It cannot be assigned to

Re: [S2] Trouble getting started

2015-09-27 Thread Yaragalla Muralidhar
Hi Chris, I have not checked the DTD. But i got this idea from sample struts2 apps. I dont think there will be a default value for the "name" attribute. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sun, Sep 27, 2015 at 9:35 PM,

Re: [S2] Trouble getting started

2015-09-26 Thread Yaragalla Muralidhar
Hi Chris, Try the following. /WEB-INF/list.jsp *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sun, Sep 27, 2015 at 3:00 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: >

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
rt.com > twitter: http://twitter.com/jogep > > > 2015-09-11 11:31 GMT+02:00 Yaragalla Muralidhar <yaragallamur...@gmail.com > >: > > > Hi , > > I know how to upload a file into the action class but my requirement is > > different. I have a list of pojos where ea

problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
Hi , I know how to upload a file into the action class but my requirement is different. I have a list of pojos where each pojo contains a field called file. for example:- public class Pojo{ private int pk; private File file; //setters and getters } In my action

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
r if this works when you > are working with list of object. > > > > Best Regards > > Johannes > > # > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > > > 2015-09-11 11:38

Re: How to access a map in jsp

2015-08-27 Thread Yaragalla Muralidhar
. You wrote oaMap.[, it should be oaMap[ s:set var=_oaList value=oaMap[antibioticId] / s:if test=_oaList.contains(organismTypeId) Regards, Christoph Yaragalla Muralidhar yaragallamur...@gmail.com schrieb am 27.08.2015 11:17:06: From: Yaragalla Muralidhar yaragallamur

How to access a map in jsp

2015-08-27 Thread Yaragalla Muralidhar
Hi, the following is the code in action class //_ private ListAntibioticDto antibiotics; private ListOrganismType organismTypes; private MapString, ListString oaMap; @Override public String execute() throws Exception { try{

printing mathematical special characters

2015-07-30 Thread Yaragalla Muralidhar
I have mathematical symbols e.g. *alfa*, *beta*,*mu* . When I copy these symbols in text area they are getting copied. I am copying them from word document. When I insert them into the database using prepared statement the symbols are getting inserted as code. for example the *alfa* is getting

Re: printing mathematical special characters

2015-07-30 Thread Yaragalla Muralidhar
Ok Christoph. Thanks for your response. I found that struts is doing it. s:property value=name escape=false / helped me to an extent. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Thu, Jul 30, 2015 at 2:01 PM, Yaragalla Muralidhar

how to redirect to an action with parameter

2015-04-23 Thread Yaragalla Muralidhar
Hi my action class contains a property studentId on success i need to redirect to another action but need to pass studentid parameter to that action. is it possible to do that. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*

Re: how to redirect to an action with parameter

2015-04-23 Thread Yaragalla Muralidhar
I got the answer in the documentation. thanks. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Fri, Apr 24, 2015 at 5:29 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi my action class contains a property studentId

Re: is there any method that executes only when validation fails

2015-04-22 Thread Yaragalla Muralidhar
this behavior. Or you can create an global result for INPUT redirecting to a specific Action/Method. Hope it can helps you. --- FELIPE LORENZ Gerente de Projetos Idealogic Software Fone: (51) 3715 5523 - (51) 3715 5548 www.idealogic.com.br On 22/04/2015 12:46, Yaragalla Muralidhar wrote

Re: is there any method that executes only when validation fails

2015-04-22 Thread Yaragalla Muralidhar
Thank you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, Apr 22, 2015 at 9:15 PM, Dave Newton davelnew...@gmail.com wrote: No. On Wed, Apr 22, 2015 at 11:43 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi

is there any method that executes only when validation fails

2015-04-22 Thread Yaragalla Muralidhar
Hi, In struts Action class is there any method that gets executed only when validation fails? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*

dynamically generating user input fields

2015-02-25 Thread Yaragalla Muralidhar
Hi i have a jsp page with a button capture student details. when that button is pressed it has to display few user input fields on the same page like student Name, student id and few other fields . now user enters the details of the student and when he press the button again the same set of fields

Re: dynamically generating user input fields

2015-02-25 Thread Yaragalla Muralidhar
ok. thank you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, Feb 25, 2015 at 7:13 PM, Dave Newton davelnew...@gmail.com wrote: Increment a counter? On Feb 25, 2015 7:42 AM, Yaragalla Muralidhar yaragallamur...@gmail.com

Re: dynamically generating user input fields

2015-02-25 Thread Yaragalla Muralidhar
Actually i have a ListStudent students in my action class. but when i am dynamically genaerating fields in html page how to change the names of the fields that are dynamically getting generated? for the first field i gave students[0].name but for the second field that is dynamically getting

Re: Select multiple values from a dropdown

2015-02-20 Thread Yaragalla Muralidhar
the below is the select tag where you can choose multiple values s:select label=Pets name=petIds list=petDao.pets listKey=id listValue=name multiple=true size=3 required=true value=%{petDao.pets.{id}} / *Thanks and Regards,* Muralidhar

how to make bigdecimal field mandatory

2015-02-18 Thread Yaragalla Muralidhar
Hi , is there any validator to make a bigdecimal field mandatory? in detail i have a textfiled which is mapped to a bigdecimal. I want to make this textfield as a mandatory field. how to do this? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: how to make bigdecimal field mandatory

2015-02-18 Thread Yaragalla Muralidhar
It worked. thanks Christoph. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, Feb 18, 2015 at 1:52 PM, Christoph Nenning christoph.nenn...@lex-com.net wrote: Hi , is there any validator to make a bigdecimal field

problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
Hi, I have written AddTestAction.class and placed AddTestAction-validation.xml file in the same package. but the field validations are not happening. i have written int validators. Instead showing validation errors the browser is displaying page not found. if i remove validation xml file

Re: problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
Newton davelnew...@gmail.com wrote: ... If you want any help, you need to provide actionable information. My first guesses are that you're either missing an `input` definition, or its JSP page isn't where you think it is. On Tue, Feb 17, 2015 at 10:05 AM, Yaragalla Muralidhar yaragallamur

Re: how to display a default value in s:textField

2015-02-09 Thread Yaragalla Muralidhar
ok. thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Mon, Feb 9, 2015 at 7:29 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2015-02-09 13:54 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : Hi i

how to display a default value in s:textField

2015-02-09 Thread Yaragalla Muralidhar
Hi i need to display a default value in the text filed. I have put value=default value but problem with this is it always shows the default value even after the user had entered the custom value. So is there a way to display a default value in s:textfield? *Thanks and Regards,* Muralidhar

Re: Header and Footer file include struts 2

2015-01-09 Thread Yaragalla Muralidhar
: I already have that in page but still getting error On Friday, January 9, 2015, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: if you are using struts tags add this to your jsp %@ taglib prefix=s uri=/struts-tags % *Thanks and Regards,* Muralidhar Yaragalla

Re: Header and Footer file include struts 2

2015-01-09 Thread Yaragalla Muralidhar
if you are using struts tags add this to your jsp %@ taglib prefix=s uri=/struts-tags % *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Jan 10, 2015 at 9:49 AM, Kiran Badi ki...@poonam.org wrote: Hi I need some help and I

Re: css_xhtml theme issue

2014-12-27 Thread Yaragalla Muralidhar
Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 27, 2014 at 3:39 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-27 5:32 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : Hi I am

regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
i have a select box. by defualt it submits -1. I want to write a validation using regex tosay the selection is mandatory. I have written the validator in the following way but it is not working. Please help. field-validator type=regex param name=regex![CDATA[[1-9]{1,3}]]/param

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
...@gmail.com wrote: Why use a regex for what appears to be a number? On Dec 27, 2014 5:36 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: i have a select box. by defualt it submits -1. I want to write a validation using regex tosay the selection is mandatory. I have written

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
for further validations. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 27, 2014 at 7:33 PM, Dave Newton davelnew...@gmail.com wrote: On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote

after changing validator stranze problem

2014-12-26 Thread Yaragalla Muralidhar
i have changed my validator from required to requiredstring and i am getting the following error. before changing everything is working fine. what could be the problem? Dec 26, 2014 2:22:05 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
--- On Fri, Dec 26, 2014 at 11:32 AM, Sreekanth S. Nair sreekanth.n...@egovernments.org wrote: Ok let me try and will get back to you... On Fri, Dec 26, 2014 at 11:26 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi Sreekanth, I think i cannot send attachements

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
:26 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi Sreekanth, I think i cannot send attachements to the mailing list so i have uploaded the project to my drive and sharing the link https://drive.google.com/file/d/0B59LVhKQaKQYamZqbnc4NGtOQm8/view?usp

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
/ http://yaragalla.blogspot.in/* On Fri, Dec 26, 2014 at 8:09 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-26 15:19 GMT+01:00 Lukasz Lenart lukaszlen...@apache.org: 2014-12-26 6:56 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com: Hi Sreekanth, I think i cannot send

problem with select boxes

2014-12-26 Thread Yaragalla Muralidhar
Hi If i have 5 select boxes on the first page which is mapped to lists. this lists should be populated in the action class that launches the page and also in the action class that we are submitting. So we have to write the same code in two places. Is there a way that we can avoid this?

Re: problem with select boxes

2014-12-26 Thread Yaragalla Muralidhar
ok. thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 27, 2014 at 12:52 AM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-26 18:42 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : Hi

css_xhtml theme issue

2014-12-26 Thread Yaragalla Muralidhar
Hi I am using css_xhtml theme. in this when there is validation error it is displaying on top of the field so the alignment of the html components are going bad. I dont want that to happen. i want to display all the eerrors on top of the page. Is it possible? *Thanks and Regards,* Muralidhar

validation problem

2014-12-25 Thread Yaragalla Muralidhar
Hi i am having problem in turning on validations. I have written actionClass-validation.xml file in the same package as action class. but the validations are not working. the following is my validation xml file. !DOCTYPE validators PUBLIC -//Apache Struts//XWork Validator 1.0.3//EN

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
I am using struts2.3.20 and using simple theme. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Thu, Dec 25, 2014 at 4:08 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi i am having problem in turning on validations. I

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
://yaragalla.blogspot.in/* On Thu, Dec 25, 2014 at 5:05 PM, Dave Newton davelnew...@gmail.com wrote: Simple theme is simpler than you think. On Dec 25, 2014 4:46 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: I am using struts2.3.20 and using simple theme. *Thanks and Regards,* Muralidhar

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
wrote: Please read up on the themes. Nutshell: validation happens (this is trivially provable), validation message display does not. On Thu, Dec 25, 2014 at 6:41 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: is it because of the simple theam? In simple theam validations dont

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
if the validation works then i can think about messages *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Thu, Dec 25, 2014 at 6:30 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: I have changed the theme to css_xhtml so

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
mind. You still won't see the messages unless you display them manually. On Thu, Dec 25, 2014 at 6:56 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: in my case validations are not happenening . Even though validation fails it is moving to succeess rather than input jsp

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
void setPrimaryDetails(PDDto primaryDetails) { this.primaryDetails = primaryDetails; } } *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Thu, Dec 25, 2014 at 6:30 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
=success /sampleReg/jsp/sampleRegFourTemplate.jsp/result /action /package include file=mailreader-default.xml/ /struts *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Thu, Dec 25, 2014 at 7:47 PM, Yaragalla Muralidhar

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
kindly help me solve this issue *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Thu, Dec 25, 2014 at 8:02 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: my struts config.xml is as below.kindly help me in solving

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
holiday, and people are doing things besides trying to reproduce your environment and code to help out. With that in mind, please be patient. On Thu, Dec 25, 2014 at 9:01 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: kindly help me solve this issue *Thanks and Regards

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
sreekanths...@gmail.com --- On Fri, Dec 26, 2014 at 9:10 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi sreekanth, I have changed the names as u suggested but it did not work. i have read the link u posted and i did everything

problem with S:select

2014-12-22 Thread Yaragalla Muralidhar
hi i have a drop down(s:select) in jsp. but what i need is, the user need to type in the drop down. When user types the first letter it has to display options which starts with that letter so selection will be easy. how can i achieve this? the drop down in html does not allow user to type in the

Re: problem with S:select

2014-12-22 Thread Yaragalla Muralidhar
ok thank u *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Mon, Dec 22, 2014 at 7:00 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-22 13:57 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : hi i have a drop

problem with s:select

2014-12-21 Thread Yaragalla Muralidhar
hi i have a employee dto with 10 fields. In s:Select how can i map empid as value and emp name as display string? I know how to do it with hashmap but without creating that additional hashmaps and lists can we directly map the List of employee dto's to s:select tag? *Thanks and Regards,*

Re: problem with s:select

2014-12-21 Thread Yaragalla Muralidhar
twitter: http://twitter.com/jogep 2014-12-21 14:16 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : hi i have a employee dto with 10 fields. In s:Select how can i map empid as value and emp name as display string? I know how to do it with hashmap but without creating

label not working

2014-12-20 Thread Yaragalla Muralidhar
Hi I am using the following code s:textfield name=referMan cssClass=textField label=hghlheghhffehk cssStyle=width:270px;margin-left:20px;margin-top: 10px;/ /div I am not sure why label is not getting rendered? Am i missing something? *Thanks and Regards,* Muralidhar Yaragalla.

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
i use simple theme *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 3:16 PM, Lukasz Lenart lukaszlen...@apache.org wrote: What theme do you use? (on mobile) 20 gru 2014 08:35 Yaragalla Muralidhar yaragallamur

Re: label not working

2014-12-20 Thread Yaragalla Muralidhar
the output HTML look like? (*Chris*) On Sat Dec 20 2014 at 1:35:46 AM Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi I am using the following code s:textfield name=referMan cssClass=textField label=hghlheghhffehk cssStyle=width:270px;margin-left:20px;margin-top: 10px;/ /div

Re: problem with i18n

2014-12-20 Thread Yaragalla Muralidhar
ok thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 3:21 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar yaragallamur...@gmail.com : i use

Problem with form tag

2014-12-19 Thread Yaragalla Muralidhar
I am using struts2.3.20. I have designed my page using divs. Everything is perfect. at the end i have added s:form tag. all the alignment went wrong. The page looks awkward. what could be the problem? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: Problem with form tag

2014-12-19 Thread Yaragalla Muralidhar
, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: I am using struts2.3.20. I have designed my page using divs. Everything is perfect. at the end i have added s:form tag. all the alignment went wrong. The page looks awkward. what could be the problem? *Thanks and Regards

problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Hi i am using the select tag as below s:select name=branches headerKey=-1 headerValue=Select Branch list=branches cssClass=select required=true / by default it should show select Branch but it is showing one of the values as the default value. Am i missing

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
: Is the property set in the Acton? On Dec 19, 2014 9:54 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi i am using the select tag as below s:select name=branches headerKey=-1 headerValue=Select Branch list=branches cssClass=select

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
i mean 'list attribute is set with the property in action class. The same code is working fine on the remaining page. Thanking you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 8:32 AM, Yaragalla Muralidhar

problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Hi I have created an action class and i have created an properties file with the same name as action class. Then i am using the following code s:textfield name=sampleid cssClass=textField label readonly=true key=sample.reg.sampleid/ Even though the resource bundle key is specified the label is

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Problem solved. Thank you so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 8:37 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: i mean 'list attribute is set with the property in action class

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
Is there something i have to configure in struts.xml file? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 9:27 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi I have created an action class and i

Re: problem with i18n

2014-12-19 Thread Yaragalla Muralidhar
I am using eclipse. yes it is copied into same package. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sat, Dec 20, 2014 at 12:46 PM, Lukasz Lenart lukaszlen...@apache.org wrote: 2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar

Re: need help on struts.xml configuration using Struts 2.3, Tomcat 7, Java JDK 1.6

2014-06-20 Thread Yaragalla Muralidhar
localhost:8080/IteratorKFC/menu.action . there is some problem in this. where is the webapp name? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Fri, Jun 20, 2014 at 5:03 PM, Tri Quan quans...@wans.net wrote: All,

Re: Multiple parameter names

2014-05-30 Thread Yaragalla Muralidhar
I think that is not possible. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Fri, May 30, 2014 at 2:08 PM, Mael Le Guével mael.legue...@yahoo.fr wrote: Hi, Given the following action: public class MyAction extends ActionSupport

Re: Struts 2 Access messages with JSTL instead of s:text

2014-05-30 Thread Yaragalla Muralidhar
you have to use fmt tags in jstl. Using jstl is a good idea. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, May 28, 2014 at 10:04 AM, Alireza Fattahi afatt...@yahoo.com wrote: In struts 2 the s:property value=#pageTitle

Re: How to install Struts?

2013-12-01 Thread Yaragalla Muralidhar
You can start with struts blank war file that comes with Struts distribution. It will be really a good start for you. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sun, Dec 1, 2013 at 7:16 PM, Martin Gainty mgai...@hotmail.com

how this is working?

2013-11-24 Thread Yaragalla Muralidhar
Hi, I have the following property in my action class private BookDto book=new BookDto(); in my jsp when i use EL as follows i am able to get the value of the property but i am not able to understand how? ${book.property} The EL checks only in the scopes for attributes so is book kept as

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
I am not sure but if anybody could clarify please clarify whether it is a request wrapper or responce wrapper? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Sun, Nov 24, 2013 at 8:32 PM, Yaragalla Muralidhar yaragallamur

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
at 8:32 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi Dave, are u sure that it is a response wrapper? I guess it should be a request wrapper? Is my guess wrong? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http

can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
Hi when we submit the form we need to set the form action to struts action. Something like form action=xxx.action . So instead of xxx.action can i have a different extension like xxx.fire? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/*

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
=action,,` to be whatever you want. Although if you use the form tags you don't need to specify it in the form. Dave On Tue, Nov 12, 2013 at 1:16 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi when we submit the form we need to set the form action to struts action

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
Thank you so much Dave. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, Nov 13, 2013 at 12:52 AM, Dave Newton davelnew...@gmail.com wrote: Yes. On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar yaragallamur

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
wrote: In addition, make sure your web.xml is sending the new paths/extensions to the Struts 2 filter. On Tue, Nov 12, 2013 at 1:24 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Thank you so much Dave. *Thanks and Regards,* Muralidhar Yaragalla. *http

Re: can we avoid extension action?

2013-11-12 Thread Yaragalla Muralidhar
Thank you for all of ur time. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ http://yaragalla.blogspot.in/* On Wed, Nov 13, 2013 at 1:26 AM, Paul Benedict pbened...@apache.org wrote: You are correct. On Nov 12, 2013 1:42 PM, Yaragalla Muralidhar yaragallamur

Re: How to avoid ognl exception.

2013-11-11 Thread Yaragalla Muralidhar
Gkogkakis gkogk...@tcd.ie wrote: why don't you refactor your form and extract common functionality, so you don't have unused fields being submitted. You or whoever maintains your code will thank you some day. Antonios On 11 November 2013 06:02, Yaragalla Muralidhar yaragallamur

How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Hi I have few form fields defined in my html but there is no corresponding property in action. I am purposefully not defining them. Why i am doing this is the same form can be submitted to two different actions based on the requirement. so one action needs few and the other action needs few form

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
: Yaragalla Muralidhar yaragallamur...@gmail.com Date: Sun, 10 Nov 2013 21:50:03 To: Struts Users Mailing Listuser@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: How to avoid ognl exception. Hi I have few form fields defined in my html

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
wrote: And/or add no-op setters in your actions. -Dale On Nov 10, 2013, at 11:22 AM, umeshawas...@gmail.com wrote: Set dev mode false and this shd go Sent from BlackBerry® on Airtel -Original Message- From: Yaragalla Muralidhar yaragallamur...@gmail.com Date: Sun, 10 Nov

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
at 10:38 PM, Dale Newfield d...@newfield.org wrote: No-op means no operation, or do nothing. -Dale On Nov 10, 2013, at 11:28 AM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: I am not sure what op means but i don't have setters for those properties and even the properties

Re: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found

2013-11-03 Thread Yaragalla Muralidhar
Hi i guess that your action class is running fine as per your description. So check the file $CATALINA_BASE/conf/catalina.policy for security permissions. $CATALINA_BASE is the root directory of the tomcat. Hope this helps. *Thanks and Regards,* Muralidhar Yaragalla.

Re: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found

2013-11-01 Thread Yaragalla Muralidhar
I don't think it has something to do with struts. The jira you specified also clearly says it is the problem with server security policy. And as far as i know for every web app that you deploy on the server, the server creates and maintains a separate classloader for it. So if the security policy

Re: No Configuration Error Struts2

2013-10-16 Thread Yaragalla Muralidhar
try the following package name=db namespace=/ extends=struts-default instead of package name= db extends= struts-default You forgot to add namespace to your package. Hope this solves ur problem. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, Oct 16,

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
have you registered your myPlugin in struts,xml file. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sat, Oct 5, 2013 at 8:11 PM, Umesh Awasthi umeshawas...@gmail.comwrote: Hi All, Facing Parent package is not defined exception and not sure where things are worng. I have created a

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
, Oct 5, 2013 at 8:33 PM, Umesh Awasthi umeshawas...@gmail.comwrote: what you mean by registered plugin with struts.xml? On Sat, Oct 5, 2013 at 8:31 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: have you registered your myPlugin in struts,xml file. *Thanks and Regards

is there a way to get action name in the execute method?

2013-09-29 Thread Yaragalla Muralidhar
Hi for some reason i need to know the action name that is executed in action class execute method. Is it possible to get the action name to which the action class is mapped to in the action classes execute method? *Thanks and Regards,* Muralidhar Yaragalla. * *

Re: is there a way to get action name in the execute method?

2013-09-29 Thread Yaragalla Muralidhar
I got the answer. Thanks. *Thanks and Regards,* Muralidhar Yaragalla. * * On Sun, Sep 29, 2013 at 11:22 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi for some reason i need to know the action name that is executed in action class execute method. Is it possible to get

Re: is there a way to get action name in the execute method?

2013-09-29 Thread Yaragalla Muralidhar
and solution in another post? -Dale On 9/29/13 2:03 PM, Yaragalla Muralidhar wrote: I got the answer. Thanks. *Thanks and Regards,* Muralidhar Yaragalla. On Sun, Sep 29, 2013 at 11:22 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: Hi for some reason i need to know the action

Re: how to enable client side validations?

2013-09-27 Thread Yaragalla Muralidhar
2013/9/26 Yaragalla Muralidhar yaragallamur...@gmail.com Thank you. it helps a lot. We will find alternatives. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 26, 2013 at 7:16 PM, Per Pascal Grube cyber...@flightmare.netwrote: I think you have to find

how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
hi for client side validations to get enabled some document says that we have to add validate=true to s:form tag of the jsp but we are not using struts tags in jsp so is there a way to enable client side validations even when not using struts tags in jsp? Thanks in advance. *Thanks and

Re: how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
please help me out? if not possible we will find alternatives. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 26, 2013 at 3:43 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: hi for client side validations to get enabled some document says that we have to add validate

Re: how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
Any possibilities? *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 26, 2013 at 5:23 PM, Yaragalla Muralidhar yaragallamur...@gmail.com wrote: please help me out? if not possible we will find alternatives. *Thanks and Regards,* Muralidhar Yaragalla. * * On Thu, Sep 26

  1   2   >