struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Milanovic <milanmilanov...@yahoo.com>
Subject Re: [Struts 2] Set action parameter - simple
Date Mon, 02 Jun 2008 13:06:49 GMT
Nobody have any hint why my attribute is not set in action class when link is clicked in jsp
?

Milan Milanovic <milanmilanovich@yahoo.com> wrote: Hi,

I have currentPage int attribute in my action class and I want when user click in my jsp to
set currentPage attribute. I tried it like this (pages is a list of int values):


    
       
    

    


But, curentPage is not set at all ? I checked in method which is response to the "list.action",
it is always 0. What is wrong here ?

--
Thx, Milan

       

       
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message