aspose file tools*
The moose likes Struts and the fly likes display tag and struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display tag and struts" Watch "display tag and struts" New topic
Author

display tag and struts

bubu lina
Greenhorn

Joined: Aug 11, 2008
Posts: 28
Hello
i apparently know nothing about struts..no matter what i try. that is why i still need some help.
i am using display tag to show some data in a table.(nice library) the issue here is to have a dinamically pagesize.
i have this variable in the .jsp page that has the value = 15 for example. in the display tag i wanna tell the program to take the value of that variable.
tryed like this:

But noo go. tryied only writing "myvar". tryied



can't grasp how this works..struts
Thank you
bubu lina
Greenhorn

Joined: Aug 11, 2008
Posts: 28
found the sollution:


hope this helps somebody
Punit Singh
Ranch Hand

Joined: Oct 16, 2008
Posts: 952
bubu lina wrote:found the sollution:


hope this helps somebody


Another way if your pagesize is coming in the request from other jsp, or action, or your pagesize in any scope like request, session, application with the attribute name myPageSize the use this one:



SCJP 6
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display tag and struts