File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes problem while using display tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "problem while using display tag" Watch "problem while using display tag" New topic

problem while using display tag

Rajaprabhu Aravindasamy

Joined: Dec 26, 2011
Posts: 25
hello guys..!

Currently i'm using display tag to print data in the form of table with page limit.
It is working perfectly.., But my problem is i want to display more than one property with single <display:coloumn> tag..!

it is something like,,

<display: table name="test" pagesize="2" requestURI="/tester/hello">
<display:coloumn title="DETAILS">
<display:coloumn property="value1"/>
<display:coloumn property="value2"/>

I know that, the above code is completely foolish..,
but i need to execute a code very similar to that in functionality.., Please help me to fix my prob soon...!

Thanks in Advance..!
Raaja Gotluru
Ranch Hand

Joined: Mar 02, 2010
Posts: 118
You will get the result like that only when if you use column decorator. you can find the example if you google it. Here in this forum also it is available search the forum.
candid java

Joined: Jan 13, 2012
Posts: 14
i was find the solution for your problem. and you may be add the struts-html-tld files and you can refer this link it will resolve your problem
I agree. Here's the link:
subject: problem while using display tag
It's not a secret anymore!