Re: synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
ayers. > > > 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 synchronizati

Re: synchronization problem

2016-04-09 Thread Yaragalla Muralidhar
eadsafe. > 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. > > > ---- > >

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 ac

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 Jasper Rosenberg > : > > I’v

Re: Error with chekboxlist

2015-10-16 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 , > th

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 i

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

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
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 GMT+02:00 Yaragalla Muralidhar >: > &

Re: problem with file upload

2015-09-11 Thread Yaragalla Muralidhar
er.com/jogep > > > 2015-09-11 11:31 GMT+02:00 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. &

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

Re: How to access a map in jsp

2015-08-27 Thread Yaragalla Muralidhar
. > There should be no dot before the bracket. You wrote "oaMap.[", it should > be "oaMap[" > > > > > > > > > > > Regards, > Christoph > > > > > > > Yaragalla Muralidhar schrieb am 27.08.2015 > 11:17:06: >

How to access a map in jsp

2015-08-27 Thread Yaragalla Muralidhar
Hi, the following is the code in action class //_ private List antibiotics; private List organismTypes; private Map> oaMap; @Override public String execute() throws Exception { try{ antibiotics=dtService.getAllAntibioticsList(); organismTypes=dtServ

Re: printing mathematical special characters

2015-07-30 Thread Yaragalla Muralidhar
Ok Christoph. Thanks for your response. I found that struts is doing it. 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 < yaragallamur...@gmail.c

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 stor

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 cont

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

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

2015-04-22 Thread Yaragalla Muralidhar
5548 > www.idealogic.com.br > > On 22/04/2015 12:46, Yaragalla > Muralidhar wrote: > > > Thank you. > > > > *Thanks and Regards,* > > Muralidhar > Yaragalla. > > > > *http://yaragalla.blogspot.in/ [1] > <http://yaragalla.blogspot.in/ [1]&

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 wrote: > No. > > On Wed, Apr 22, 2015 at 11:43 AM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wr

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

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 wrote: > Increment a counter? > On Feb 25, 2015 7:42 AM, "Yaragalla Muralidhar" > > wrote: &

Re: dynamically generating user input fields

2015-02-25 Thread Yaragalla Muralidhar
Actually i have a "List 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 generate

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 fie

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 *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Sat, Feb 21, 2015 at 2:44 AM, lilylove2shop < lilylove2s...@yahoo.com.invalid> wrote: > Hi all, > > How do I select a

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/ * 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 m

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: problem in xml validation

2015-02-17 Thread Yaragalla Muralidhar
2015 at 9:03 PM, Dave Newton 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:

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 evert

Re: how to display a default value in

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 wrote: > 2015-02-09 13:54 GMT+01:00 Yaragalla Muralidhar >: > > Hi i need to display a default

how to display a default value in

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 ? *Thanks and Regards,* Muralidhar Yaragalla. *htt

Re: Header and Footer file include struts 2

2015-01-09 Thread Yaragalla Muralidhar
t 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&

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/ * On Sat, Jan 10, 2015 at 9:49 AM, Kiran Badi wrote: > Hi > > I need some help and I have t

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
or to work even 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 wrote: > On Sat, Dec 27, 2014 at 7:23 AM, Yaragalla Muralidhar > wrote: > >> >

Re: regex validator problem

2014-12-27 Thread Yaragalla Muralidhar
wrote: > Why use a regex for what appears to be a number? > On Dec 27, 2014 5:36 AM, "Yaragalla Muralidhar" > > 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

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. cannot find error.branch.required *Thanks and Regards,* M

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 wrote: > 2014-12-27 5:32 GMT+01:00 Yaragalla Muralidhar >: > > Hi I am using css_xhtml theme. in

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 Yarag

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 wrote: > 2014-12-26 18:42 GMT+01:00 Yaragalla Muralidhar >: > > Hi > > If i have 5 s

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? *Thank

Re: validation problem

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

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
gt; > > On Fri, Dec 26, 2014 at 3:07 PM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi Sreekanth, > >sorry to say this. I tried everything stated in the example that u > gave. > > but it did not work for me. I am doing something wrong

Re: validation problem

2014-12-26 Thread Yaragalla Muralidhar
ub.com/sreekanthsnair> > > --- > > 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, 20

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 ex

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
reekanth-s-nair/b/946/5a0/> > <https://github.com/sreekanthsnair> > > --- > > On Fri, Dec 26, 2014 at 9:10 AM, Yaragalla Muralidhar < > yaragallamur...@gmail.com> wrote: > > > Hi sreekanth, > >I have changed th

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
t; > volunteer-"staffed" resource. Nobody is deliberately delaying a > > response. We already know you need help. In the US, at least, it's a > > fairly major holiday, and people are doing things besides trying to > > reproduce your environment and code to help ou

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 hel

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
n/ <http://yaragalla.blogspot.in/>* On Thu, Dec 25, 2014 at 7:47 PM, Yaragalla Muralidhar < yaragallamur...@gmail.com> wrote: > The following is my action class > > package com.zedlabs.samplereg.action; > > import java.util.HashMap; > import java.util.Map; >

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
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: > if the validation wo

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 > wrote: > > in my case validations are not happenening . Even though validation fails > > it is moving to succeess rath

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 the

Re: validation problem

2014-12-25 Thread Yaragalla Muralidhar
t; 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 > wrote: > > is it because of the simple theam? In simple theam validations dont

Re: validation problem

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

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 proble

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. http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd";> Could no

Re: problem with

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 wrote: > 2014-12-22 13:57 GMT+01:00 Yaragalla Muralidhar >: > > hi i have a drop down() in jsp. but what i

problem with

