wrapping of POJO's with WrapDyanBean

2004-09-17 Thread bryan
Hello and sorry to disturb everyone, I want to use Niall Pemberton's wrapping on POJO's addition to struts for my application. I personally see it as a great idea that removes one of the main reasons why I might use spring over struts ie having to inherit from ActionForm or whatever. Howev

Re: RFC: BLOBAction

2004-09-17 Thread bryan
Ok, I'm not knocking jdbc but for me using hibernate this is what my action class looks like public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { Long id = new Long(r

Re: wrapping of POJO's with WrapDyanBean

2004-09-17 Thread bryan
Well I don't contribute to struts but I have to say that one of the distinguishing features of the ( less mature ) springframework is that action forms don't have to inherit a concrete class. There has been a lot of criticism of this ( ActionForm etc ) in the past. I think it would be a very ba

Re: RFC: BLOBAction and Struts Bloat

2004-09-20 Thread bryan
There are some things that I certainly agree with michael on and this is one of them. I think ( and i'm not alone in thinking this ) that struts needs a complete overhaul. At present the only reason I use it is because all the existing tooling supports it. eg m7 nitrox, WSAD, MyEclipse etc

Re: RFC: BLOBAction and Struts Bloat

2004-09-20 Thread bryan
cording to more complex business requirement models. --b On Mon, 20 Sep 2004 16:37:07 +0200, bryan <[EMAIL PROTECTED]> wrote: > There are some things that I certainly agree with michael on and this > is one of them. > > I think ( and i'm not alone in thinking th

Re: [Apache Struts Wiki] Updated: JavaBeans

2004-09-20 Thread bryan
http://wiki.apache.org/struts/JavaBeans On Mon, 20 Sep 2004 06:00:06 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > > Date: 2004-09-19T22:25:41 > > Editor: MartinCooper <[EMAIL PROTECTED]> > > Wiki: Apache Struts Wiki > > Page: JavaBeans > > URL: http:

1.2.4 possible problem with DispatchAction ..cannot access a member with modifiers ""

2004-09-22 Thread bryan
Hi I'm getting the error message at the end ... if this is valid I will add it to bugzilla myself. from my class ( which extends ) DispatchAction snip= public ActionForward get(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

Re: 1.2.4 possible problem with DispatchAction ..cannot access a member with modifiers ""

2004-09-22 Thread bryan
Ok, I am officially a moron. I didn't declare the action to be public so package access was in effect. --b On Wed, 22 Sep 2004 19:15:30 +0200, bryan <[EMAIL PROTECTED]> wrote: > Hi I'm getting the error message at the end ... if this is valid I > will add it to > bugz

one for niall pemberton ( LazyBeans )

2004-09-22 Thread bryan
bernate ). Question: What would you recomend as the best way to do what I am trying to do here ? Any advice appreciated Bryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: why not extend struts to support access control?

2004-09-25 Thread bryan
You want access control, just use acegi security to do it, it's a lot better than anything that's gonna get done here soon. Struts already has enough junk thrown in anyway. Incidentally about the only useful thing I've seen recently is Niall Pemberton's lazy validator forms, how come they haven

Re: why not extend struts to support access control?

2004-09-25 Thread bryan
example ) about 10 lines of code for each already bloated action. The view layer is too heavy. --b On Sat, 25 Sep 2004 11:21:47 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > bryan wrote: > > >You want access control, just use acegi security to do it, it's a lot &g

Re: why not extend struts to support access control?

2004-09-26 Thread bryan
http://acegisecurity.sourceforge.net unless of course you feel an irresistable urge to reinvent the wheel for the 10th time .. --b On Sun, 26 Sep 2004 05:07:32 +, liu ji <[EMAIL PROTECTED]> wrote: > Thank you. > I know filter can do this very well.But filter have some drawba

Re: why not extend struts to support access control?

2004-09-26 Thread bryan
2004 18:59:55 +0800, liu ji <[EMAIL PROTECTED]> wrote: > I don't think acegi security support the programmatic access control. > > By the way,how do you solve the programmatic access control problem? > > == > Ji Liu > >

Re: why not extend struts to support access control?

