Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-02 Thread Justin Robbins
Nope, my bad. After a full refactor I get the same error. Below are snippets of the new code and most recently generated error. Stack Trace excerpt: 2011-05-02 21:24:49,887 175361 ["http-bio-8080"-exec-7] WARN com.opensymphony.xwork2.ognl.OgnlValueStack - Error setting expression 'tagId' with va

Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-02 Thread Justin Robbins
I tested it just now and I do NOT get the error when I refactor the code from the POJO on down to the JSP to use "myId" instead of "id". On Mon, May 2, 2011 at 8:43 PM, Dave Newton wrote: > Just out of curiosity, does it do the same thing if it's not named "id"? > > d. > > On Mon, May 2, 2011 at

Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-02 Thread Dave Newton
Just out of curiosity, does it do the same thing if it's not named "id"? d. On Mon, May 2, 2011 at 8:32 PM, Justin Robbins wrote: > Anyone have any ideas on this one?  I'd be most grateful for some advice. > > Someone suggested I use a newer version of the ognl jar.  I was using > "ognl-3.0.jar"

Re: help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-02 Thread Justin Robbins
Anyone have any ideas on this one? I'd be most grateful for some advice. Someone suggested I use a newer version of the ognl jar. I was using "ognl-3.0.jar" which is what came with the Struts 2.2.1.1 distribution. I've since replaced it with "ognl-3.0.1.jar" but I'm still receiving the same err

Re: how to Generate Validation.xml file

2011-05-02 Thread Burton Rhodes
Good luck on your interview! :-) On Monday, May 2, 2011, Dave Newton wrote: > On Monday, May 2, 2011, vijay333 wrote: >> http://struts.1045723.n5.nabble.com/file/n4364557/untitled.bmp > > Can't actually see the text that causes the error. (Personally I've > never had great luck with Eclipse and

help with MethodFailedException in ognl.OgnlRuntime.callAppropriateMethod

2011-05-02 Thread Justin Robbins
Hi folks, I have a working Action and JSP form that I'm using for creating new entities in my very basic Struts 2.2.1.1 app. I'm trying to modify the app to re-use the JSP form with editing of entities. I added a hidden "ID" tag and now I'm getting errors when I submit the form. Can someone plea

Re: how to Generate Validation.xml file

2011-05-02 Thread Dave Newton
On Monday, May 2, 2011, vijay333 wrote: > http://struts.1045723.n5.nabble.com/file/n4364557/untitled.bmp Can't actually see the text that causes the error. (Personally I've never had great luck with Eclipse and XML files over the years.) > i have interview on Struts Why, I thought you were a be

Re: how to import existing project

2011-05-02 Thread Dave Newton
On Monday, May 2, 2011, vijay333 wrote: > how to import existing project into Myeclipes ide.How many ways  to import > project and how can  import war file project in Myeclipes6.0. For MyEclipse questions you're better off asking on a MyEclipse or Eclipse list/forum, this list is primarily focuse

how to import existing project

2011-05-02 Thread vijay333
hi how to import existing project into Myeclipes ide.How many ways to import project and how can import war file project in Myeclipes6.0. after importing the project if any error in project,how can it solved please forward all detials please help me Thanks & Regards Vijay -- V

how to Generate Validation.xml file

2011-05-02 Thread vijay333
hii i am Struts beginner, i am using myeclipes6.0 after creating the project ,i added Struts capabilities, all files generated but,VALIDATION.XML file not generated under WEBINF.Then i developed manually but,errors generated in validation.XML file .i.e http://struts.1045723.n5.

Re: Multiple controller

2011-05-02 Thread jimjoh...@gmail.com
Hi My code is as follolws . action org.apache.struts.action.ActionServlet config/ /WEB-INF/conf/struts/struts-config-1.xml action2 org.apache.struts.action.ActionServlet config/ /WEB-INF/conf/stru

Re: Struts2 validation on List of String data

2011-05-02 Thread Eric Lentz
> String[] names; >// OR > >ArrayList names; >} >i want to validate RequiredStringValidator validator on these names. I don't think the standard validations deal with arrays. Probably your best bet is to override validate() and validate on your own. See: http://struts.apache.org/2.1.6/struts

Re: Multiple controller

2011-05-02 Thread Maurizio Cucchiara
Probably I would use filter-mapping struts /* On 2 May 2011 12:19, Maurizio Cucchiara wrote: > I'm not sure I understand what you exactly mean, but have you tried to > map the url through the web.xml? > for example: > > >    struts-1 >    *.do > > > >    struts-2 >    *.au >

Re: Multiple controller

2011-05-02 Thread Maurizio Cucchiara
I'm not sure I understand what you exactly mean, but have you tried to map the url through the web.xml? for example: struts-1 *.do struts-2 *.au On 2 May 2011 11:49, jimjoh...@gmail.com wrote: > > Hi > > Can anybody give configuration to handle 2 controller? > > For the fi

Multiple controller

2011-05-02 Thread jimjoh...@gmail.com
Hi Can anybody give configuration to handle 2 controller? For the first controller my url-pattern will be *.do and for the second one it will be *.au Can any body help me? Thanks -- View this message in context: http://struts.1045723.n5.nabble.com/Multiple-controller-tp4364290p4364290.ht