2014-12-22 Thread Yaragalla Muralidhar
hi i have a drop down() 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 letters

Re: problem with

2014-12-21 Thread Yaragalla Muralidhar
t Regards > > Johannes > > # > web: http://www.jgeppert.com > twitter: http://twitter.com/jogep > > > 2014-12-21 14:16 GMT+01:00 Yaragalla Muralidhar >: > > > > hi i have a employee dto with 10 fields. In how can i map

problem with

2014-12-21 Thread Yaragalla Muralidhar
hi i have a employee dto with 10 fields. In 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 tag? *Thanks and Regards,* Muralidhar Yaragalla.

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 wrote: > 2014-12-20 10:48 GMT+01:00 Yaragalla Muralidhar >: > > i use simple theme > > labels

Re: label not working

2014-12-20 Thread Yaragalla Muralidhar
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 > > > > > cssStyle="width:270px;margin-left:20px;margin-top: 10px;"/> > >

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 wrote: > What theme do you use? > > (on mobile) > 20 gru 2014 08:35 "Yaragalla Muralidhar&quo

label not working

2014-12-20 Thread Yaragalla Muralidhar
Hi I am using the following code I am not sure why label is not getting rendered? Am i missing something? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ *

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 wrote: > 2014-12-20 4:57 GMT+01:00 Yaragalla Muralidhar >: > >

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

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 wi

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 Even though the resource bundle key is specified the label is anot appearing for the text field. is there something i am missing? is some where else also

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

Re: problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
property set in the Acton? > On Dec 19, 2014 9:54 PM, "Yaragalla Muralidhar" > > wrote: > > > Hi i am using the select tag as below > > > > > headerKey="-1" headerValue="Select Branch" > >list="branches"

problem with select tag

2014-12-19 Thread Yaragalla Muralidhar
Hi i am using the select tag as below by default it should show "select Branch" but it is showing one of the values as the default value. Am i missing something? I want "Select Branches" as the default option. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/

Re: Problem with form tag

2014-12-19 Thread Yaragalla Muralidhar
Thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sat, Dec 20, 2014 at 3:26 AM, Dave Newton wrote: > The default XHTML theme? Hard to say without actionable details. > On Dec 19, 2014 4:52 PM, "Yar

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 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: 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/ * On Fri, Jun 20, 2014 at 5:03 PM, Tri Quan wrote: > All, > > I a

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/ * On Wed, May 28, 2014 at 10:04 AM, Alireza Fattahi wrote: > In struts 2 the > > > > (is equivalent to...) > > JSTL:

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/ * On Fri, May 30, 2014 at 2:08 PM, Mael Le Guével wrote: > Hi, > Given the following action: > > public class MyAction extends ActionSupport { > private

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/ * On Sun, Dec 1, 2013 at 7:16 PM, Martin Gainty wrote: > From Tomcat

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
Thank you so much Dave. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Mon, Nov 25, 2013 at 4:16 AM, Dave Newton wrote: > Request wrapper. Easy enough to look up, no? > On Nov 24, 2013 11:43 AM, "Yar

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

Re: how this is working?

2013-11-24 Thread Yaragalla Muralidhar
publicly exposed? > > It works because S2 has a custom response wrapper that exposes the value > stack to EL evaluation. > > Dave > On Nov 24, 2013 8:52 AM, "Yaragalla Muralidhar" < > yaragallamur...@gmail.com> > wrote: > > > Hi, > >I have t

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 att

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 wrote: > You are correct. > On Nov 12, 2013 1:42 PM, "Yaragalla Muralidhar" >

Re: can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
ct 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. > > > >

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 wrote: > Yes. > > > On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar < > yaragall

Re: can we avoid extension "action"?

2013-11-12 Thread Yaragalla Muralidhar
ion=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

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 . So instead of "xxx.action" can i have a different extension like "xxx.fire"? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ *

Re: How to avoid ognl exception.

2013-11-11 Thread Yaragalla Muralidhar
n, Nov 11, 2013 at 2:54 PM, Antonios Gkogkakis 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 Novem

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Sun, Nov 10, 2013 at 10:38 PM, Dale Newfield 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 wha

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
eld 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- > >

Re: How to avoid ognl exception.

2013-11-10 Thread Yaragalla Muralidhar
Ok. Thank u so much. *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* On Sun, Nov 10, 2013 at 9:52 PM, wrote: > Set dev mode false and this shd go > Sent from BlackBerry® on Airtel > > -Original Message-

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 fi

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. *http://yaragalla.blogs

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 instead of 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, 2013 at 12:30 PM, Srimuralidharan S < srimuralidhara...@dhyanit.com> wrote: > Hi to all, >

Re: Parent package is not defined

2013-10-05 Thread Yaragalla Muralidhar
gt; > 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,* > > Muralidhar Yaragalla. > > * > > * >

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 wrote: > Hi All, > > Facing "Parent package is not defined" exception and not sure where things > are worng. > > I have created a new plugin and

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

2013-09-29 Thread Yaragalla Muralidhar
would you please describe your > scenario 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

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 possibl

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: how to enable client side validations?

2013-09-27 Thread Yaragalla Muralidhar
ppert.com > twitter: http://twitter.com/jogep > > > > 2013/9/26 Yaragalla Muralidhar > > > Thank you. it helps a lot. We will find alternatives. > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * > > * > > > > > &g

Re: how to enable client side validations?

2013-09-26 Thread Yaragalla Muralidhar
re is a way to get the client > side validation code without the tags. > > Regards, Pascal > > On Thursday 26 September 2013 18:54:55 Yaragalla Muralidhar wrote: > > Any possibilities? > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > * >

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. &g

  1   2   >