struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suneel <sunee...@gmail.com>
Subject Re: default class to forward requests
Date Tue, 12 May 2009 20:06:53 GMT
You can just leave the class attribute blank. Read this:
http://struts.apache.org/2.1.6/docs/action-configuration.html


On Tue, May 12, 2009 at 10:20 AM, Jim Kiley <jhkiley@summa-tech.com> wrote:
> It is ActionSupport.
> When you don't have access to a book you may find that you get faster
> results from Google[1] or the introductory documentation[2] than the mailing
> list.
>
> jk
> [1]
> http://www.google.com/search?rlz=1C1GGLS_enUS291US303&sourceid=chrome&ie=UTF-8&q=struts+2+action+class+execute+success+default
> [2]http://struts.apache.org/2.1.6/docs/hello-world.html
>
> On Tue, May 12, 2009 at 11:15 AM, Bhaarat Sharma <bhaarat.s@gmail.com>wrote:
>
>> Is there a default class that we can use in struts.xml that can be used for
>> just forward request to a new html page.
>> Basically user clicking a link and going to a new page.  I dont want to
>> make
>> an execute method that just returns SUCCESS.  Rather there must be some
>> default class that does that.  I read about it in a struts2 book, however,
>> dont have that book with me right now for reference.
>>
>> Does someone know what the class is called?
>>
>
>
>
> --
> Jim Kiley
> Senior Technical Consultant | Summa
> [p] 412.258.3346
> http://www.summa-tech.com
>



-- 
Thanks
Suneel

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message