Re: Struts2 session concurrency issue ?

2012-04-25 Thread Aaron Brown
To answer, I think we need to know more about your utility program that triggers action 2. Sessions are tracked through a cookie containing a JSESSIONID. Does your utility retain cookies so that each page load will reference the same session? Also, does your utility wait for each page to complete

Re: To create new session without invalidating existing one

2011-10-03 Thread Aaron Brown
This should be a whole new email thread, shouldn't it? Try naming the class variable id and making your method getId. OGNL will try to make a guess what the pojo get method is and it often gets confused with all uppercase names. Aaron On Oct 3, 2011 6:34 AM, Ganesh emailg...@yahoo.co.in wrote:

Re: Return text to jsp, plus image and imageMap from a single Data query?

2011-09-05 Thread Aaron Brown
The problem is really an html problem. You cannot embed an image in a web page, all you can do is embed a url reference to an image. The browser, if it is a graphical browser and not a text reader, will find that reference and execute another completely separate request for the image binary. This

Re: Where's ideal for this logic?

2011-08-11 Thread Aaron Brown
? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Aaron Brown : aa...@thebrownproject.com

Re: Where to put non action associated data

2011-08-01 Thread Aaron Brown
in one page. Regards and thanks in advance, Marcus -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Submit image button sends coordinates

2011-07-26 Thread Aaron Brown
You may be able to write an interceptor that strips X and Y from your cgi parameters. You would need to set the interceptor prior to the default interceptor that assigns params to your action set methods. On Jul 26, 2011 5:50 AM, Maurizio Cucchiara maurizio.cucchi...@gmail.com wrote: Hi

Re: Failed validation returns Action.NONE instead of Action.INPUT in Struts 2.2.3

2011-07-21 Thread Aaron Brown
in this method to see what it's thinking. You could try removing your annotation setup and wiring your actions with a struts.xml file instead? Probably a quicker check than reading through all the annotation processing code. - Aaron -- Aaron Brown : aa...@thebrownproject.com

Re: Struts File Upload Issue

2011-05-26 Thread Aaron Brown
Are you certain the action class is not being called at all? Are you logging when the action method executes to be sure? Is your user a Mac user? I have seen occasional problems with Mac files (especially fonts) having a null data fork that break the upload process. On May 26, 2011 1:01 AM,

Re: Struts2 Validation w/ModelDriven

2011-05-19 Thread Aaron Brown
when there is an error? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Aaron Brown : aa...@thebrownproject.com

Re: Select collection not found only when validation xml file is used

2011-04-13 Thread Aaron Brown
implementation). The stack definition is near the end, just do a search for paramsPrepareParams. - Aaron -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional

Re: display data of action class on jsp in struts2

2011-03-05 Thread Aaron Brown
You declare myList again inside create method, so the data is never stored in the class-level myList. When the jsp asks for the list, it's empty. On Mar 5, 2011 8:59 AM, shekhar16 shekharlaa...@gmail.com wrote: i m new to struts2,rest plugin and i m tring to retrieve data from database through

struts2, jasper reports, nested List error

2011-02-16 Thread Aaron Brown
the same kind of operation in a dozen places in .jsps, so I know my object model is solid. Does anyone have experience with this kind of Struts 2 reporting in Jasper who could lend me a hand learning how to do this? thanks, - Aaron -- Aaron Brown : aa...@thebrownproject.com

Re: struts2, jasper reports, nested List error

2011-02-16 Thread Aaron Brown
, Aaron Brown aa...@thebrownproject.com wrote: I'm learning how to use Jasper reports, in this case as a result from a Struts2 (2.1.8) web app. I'm sending a List (ArrayList) of objects to a report and when the case is that simple, I have things working just fine. Next, I need to report

Re: Why do we need the set/push tag?

2011-01-06 Thread Aaron Brown
like jsp just need to pull data from the Actioncontext and render them. What's the advantage of pushing new data to context? I am using my phone to ask this question,so I can't express more,hope you guys know what I am talking about.^_^ -- Aaron Brown : aa...@thebrownproject.com

Re: Why do we need the set/push tag?

2011-01-06 Thread Aaron Brown
On Thu, Jan 6, 2011 at 9:41 AM, maven apache apachemav...@gmail.com wrote: 2011/1/6 Aaron Brown aa...@thebrownproject.com Well,is it the action's **responsibility to prepare the data which to be used in the view/page? Yes, but in some cases it's desirable to write view code (JSP, for example

Re: JSON Property

2011-01-03 Thread Aaron Brown
Have you considered using an include? You can call a json-result-type action with it or switch to some other fragment result if needed. Perhaps it's quick and dirty compared with creating a custom tag but it seems to me it would be a lot easier to implement. - Aaron On Jan 3, 2011 6:50 AM, Jim

Re: Problem with browser or Struts file upload code.

2010-12-29 Thread Aaron Brown
-h...@struts.apache.org -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Help... My url grows...

2010-12-14 Thread Aaron Brown
           url-pattern/struts/*/url-pattern      /filter-mapping Thank you for your help!!! -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands

Re: Help... My url grows...

2010-12-14 Thread Aaron Brown
didn't help...  I was thinking it was maybe because I was doing the submit via javascript but it happens when I use the s:submit it happens also. -Original Message- From: Aaron Brown [mailto:aa...@thebrownproject.com] Sent: Tuesday, December 14, 2010 2:34 PM To: Struts Users

Re: Struts2, convention plugin, websphere 6.1

2010-11-18 Thread Aaron Brown
(@Autowire, for example, works like a charm). Anyway, I'm stumped. -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Struts2, convention plugin, websphere 6.1

2010-11-17 Thread Aaron Brown
executing. I have a workaround - the xml config works - but would prefer to use annotations if I can. Anyone else run into this and solved it? thanks, - Aaron -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e

Re: Struts2, convention plugin, websphere 6.1

2010-11-17 Thread Aaron Brown
have DEBUG set for *everything*, or just s2 packages, or xwork, or...? It shouldn't matter, but do you have the WebFear filter compatibility flag set (or don't need it due to patch level)? -- Aaron Brown : aa...@thebrownproject.com debug log follows, sorry for any text wrapping. This log

convention plugin and unit testing

2010-10-28 Thread Aaron Brown
test can proceed? - Aaron -- Aaron Brown : aa...@thebrownproject.com - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

RE: ObjectFactory.buildResult not correctly configuring Result instance properties

2007-09-11 Thread Aaron Brown
not correctly configuring Result instance properties This is a bug and will definitely be fixed for 2.1, although I think we should do something for 2.0.11. Patches are always welcome... :) Don On 9/11/07, Aaron Brown [EMAIL PROTECTED] wrote: Hi, I think I have stumbled across a bug

ObjectFactory.buildResult not correctly configuring Result instance properties

2007-09-10 Thread Aaron Brown
are ignored and the Result class is incorrectly configured. If all you want to do is log an erroneous attempt to set a property, why are you throwing exceptions? The OgnlUtil.internalSetProperty class will do that for you if it told not to throw exceptions. Thanks, Aaron brown

Problem in ObjectFactory.buildResult? OGNLExceptions can halt setting of valid properties

2007-09-07 Thread Aaron Brown
parameters map. Otherwise, it seems the handling of OGNL property setting needs some attention? Any help would be greatly appreciated. Thanks, Aaron Brown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail