Re: sample CRUD application question

2009-04-15 Thread Bhaarat Sharma
configure your application to allow >> the bang (!) notation, the client gets to choose *any* of the >> public methods on your action and use them as action methods as opposed to >> you listing what your action methods are explicitly. >> So?the developer has to be cautious becaus

Re: sample CRUD application question

2009-04-15 Thread Bhaarat Sharma
on the > action become fair game. > Chris? > > > -Original Message- > From: Dave Newton > To: Struts Users Mailing List > Sent: Tue, 14 Apr 2009 2:25 pm > Subject: Re: sample CRUD application question > > > Bhaarat Sharma wrote:? > > so what would be a wa

Re: sample CRUD application question

2009-04-14 Thread musomesa
cautious because all public methods on the action become fair game. Chris? -Original Message- From: Dave Newton To: Struts Users Mailing List Sent: Tue, 14 Apr 2009 2:25 pm Subject: Re: sample CRUD application question Bhaarat Sharma wrote:? > so what would be a way to avoid that?? >

Re: sample CRUD application question

2009-04-14 Thread Dave Newton
Bhaarat Sharma wrote: Again, for reference here is the link for the sample application wiki: http://struts.apache.org/2.0.14/docs/crud-demo-i.html In this sample there is a page called employee.jsp where there is a link for Edit. code is:

Re: sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
> To: Struts Users Mailing List > Subject: Re: sample CRUD application question > > so what would be a way to avoid that? > > use this instead? > > > > > > > > > > > On Tue, Apr 14, 2009 at 1:06 PM, wrote: > > > You might w

RE: sample CRUD application question

2009-04-14 Thread Security Management
Spring Security is worth every minute of the learning curve, too. M. -Original Message- From: Bhaarat Sharma [mailto:bhaara...@gmail.com] Sent: Tuesday, April 14, 2009 2:08 PM To: Struts Users Mailing List Subject: Re: sample CRUD application question so what would be a way to avoid

Re: sample CRUD application question

2009-04-14 Thread Dave Newton
Bhaarat Sharma wrote: so what would be a way to avoid that? use this instead? I don't see any difference there. I'm not sure what the original response had in mind; the same thing could happen with a POST form. Normally one would check for delete access rights on the server si

Re: sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
tabase in an adhoc > fashion. > Chris M > > > > > > > > -Original Message- > From: Bhaarat Sharma > To: Struts Users Mailing List > Sent: Tue, 14 Apr 2009 11:03 am > Subject: Re: sample CRUD application question > > > > oh cool so i can just a

Re: sample CRUD application question

2009-04-14 Thread musomesa
am Subject: Re: sample CRUD application question oh cool so i can just add method parameter myself. damn the shorthands. we need a wiki that explains all these On Tue, Apr 14, 2009 at 11:01 AM, Security Management < list-subscripti...@secmgmt.com> wrote: > I *think* it's the

Re: sample CRUD application question

2009-04-14 Thread Dave Newton
Bhaarat Sharma wrote: oh cool so i can just add method parameter myself. damn the shorthands. we need a wiki that explains all these There *is* a wiki that explains all these. See the "Dynamic Method Invocation" section: http://struts.apache.org/2.0.14/docs/action-configuration.html Dave -

Re: sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
s, the equivilant of: > > > > > Mike. > -Original Message- > From: Bhaarat Sharma [mailto:bhaara...@gmail.com] > Sent: Tuesday, April 14, 2009 10:55 AM > To: Struts Users Mailing List > Subject: sample CRUD application question > > I was lo

RE: sample CRUD application question

2009-04-14 Thread Security Management
I *think* it's the method name of the action? In other words, the equivilant of: Mike. -Original Message- From: Bhaarat Sharma [mailto:bhaara...@gmail.com] Sent: Tuesday, April 14, 2009 10:55 AM To: Struts Users Mailing List Subject: sample CRUD application question

Re: sample CRUD application question

2009-04-14 Thread Wes Wannemacher
On Tuesday 14 April 2009 10:55:06 Bhaarat Sharma wrote: > > I am lost as to why > shouldnt the action be just "crud" what does the exclamation mark and > delete do?? is that a shorthand for something or is that just an action > name and if it is an action name then why is it not defined in struts.

sample CRUD application question

2009-04-14 Thread Bhaarat Sharma
I was looking at the CRUD sample application in struts2 http://struts.apache.org/2.0.14/docs/crud-demo-i.html in one of the jsp's they have this code and some part of the struts.xml is: index /WEB-INF/jsp/employeeForm.jsp