2004-09-26 Thread bryan
lve this? > > Sorry,I ask a lot of questions,and may of them are irrelevant to struts. > > > > > == > Ji Liu > > >From: bryan <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: liu ji <[EMAIL PROTECTED]>, S

struts2-blank.war nightlies are broken

2007-04-29 Thread Bryan Taylor
I'm trying to get the latest struts2-blank.war, but each of the nightly files that are out now (struts2-blank-20070422.war to struts2-blank-20070428.war) gives the error below when I deploy it to tomcat. I didn't see a jira issue searching for obvious terms. BTW, struts2-blank-2.0.7.war works fi

Re: accessing ognl from jsp 2.0 el?

2007-05-02 Thread Bryan Taylor
Could this be related to WW-1816 FitlerDispatcher not always calling ActionContextCleanUp.cleanUp(Request)? --- John M Flinchbaugh <[EMAIL PROTECTED]> wrote: > Synopsis: > FilterDispatcher may not cleanup completely and causes the > StrutsRequestWrapper to be omitted in some executions (race con

Severe production issue: struts2-core-2.0.9.jar has hundres of file handles

2008-02-29 Thread Bryan Taylor
We're troubleshooting a severe problem in our production system. We get errors like this in tomcat: SEVERE: Socket accept failed org.apache.tomcat.jni.Error: Too many open files We're on linux and run lsof to show the files tomcat has open, which shows hundreds (763 in one example) of distin

Re: Severe production issue: struts2-core-2.0.9.jar has hundres of file handles

2008-02-29 Thread Bryan Taylor
Re: Severe production issue: struts2-core-2.0.9.jar has hundres of file handles FWIW (not much), I can't duplicate this with S2.0.11 under Mac OS X; I may have a report from both Windows and Linux boxen in a little bit. Dave --- Bryan Taylor <[EMAIL PROTECTED]> wrote: > We're

Re: Severe production issue: struts2-core-2.0.9.jar has hundres of file handles

2008-02-29 Thread Bryan Taylor
opers List Sent: Friday, February 29, 2008 2:06:59 PM Subject: Re: Severe production issue: struts2-core-2.0.9.jar has hundres of file handles FWIW (not much), I can't duplicate this with S2.0.11 under Mac OS X; I may have a report from both Windows and Linux boxen in a little bit. Dave ---

Re: Severe production issue: struts2-core-2.0.9.jar has hundres of file handles

2008-03-02 Thread Bryan Taylor
the difference? See Section 1 of this document on info about extracting the templates: http://cwiki.apache.org/confluence/display/S2WIKI/Creating+a+custom+Dojo+profile+for+Struts+2.0.x And here: http://struts.apache.org/2.0.11/docs/performance-tuning.html Bryan Taylor wrote

Re: [VOTE] Accept WebWork 2 Merger Incubator Proposal

2006-01-24 Thread Bryan LaPlante
ening. Bryan LaPlante - Original Message - From: "Don Brown" <[EMAIL PROTECTED]> To: "Struts Developers List" Sent: Tuesday, January 24, 2006 11:26 PM Subject: Re: [VOTE] Accept WebWork 2 Merger Incubator Proposal > Unsurprisingly, my +1 >

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Bryan LaPlante
> > ModuleUtils.getInstance().selectModule(request, getServletContext()); >ModuleConfig config = getModuleConfig(request); > > Any help would be greatly appreciated. > > Bryan LaPlante > > > --

Re: Help adding Struts to AJAX impl

2006-02-01 Thread Bryan LaPlante
This is an interesting issue that you all are discussing here because it is a problem that had to solve for my own api. Let me tell you what I did and then you can apply it to your situation as appropriate. On the JavaScript side I created Objects to represent PageContext, Request, Response, Listen

Re: is this the right place to ask this kind of question

2006-02-14 Thread Bryan LaPlante
input. Bryan - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: "Struts Developers List" Sent: Tuesday, February 14, 2006 5:41 PM Subject: Re: is this the right place to ask this kind of question Do you want an answer to the subject line, ign

Re: Passing Parameters to ActionForward from Action

2006-02-14 Thread Bryan LaPlante
thread to the user group instead of dev. - Original Message - From: "shiiva" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 15, 2006 1:58 AM Subject: Re: Passing Parameters to ActionForward from Action > Bryan, > > Thanks, That is how I finally achieved