Struts2 Bean Setter Attack

2009-06-30 Thread smart acer
We need an object for example CustomerData in session. We have configured it through struts2 xml, session scope. Base Action class has a getter and setter for this bean. getCustomerData(), setCustomerData() Since it has a setter on action class (setter is needed to put it on session thru struts2)

Re: [struts] How to use Action Mapper?

2008-03-03 Thread smart acer
s! On 3/3/08, Dave Newton <[EMAIL PROTECTED]> wrote: > > You could also just use a welcome file with a redirect. > > --- smart acer <[EMAIL PROTECTED]> wrote: > > thanks, yes to some extent this is what I am looking for but not the > > complete features a

Re: [struts] How to use Action Mapper?

2008-03-03 Thread smart acer
? I thought ActionMapper does some of this. Thanks -Vj On 3/3/08, Dale Newfield <[EMAIL PROTECTED]> wrote: > > smart acer wrote: > > Could anyone please guide me how to setup/use ActionMapper --- > > > > I would like the URL http://localhost:9080/StrutsBlankWeb/exam

How to use Action Mapper?

2008-03-03 Thread smart acer
Could anyone please guide me how to setup/use ActionMapper --- I would like the URL http://localhost:9080/StrutsBlankWeb/example/ to redirect to http://localhost:9080/StrutsBlankWeb/example/HelloWorld.action Thanks!

Re: welcome file setup for namespace URL

2008-02-22 Thread smart acer
/www.example.com/products/sub_product/content.action Thanks Vijay On 2/22/08, Dave Newton <[EMAIL PROTECTED]> wrote: > > Why not just put a redirect into a "normal" welcome file? > > --- smart acer <[EMAIL PROTECTED]> wrote: > > > I tried these and it is

Re: welcome file setup for namespace URL

2008-02-22 Thread smart acer
I tried these and it is not working, it immediately brings up 404. I think I put something after URL (asd.action) then the wildcard logic kicks in. anyone using like below? help pls! Thanks VJ On 2/22/08, Laurie Harper <[EMAIL PROTECTED]> wrote: > > smart acer wrote: > >

welcome file setup for namespace URL

2008-02-22 Thread smart acer
Our domain is http://www.example.com Our app context is products, so URL for the app is http://www.example.com/products We have a package/namespace defined as follows, page.productDetails http://www.example.com/products -- works fine http://www.example.com/products/sub_product/content.action